Commit Graph

29 Commits

Author SHA1 Message Date
f86a806759 Don't use multiple selectors
for any reason this doesn't work in FF
2023-07-31 22:16:11 +02:00
780a81e374 Use chrome 2023-07-31 22:11:50 +02:00
991b7e6c0a Add i18n 2023-07-31 21:49:31 +02:00
4aeca7f9a5 Fix hover styles in FF 2023-07-31 20:33:17 +02:00
a3a2e52961 Don't use innerhtml to inject svg 2023-07-31 20:32:49 +02:00
1613969ded More css cleanup 2023-07-27 22:48:15 +02:00
394867d705 Cleanup css and use theme css variables
makes it look more integrated in e.g. dark themes
2023-07-27 22:43:33 +02:00
e551296f48 Add descriptions from conventionalcomments.org 2023-07-27 19:43:57 +02:00
2df91d053d Ensure all svgs got license comments
and improve stickyNoteIcon to match others
2023-07-27 19:35:53 +02:00
95c7374351 Add unicode chars
just to make it look nicer ;)
2023-07-27 19:26:41 +02:00
d70e249aa2 Add typo 2023-07-27 19:25:58 +02:00
85bb20cba8 Cleanup svgs and explicitly add fontawesome attribution 2023-07-27 19:25:27 +02:00
25047846fa Fix selector and check for > 1.20 2023-07-25 21:50:57 +02:00
1a98503650 Check for gitea version >= 1.20
and extend line length to 120 chars
2023-07-19 22:02:35 +02:00
e56335dd45 Add eslint 2023-07-18 22:04:26 +02:00
dd94e01fda Initial changes to make it work with gitea 2023-07-18 21:37:35 +02:00
David Dieulivol
cbc7981ef6 Add the note: label
- https://gitlab.com/conventionalcomments/conventional-comments-button/-/merge_requests/18
2023-04-14 21:33:47 +00:00
kapsiR
67e495f167 Add support for the GitLab summary comment feature 2022-09-28 06:53:54 +02:00
Alex Buijs
6b42a93911 Enable autosave for notes
When clicking a cc button, and previewing the result
or commenting immediately, the changes wouldn't be visible.

Now we fire an 'input' event after clicking the cc button,
so the changes are saved immediately.
2021-11-18 08:40:37 +00:00
Robert Hunt
5b7ea782c4
Move the icons to the comment toolbar of the textarea
Moving the icons to the toolbar means they are always displayed for
easier use, as well as not getting in the way when you try to
continue editing longer text in the textarea

This change also updates the code to dynamically add these
buttons to any new textarea rather than waiting for the click

As a nice addition while restyling, it also now makes use of
the existing GitLab tooltips system
2021-02-11 16:24:33 +00:00
Nicolò Maria Mezzopera
1090a2b525
feat: bundle and serve font awesome icons 2020-08-03 09:33:23 +02:00
Steffen
3043614550 Gives the possibility to translate or modify the text. 2020-08-03 06:29:32 +00:00
Robert Hunt
962034baab
Change behaviour so it injects existing content rather than needing to overwrite 2020-05-22 12:44:35 +01:00
Robert Hunt
878d66b1b1
Add support for normal comment boxes 2020-05-22 12:11:12 +01:00
Robert Hunt
567534dcbd
Removed chrome specific wait for document complete
Replaced with extensions API `run_at` in the manifest.json

Updated README.md with Firefox instructions
2020-05-22 11:20:06 +01:00
Nicolò Maria Mezzopera
6ab00ba4a7
Rename extension to proper name 2020-05-22 10:53:47 +02:00
Nicolò Maria Mezzopera
e16445bd03
Button logic improvements
- prevent button to override written text
- refactor to use arrow functions
2020-05-22 10:34:42 +02:00
Nicolò Maria Mezzopera
6151c90d18
Make un-hovered button transparent 2020-05-22 10:34:18 +02:00
Nicolò Maria Mezzopera
5790b5d22e
feat: prototype 2020-05-06 11:52:05 +02:00