Go to file
Sebastian Sauer 2b263859e6 Activate extension on all pages
fixes incompatibilities with firefox and makes code easier to maintain
2023-07-18 22:20:39 +02:00
_locales/en Clean unused messages 2020-05-22 10:54:17 +02:00
icons Add same icon as homepage 2020-05-22 10:54:09 +02:00
src/inject Activate extension on all pages 2023-07-18 22:20:39 +02:00
.eslintrc.js Add eslint 2023-07-18 22:04:26 +02:00
.gitignore Add eslint 2023-07-18 22:04:26 +02:00
demo.gif Update demo for gitea 2023-07-18 21:46:29 +02:00
LICENSE Add LICENSE 2021-04-15 09:28:38 +00:00
manifest.json Activate extension on all pages 2023-07-18 22:20:39 +02:00
package-lock.json Add eslint 2023-07-18 22:04:26 +02:00
package.json Add eslint 2023-07-18 22:04:26 +02:00
README.md Update demo for gitea 2023-07-18 21:46:29 +02:00

Conventional Comments button for gitea

This is a tiny extension that adds a conventional comment button to gitea pull request comments, allowing to quickly leave a structured semantic comment during your PR reviews!

Attribution

This project was forked from https://gitlab.com/conventionalcomments/conventional-comments-button to make it usable with gitea.

Please see LICENSE file for the original license.

Demo

Demo

How to install

First, clone this repo git clone https://github.com/sebastian-sauer/gitea-conventional-comments-button and then see below for browser specific instructions.

Chrome

Recently chrome disallowed to install packed crx extension that are not listed on the Chrome Store, so to install this

  • On Chrome: Menu
    • More Tools
      • Extensions (be sure to have Developer Mode enabled there)
  • In the Extension page: Load unpacked and select the cloned repository

Firefox

  • On Firefox: enter about:debugging#/runtime/this-firefox into the address bar
  • In the Extension page: Load Temporary Add-on... and select any file within the cloned repository

How to update

  • git pull

Chrome

  • On Chrome: Menu
    • More Tools
      • Extensions
  • In the Extension page find conventional comments button and hit the refresh button

Firefox

  • On Firefox: enter about:debugging#/runtime/this-firefox into the address bar
  • In the Extension page find conventional comments button and hit the reload button

How to enable it on a self-hosted instance

  • Open the extension options
  • Add your domain as a new line in the "Enabled Hosts" field
  • Click Save

Credits

This project bundles some of the icon coming from font-awesome icons as SVG