-
Notifications
You must be signed in to change notification settings - Fork 453
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
Message/Loading Popup/Modal #56
Comments
|
I was quickly looking into this. Two options that I've found (many possibilities) and tested: https://github.com/CodeSeven/toastr Include toastr.js in the lib directory and toastr.css in the stylesheets directory. Add jquery as an npm dependency:
Result: Another more atom-integrated solution is to use: https://github.com/tcarlsen/atom-message-panel
Result: Personally, I prefer the second solution; especially for error messages. I also don't think it's a nice idea to include jquery as a dependency (unnecessary bloat) Anyway, some food for thought :-) |
Thanks for doing some research, @Flukey. I have not seen the Toastr before. Looks nice! How did you include a Bower dependencies? Normally Atom restricts access to client-side libraries. I have used Atom Message Panel before and I'd prefer to have something a little nicer and more customizable for this. Using SpacePen you can easily build nice panels, such as and append them to the top of the
jQuery is at the core of Atom's SpacePen, so you should not have to include it. You should be able to use I will be throw some screenshots here when they're ready to get some feedback :). |
I think you have a good idea with those because you could list off multiple errors and other messages, versus only one at a time. I'll keep that in mind when designing the Atom Beautify interface.
|
|
I think I will go with Atom Message Panel for now, until we've fleshed out what features we want in the Message View. It can always be updated later, the important thing is having a view to better display these errors and other messages. |
Published |
Bug created when developing issue #56.
This can be deprecated in favour of Atom Notifications! Update: Since I still want to see beautification progress (start and completion), the currently implemented UI for showing that a beautification is in progress can stay. Errors and other notifications can use Atom Notifications. This is already being done for Given that the beautification progress UI is already implemented and the Atom Notifications can be used for everything else, this issue can be closed. |
Should go migrate off of Atom Message Panel to Atom Notifications. |
Removed old Atom Message Panel related code with 1dfac5b |
Currently there is no way to display a message to the user, such as errors or warnings or deprecation notices (see #40). Let's put a little overlay on the top for displaying such information.
The text was updated successfully, but these errors were encountered: