bit icon indicating copy to clipboard operation
bit copied to clipboard

Feature: Add support of gitmoji for commit messages

Open gensjaak opened this issue 5 years ago • 6 comments

Make bit save to propose directly emojis for commit messages.

https://github.com/carloscuesta/gitmoji https://marketplace.visualstudio.com/items?itemName=Vtrois.gitmoji-vscode

gensjaak avatar Oct 13 '20 09:10 gensjaak

Can you go into more detail. How would this look when using bit save

chriswalz avatar Oct 14 '20 22:10 chriswalz

@gensjaak

chriswalz avatar Oct 20 '20 04:10 chriswalz

We could have in this list commit -am -with-emoji "...

Screenshot 2020-10-21 at 11 50 42 AM

...and it would have a sublist with emojis like this in the CLI Screenshot 2020-10-21 at 11 53 55 AM

And the final output will be something like this bit commit -am "🚀 Version v1.0.1 deployed!"

gensjaak avatar Oct 21 '20 09:10 gensjaak

@gensjaak could you provide me a list of all the gitmoji options. I was hoping to see a list somewhere on the github repo but didn't see one.

Here's a PoC. Note bit gitmoji is used but I'm still considering the interface example you had provided image

chriswalz avatar Oct 29 '20 04:10 chriswalz

@chriswalz you can find a perfect list here from carloscuesta repos List of emojis: https://github.com/carloscuesta/gitmoji/blob/master/src/data/gitmojis.json

gensjaak avatar Oct 29 '20 08:10 gensjaak

@gensjaak I merge a pre-alpha version for gitmoji bit gitmojiI It's not very elegant to use since you select a description and then bit does a find and replace to get the respective emoji.

The reason I set it up this way is because go-prompt has a bug related to emoji as seen here: https://github.com/c-bata/go-prompt/issues/209

chriswalz avatar Nov 13 '20 23:11 chriswalz