-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow notifyOptions
to depend on compilation status
#70
Allow notifyOptions
to depend on compilation status
#70
Conversation
I'm not sure why all these builds are failing. Travis status and Coveralls status are both 🟢 green, yet these return 500s. EDIT: Trying to open the Coveralls build on the latest EDIT2: Alright then lemurheavy/coveralls-public#1543 EDIT3: Fixed! |
9a07359
to
1bb9f85
Compare
1bb9f85
to
6e709e0
Compare
@RoccoC, rebased on |
Great, I will review this one shortly, thanks again! |
Signed-off-by: Jérémie Astori <[email protected]>
6e709e0
to
4bc839a
Compare
@RoccoC, I rebased/fixed conflicts after your recent type consolidation changes, let me know if there is anything I can do to help, I'd love to be able to use this! :) |
Hey @RoccoC, did you get a chance to look at this? :) Happy to help this project further! |
Hey @astorije , thanks for the reminder -- and sorry, no, I haven't re-reviewed this yet, but will do so today! Thanks again for your contributions! |
My pleasure and thank you, happy to help! :) |
Merged and published in |
This allows for the following scenario: on success, clicking the notification should open the development URL (when running the dev server); on error, clicking the notification should open the terminal window. This is only possible if evaluating
notifyOptions
dynamically when callingnotifier.notify
instead of when the plugin is instantiated.This is particularly useful combined with #67 as it allows us to display
Click here to open <address>
on success only and use the default error/warning message otherwise. And combined with #68, it allows for nicely readable error/warning messages as well :)