Skip to content

v1.1.0

Latest

Choose a tag to compare

@malted malted released this 06 Aug 02:56
· 11 commits to main since this release

Changes

💬 I added 🧵 (:thread:) to the gitmoji spec (#1106); the local gitmoji list has been updated to reflect this.

✨ Replace input value with selected emoji
Originally, the gitmoji picker would insert the selected emoji before the content in the input field, however during use I found myself just using the commit summary input field as a search bar the emoji I wanted, after which I would delete the search term, then type my commit message. To make this more streamlined, the whole input field value is now overwritten with the selected emoji, followed by a space.

🐛 Fix GitHub navigation not triggering the gitmoji picker or the gitmoji code replacer
Because GitHub uses SPA-style routing to update the DOM when navigating via hyperlinks, instead of using real, native browser navigation, because the logic was not rerunning when navigating to a page with the commit summary input field. To fix this, selector-observer is now used to detect when the input field is added to the DOM, which then sets up the button group and triggers the prediction logic.