https://github.com/adimit/gitlab-time-tracking-button
A time tracking button addon for Gitlab that works in (recent) Firefox & Chome
https://github.com/adimit/gitlab-time-tracking-button
Last synced: 11 months ago
JSON representation
A time tracking button addon for Gitlab that works in (recent) Firefox & Chome
- Host: GitHub
- URL: https://github.com/adimit/gitlab-time-tracking-button
- Owner: adimit
- License: gpl-3.0
- Created: 2018-01-03T08:41:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T08:42:18.000Z (over 8 years ago)
- Last Synced: 2025-07-26T16:01:08.786Z (11 months ago)
- Language: JavaScript
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlab Time Tracking Button
- [Homepage](https://gitlab.com/adimit/gitlab-time-tracking-button/)
- [Chrome Webstore](https://chrome.google.com/webstore/detail/gitlab-time-tracking-butt/bodhfghfkmappoagkplnoklojfcjfmnk)
- [AMO (Firefox)](https://addons.mozilla.org/en-GB/firefox/addon/gitlab-time-tracking-button)
Addon for Chrome and Firefox that inserts a time tracking button on the issue page.
See [gitlab-ce#27824](https://gitlab.com/gitlab-org/gitlab-ce/issues/27824),
which is as of yet (september 2017) still open.
First, you need a [personal access
token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) from
any instance you want to be connected to. Add the instance and your access token
on the addon's settings page. You need to grant the addon permission for that site.
On any issue page, press 'start' to start the timer. You can pause it
afterwards, or use 'save' to submit the time to the given issue. Use 'trash' to
discard any accrued time. You can have multiple timers (running in parallel.)
Timers persist across browser sessions.
## Bugs & Features
Please see the [issue tracker](https://gitlab.com/adimit/gitlab-time-tracking-button/issues/).
## Developing
To build the addon:
```
npm install
npm run build
npm run start # launches firefox with an empty profile and the addon installed
```
The addon's files and source maps are generated in the `./addon` folder. If you
want to point your browser to the unpacked extension, please use that folder
(not the root folder.)
To run the test suite:
```
npm run test
```
To create a `.zip` file with the extension, created in as
`./gitlab-time-tracking-button-${version}.zip`, where `${version}` is in
the `manifest.json`:
```
npm run bundle
```
## Graphics
The terribly done logo is a bastardized version of the [Gitlab
logo](https://about.gitlab.com/press/) with the clock icon from [Feather
icons](https://feathericons.com). All icons on the actual time tracker are also
from the Feather set.