Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
967a8ee
docs: Fix pre-release version badge
CrawlerCode May 9, 2026
0b0a98e
chore: Add mise configuration, update pnpm & use node v24 (#90)
CrawlerCode May 27, 2026
c9e75b1
build(deps): Update npm dependencies and add typescript 7
CrawlerCode Jul 10, 2026
8191d3f
chore: Enable eslint tailwindcss plugin
CrawlerCode Jul 10, 2026
0cec2c5
chore: Cleanup eslint config
CrawlerCode Jul 10, 2026
d38c21d
fix: Fix type errors
CrawlerCode Jul 10, 2026
c605b44
feat(time): Add time entry chart and allow dynamic date rage (#73)
CrawlerCode Jul 10, 2026
1b4e305
feat: Add md text-editor and support for image upload (#74)
CrawlerCode Jul 11, 2026
33baf7d
chore(dev): Add Redmine 7 dev instance
CrawlerCode Jul 25, 2026
089d39c
fix: Prevent crash when project is undefined (#93)
CrawlerCode Jul 25, 2026
baa5429
feat: Add timer overview and multi submit timer modal (#96)
CrawlerCode Aug 12, 2026
2227bd4
feat(ui): Improve UI consistency (#100)
CrawlerCode Sep 21, 2026
3d1542d
chore(deps): Update pnpm to v12
CrawlerCode Sep 21, 2026
0008923
build(deps): Update npm dependencies and fix all issues
CrawlerCode Sep 21, 2026
cc6a2a0
ci: Change packageManager onFail behavior from download to warn
CrawlerCode Sep 21, 2026
6c32068
chore(release): 2.1.0-beta.1 [skip ci]
semantic-release-bot Sep 21, 2026
2ff17f3
feat(lang): Add portuguese language support (#101)
RodrigoPerozinSeth Oct 8, 2026
1f81a14
docs: Update store screenshots
CrawlerCode Oct 8, 2026
c354e7b
build(deps): Upgrade wxt to 0.21
CrawlerCode Oct 8, 2026
5ebe00b
ci: Move to chrome web store api v2
CrawlerCode Oct 8, 2026
1a502a4
build(deps): Update npm dependencies
CrawlerCode Oct 8, 2026
0b8c2ea
feat(ui): Highlight running timers and issues
CrawlerCode Oct 8, 2026
3fc67a7
fix(ui): Adjust margin-top for shadow host in content script
CrawlerCode Oct 8, 2026
8ae322a
feat(time-entry): Allow to change issue while editing a time entry
CrawlerCode Oct 8, 2026
68fd6ab
feat(timer): Add fallback issue (#92)
CrawlerCode Oct 8, 2026
91a067c
chore(release): 2.1.0-beta.2 [skip ci]
semantic-release-bot Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ jobs:
statuses: write

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
cache: true

- uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"

- run: pnpm install --frozen-lockfile

Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/publish-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,34 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6

- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24

- run: pnpm install --frozen-lockfile

- run: pnpm run build:chrome:pre-release

- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-chrome.zip)"
- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-chrome-pre-release.zip)"
env:
GITHUB_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ github.event.release.tag_name }}

- run: |
pnpm wxt submit \
--chrome-zip .output/*-chrome.zip
--chrome-zip .output/*-chrome-pre-release.zip
env:
CHROME_EXTENSION_ID: adgcdimdkkaddeopcabokepmaihfhklb
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CHROME_API_VERSION: v2
CHROME_PUBLISHER_ID: ${{ secrets.CHROME_PUBLISHER_ID }}
CHROME_SERVICE_ACCOUNT_CLIENT_EMAIL: ${{ secrets.CHROME_SERVICE_ACCOUNT_CLIENT_EMAIL }}
CHROME_SERVICE_ACCOUNT_PRIVATE_KEY: ${{ secrets.CHROME_SERVICE_ACCOUNT_PRIVATE_KEY }}
CHROME_PUBLISH_TYPE: DEFAULT_PUBLISH
CHROME_SKIP_SUBMIT_REVIEW: false
CHROME_CANCEL_PENDING: true
32 changes: 18 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,37 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6

- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24

- run: pnpm install --frozen-lockfile

- run: pnpm run build:chrome:release

- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-chrome.zip)"
- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-chrome-release.zip)"
env:
GITHUB_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ github.event.release.tag_name }}

- run: |
pnpm wxt submit \
--chrome-zip .output/*-chrome.zip
--chrome-zip .output/*-chrome-release.zip
env:
CHROME_EXTENSION_ID: ldcanhhkffokndenejhafhlkapflgcjg
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CHROME_API_VERSION: v2
CHROME_PUBLISHER_ID: ${{ secrets.CHROME_PUBLISHER_ID }}
CHROME_SERVICE_ACCOUNT_CLIENT_EMAIL: ${{ secrets.CHROME_SERVICE_ACCOUNT_CLIENT_EMAIL }}
CHROME_SERVICE_ACCOUNT_PRIVATE_KEY: ${{ secrets.CHROME_SERVICE_ACCOUNT_PRIVATE_KEY }}
CHROME_PUBLISH_TYPE: DEFAULT_PUBLISH
CHROME_SKIP_SUBMIT_REVIEW: false
CHROME_CANCEL_PENDING: true

publish-firefox:
name: Publish to Firefox Addon Store
Expand All @@ -53,29 +57,29 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6

- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24

- run: pnpm install --frozen-lockfile

- run: pnpm run build:firefox:release

- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-firefox.zip)"
- run: gh release upload "${RELEASE_TAG}" "$(ls .output/*-firefox-release.zip)"
env:
GITHUB_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ github.event.release.tag_name }}

- run: |
pnpm wxt submit \
--firefox-zip .output/*-firefox.zip \
--firefox-sources-zip .output/*-sources.zip
--firefox-zip .output/*-firefox-release.zip \
--firefox-sources-zip .output/*-sources-release.zip
env:
FIREFOX_EXTENSION_ID: 2867093
FIREFOX_JWT_ISSUER: ${{ secrets.FIREFOX_JWT_ISSUER }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6

- uses: actions/setup-node@v6
with:
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"singleQuote": false,
"printWidth": 200,
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindStylesheet": "./src/index.css",
"tailwindFunctions": ["clsx"],
"endOfLine": "lf"
}
3 changes: 2 additions & 1 deletion .redmine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ This folder provides local Redmine instances for manual testing against multiple
Run from this directory (`.redmine`):

```bash
docker compose up -d redmine-v6
docker compose up -d redmine-v7
```

Available services and ports:

- Redmine end-to-end tests: [http://localhost:9999](http://localhost:9999) (service `redmine-e2e-tests`)
- Redmine 7: [http://localhost:3007](http://localhost:3007) (service `redmine-v7`)
- Redmine 6: [http://localhost:3006](http://localhost:3006) (service `redmine-v6`)
- Redmine 5: [http://localhost:3005](http://localhost:3005) (service `redmine-v5`)
- Redmine 4: [http://localhost:3004](http://localhost:3004) (service `redmine-v4`)
Expand Down
12 changes: 12 additions & 0 deletions .redmine/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ services:
- ./data/e2e-tests/sqlite:/usr/src/redmine/sqlite
- ./themes:/usr/src/redmine/themes:ro

redmine-v7:
container_name: redmine-v7
image: redmine:7
pull_policy: always
restart: unless-stopped
ports:
- "3007:3000"
volumes:
- ./data/v7/files:/usr/src/redmine/files
- ./data/v7/sqlite:/usr/src/redmine/sqlite
- ./themes:/usr/src/redmine/themes:ro

redmine-v6:
container_name: redmine-v6
image: redmine:6
Expand Down
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,64 @@
## [2.1.0-beta.2](https://github.com/CrawlerCode/redmine-time-tracking/compare/v2.1.0-beta.1...v2.1.0-beta.2) (2026-10-08)

### 🚀 Features

* **lang:** Add portuguese language support ([#101](https://github.com/CrawlerCode/redmine-time-tracking/issues/101)) ([2ff17f3](https://github.com/CrawlerCode/redmine-time-tracking/commit/2ff17f3444fba00071ff89d8652a33b956eaa51e))
* **time-entry:** Allow to change issue while editing a time entry ([8ae322a](https://github.com/CrawlerCode/redmine-time-tracking/commit/8ae322a6ec013b31e6a960f760162c0b1f0d9c2f))
* **timer:** Add fallback issue ([#92](https://github.com/CrawlerCode/redmine-time-tracking/issues/92)) ([68fd6ab](https://github.com/CrawlerCode/redmine-time-tracking/commit/68fd6abe816a0ff52da7dded22b665a0aa41086f))
* **ui:** Highlight running timers and issues ([0b8c2ea](https://github.com/CrawlerCode/redmine-time-tracking/commit/0b8c2ead9be38d0bccc6efe7f1bbad2b858c48c7))

### 🩹 Fixes

* **ui:** Adjust margin-top for shadow host in content script ([3fc67a7](https://github.com/CrawlerCode/redmine-time-tracking/commit/3fc67a75fd3d061754a60a22bd0b16f5e1e5078c))

### 📖 Documentation

* Update store screenshots ([1f81a14](https://github.com/CrawlerCode/redmine-time-tracking/commit/1f81a14eec7726032fa30dc8f7d1319991b2e6fc))

### 📦 Builds

* **deps:** Update npm dependencies ([1a502a4](https://github.com/CrawlerCode/redmine-time-tracking/commit/1a502a4177f0da87232d730064c808c1a0be342a))
* **deps:** Upgrade wxt to 0.21 ([c354e7b](https://github.com/CrawlerCode/redmine-time-tracking/commit/c354e7b6c5d4a8bfc121bd9f2f4105be2530ba09))

### ⚡CI

* Move to chrome web store api v2 ([5ebe00b](https://github.com/CrawlerCode/redmine-time-tracking/commit/5ebe00ba23aab7a89877dfe51e51024100f42450))

## [2.1.0-beta.1](https://github.com/CrawlerCode/redmine-time-tracking/compare/v2.0.3...v2.1.0-beta.1) (2026-09-21)

### 🚀 Features

* Add md text-editor and support for image upload ([#74](https://github.com/CrawlerCode/redmine-time-tracking/issues/74)) ([1b4e305](https://github.com/CrawlerCode/redmine-time-tracking/commit/1b4e305ea66e6e5a792840772010857810f58a52))
* Add timer overview and multi submit timer modal ([#96](https://github.com/CrawlerCode/redmine-time-tracking/issues/96)) ([baa5429](https://github.com/CrawlerCode/redmine-time-tracking/commit/baa5429557972045ac48831288d7d4a112ece9b3))
* **time:** Add time entry chart and allow dynamic date rage ([#73](https://github.com/CrawlerCode/redmine-time-tracking/issues/73)) ([c605b44](https://github.com/CrawlerCode/redmine-time-tracking/commit/c605b44dea6a67c39c30b71a1c95b55a64291dec))
* **ui:** Improve UI consistency ([#100](https://github.com/CrawlerCode/redmine-time-tracking/issues/100)) ([2227bd4](https://github.com/CrawlerCode/redmine-time-tracking/commit/2227bd47ed524bbee5372c67f06e045f1e99c124))

### 🩹 Fixes

* Fix type errors ([d38c21d](https://github.com/CrawlerCode/redmine-time-tracking/commit/d38c21deb80cf5c749dd3b2a7633bb672e94bce9))
* Prevent crash when project is undefined ([#93](https://github.com/CrawlerCode/redmine-time-tracking/issues/93)) ([089d39c](https://github.com/CrawlerCode/redmine-time-tracking/commit/089d39c7cbce5c5ec451638d5adaf0a8b28ad6ee))

### 🏡 Chore

* Add mise configuration, update pnpm & use node v24 ([#90](https://github.com/CrawlerCode/redmine-time-tracking/issues/90)) ([0b0a98e](https://github.com/CrawlerCode/redmine-time-tracking/commit/0b0a98eb9d1cdb1c0f1ce3f4caa340f243c22ea9))
* Cleanup eslint config ([0cec2c5](https://github.com/CrawlerCode/redmine-time-tracking/commit/0cec2c54bce8f47f8b68c2560dbb5a2033b8a1e5))
* **deps:** Update pnpm to v12 ([3d1542d](https://github.com/CrawlerCode/redmine-time-tracking/commit/3d1542d105305d3f75a42741ed0acb5140664f3f))
* **dev:** Add Redmine 7 dev instance ([33baf7d](https://github.com/CrawlerCode/redmine-time-tracking/commit/33baf7deab0803e37b8d2dc467f0f9e5d5e8be00))
* Enable eslint tailwindcss plugin ([8191d3f](https://github.com/CrawlerCode/redmine-time-tracking/commit/8191d3f1b88ae371762b3aa773e022dd9e4b3595))

### 📖 Documentation

* Fix pre-release version badge ([967a8ee](https://github.com/CrawlerCode/redmine-time-tracking/commit/967a8eee9b7c2f8b30318bd1d35e94f765798a77))

### 📦 Builds

* **deps:** Update npm dependencies and add typescript 7 ([c9e75b1](https://github.com/CrawlerCode/redmine-time-tracking/commit/c9e75b16352a26234d3a86719b500611374c06f3))
* **deps:** Update npm dependencies and fix all issues ([0008923](https://github.com/CrawlerCode/redmine-time-tracking/commit/0008923472c666fadf8eb16f7b873156f55a0517))

### ⚡CI

* Change packageManager onFail behavior from download to warn ([cc6a2a0](https://github.com/CrawlerCode/redmine-time-tracking/commit/cc6a2a04f8f9b2860ddee3e055a0f123d74e5579))

## [2.0.3](https://github.com/CrawlerCode/redmine-time-tracking/compare/v2.0.2...v2.0.3) (2026-05-09)

### 🩹 Fixes
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![License](https://img.shields.io/github/license/CrawlerCode/redmine-time-tracking?logo=github)
[![Semantic-Release](https://img.shields.io/badge/semantic--release-conventional%20commits-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
![Release Version](https://img.shields.io/github/v/release/CrawlerCode/redmine-time-tracking?logo=github)
![Pre-Release Version](https://img.shields.io/github/v/release/CrawlerCode/redmine-time-tracking?include_prereleases&logo=github&label=pre-release)
![Pre-Release Version](https://img.shields.io/github/v/release/CrawlerCode/redmine-time-tracking?include_prereleases&filter=*-beta.*&logo=github&label=pre-release)

![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/ldcanhhkffokndenejhafhlkapflgcjg?logo=google-chrome&logoColor=white)
![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/ldcanhhkffokndenejhafhlkapflgcjg?logo=google-chrome&logoColor=white)
Expand Down Expand Up @@ -51,6 +51,7 @@
- German
- Russian (thanks [@ASM-Development](https://github.com/ASM-Development))
- French (thanks [@S8N02000](https://github.com/S8N02000))
- Portuguese (Brasil) (thanks [@RodrigoPerozin](https://github.com/RodrigoPerozin))

> If you want to add more languages or extend existing ones, feel free to contribute. Just create a pull request with the desired changes. The language files are located under [src/lang](src/lang) and [public/\_locales](public/_locales).

Expand Down
46 changes: 26 additions & 20 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,42 @@ import tanstackRouter from "@tanstack/eslint-plugin-router";
import prettierConfig from "eslint-config-prettier";
import react from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import globals from "globals";
import tailwind from "eslint-plugin-tailwindcss";
import { defineConfig } from "eslint/config";
import ts from "typescript-eslint";

/** @type {import('eslint').Linter.Config[]} */
export default [
export default defineConfig([
// Ignore
{ ignores: ["dist"] },
// Base
{
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
settings: {
react: {
version: "detect",
},
},
},
{
languageOptions: { globals: globals.browser },
},
// TypeScript
js.configs.recommended,
...ts.configs.recommended,
// React
react.configs.flat.recommended,
reactHooks.configs.flat.recommended,
{
plugins: {
"react-hooks": reactHooks,
settings: {
react: {
version: "detect",
},
},
rules: {
"react/react-in-jsx-scope": "off",
...reactHooks.configs.recommended.rules,
},
},
// Prettier
prettierConfig,
// Tailwind CSS
//...tailwind.configs["flat/recommended"], // TODO: Wait until working with Tailwind CSS v4,
{
...tailwind.configs.recommended,
settings: {
tailwindcss:
/** @type {import('eslint-plugin-tailwindcss').PluginSettings} */
({
cssConfigPath: "./src/index.css",
}),
},
},
// Tanstack
...tanstackRouter.configs["flat/recommended"],
...tanstackQuery.configs["flat/recommended"],
Expand All @@ -67,6 +66,13 @@ export default [
ignoreRestSiblings: true,
},
],
"@typescript-eslint/consistent-type-imports": [
"error",
{
fixStyle: "inline-type-imports",
},
],
"@typescript-eslint/no-import-type-side-effects": "error",
},
},
];
]);
4 changes: 4 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tools]
node = "24"
"npm:corepack" = "latest"
pnpm = "12"
Loading
Loading