
githubmoji by malted
Adds an gitmoji picker on GitHub commit message inputs.
You'll need Firefox to use this extension
Extension Metadata
About this extension
Predicts and displays relevant gitmoji emoji options as you write your commit summary. Clicking on a prediction will insert it at the start of your commit summary. Also converts gitmoji codes to the relevant emojis, for example :bug: is automatically replaced with 🐛.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access your data for sites in the github.com domain
More information
- Add-on Links
- Version
- 1.1
- Size
- 20.94 kB
- Last updated
- 3 years ago (6 Aug 2022)
- Related Categories
- Licence
- Mozilla Public Licence 2.0
- Version History
- Tags
Add to collection
Release notes for 1.1
💬 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.
✨ 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.
More extensions by malted
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet