-
Notifications
You must be signed in to change notification settings - Fork 239
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
Incorporate Vanilla-Notify for HUD on Entering Insert/Normal Mode #181
base: master
Are you sure you want to change the base?
Incorporate Vanilla-Notify for HUD on Entering Insert/Normal Mode #181
Conversation
@agbohub Thanks for this, as mentioned in #176 we should be more transparent to the user when insert mode is entered. I tested the branch locally but was not greeted with a popup as shown in your provided screenshot on entering insert mode. A few points I would like to see before merging this:
If you need help, I'd be glad to help out either here on Github or through chat on twitter (@nickbelzer). |
- Move vnotify scripts into ./Vimari Extension/js/lib/. - Add option to enter Insert Mode automatically for insertModeUrls in config settings. Useful for cases such as youtube.com/watch
@nbelzer Thank you for the great feedback. I just pulled a new request that addresses the following issues.
Could you please try the new commit? I tested it on a new macOS install and it worked fine.
Done. The library code for Vanilla Notify is now at I am still working on separating css files and potentially integrating with the existing popup system. I also added a new option which makes Vimari automatically enter Insert Mode for user-defined URLs in config settings under |
Thanks for working on this.
The popup now appears for me as well.
Nice, I would suggest moving the css code into a separate file, similarly to what you did with the popup library.
This is great, however I have to ask you to move these changes to a different branch which would allow you to create a separate pull request for this. This is really a separate feature from the popup functionality, by including it in this PR you are making it hard to review the code changes and discuss the different functionalities. |
Update Info.plist to conform with v2.1.0-beta2.
Updated files changed to conform with v2.1.0-beta2. @nbelzer Please don't hesitate to let me know if there is anything else that needs to be done before this pull gets merged. Thanks. |
Incorporated MLaritz/Vanilla-Notify with slight modifications.
All credit goes to @MLaritz, the author of Vanilla-Notify.
A translucent sticky info box appears at the bottom right upon entering the Insert Mode. The box is replaced by a non-sticky notification upon exiting back to the Normal Mode.
Things to improve: 1. Cleaning out the
!important
property ininjected.css
. 2. Adding GUI options for selecting info box / notification styles.