gitea-conventional-comments.../README.md

58 lines
1.7 KiB
Markdown
Raw Normal View History

# Conventional Comments button for gitea
2020-05-22 08:53:47 +00:00
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.
2020-05-22 08:53:47 +00:00
2023-07-18 19:41:47 +00:00
## Demo (needs an update for gitea)
![Demo](demo.gif)
2020-05-22 08:53:47 +00:00
## How to install
2023-07-18 19:41:47 +00:00
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
2020-05-22 08:53:47 +00:00
- On Chrome: Menu
- More Tools
2021-06-16 07:59:15 +00:00
- Extensions (be sure to have _Developer Mode_ enabled there)
2020-05-22 08:53:47 +00:00
- 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
2020-05-22 08:53:47 +00:00
## How to update
- `git pull`
### Chrome
2020-05-22 08:53:47 +00:00
- On Chrome: Menu
- More Tools
- Extensions
2020-05-22 08:53:47 +00:00
- 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
2020-07-13 09:01:12 +00:00
## How to enable it on a self-hosted instance
2020-07-13 09:01:12 +00:00
- 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](https://fontawesome.com/) icons as SVG