Is a chrome extension to add github issues the estimate capabilities.
- Add labels to repositories with name
e/[num]
- Asign labels to issues
- enjoy
I hacked the original extension because it didn't work the way I wanted it to. That's all there is to this.
What changed? Not a lot:
- Instead of the inane
e/<time>
label format, any issue label prefixed withEstimate:
will now be counted. Feel free to modify this in the pattern and CSS - Instead of renaming the issue label itself, no change to the issue label buttons is made. This ensured consistency with the default UI
- The estimated completion time will be displayed at the top of each column in the following format: "X minutes (X/60 Hours)"
- I updated the name and description of the extension to make it easier to understand and differ from the original in the extensions panel
- Removed the spammy console output (though the
setInterval
I didn't bother to remove, even if it annoys me greatly) - Add experimental support for fractions (this might break in some edge cases, though I haven't encountered any)
This is how it currently looks for me:
The UI can likely be improved further, but for the time being I haven't bothered.
Since it's not published anywhere else, you must install it manually to use this version:
- Open
chrome://extensions
in a new tab - Enable developer mode (slider to the top right as of the time of writing)
- Click "load unpacked" and select the folder where the extension code (
manifest.json
at the root level) is located
Instead of the arbitrary amounts of time given in the example above, I recommend using a more readable format. I personally use "minutes", so instead of e/1
the issue label will be called Estimate: 120 minutes
and this adds 120 min (2 hours)
as the summary text.
If you want to add onto this or find a problem, feel free to open an issue. I can't promise I'll have time to do much, but at least I'll generally respond to queries (unlike the original author) :P
I've managed to make it load the extension by doing the following:
- Open
about:debugging
- Go to
This Firefox
- Click
Load Temporary Add-on
- Select the
manifest.json
file
Unfortunately I was unable to load it permanently via the regular addons menu, as Firefox claims the file is corrupted. No idea what's wrong with it, but I didn't want to spend any more time on it.