Commit Graph

97 Commits

Author SHA1 Message Date
bdeshi f6cc489425
feat: allow toggling vibrant color for all charts
- supports new config key `app.vibrant_color` or env `WAKAPI_VIBRANT_COLOR`
- updates and extends `data/colors.json` with editor and os colors
- fixes #343
2022-03-28 01:56:13 +06:00
Ferdinand Mütsch e7e5254673 feat: ability to clear all user data (resolve #339) 2022-03-17 11:55:13 +01:00
daief 932ba111cc
fix: wrong key 2022-03-02 22:29:09 +08:00
Ferdinand Mütsch d4b15e7959 fix: href 2022-03-02 08:51:27 +01:00
daief 42808fa38a
fix: href to a 404 when service on a subpath
click project detail will redirect to a not exist page, when the service runs with a base path.

For example, the base path is `wakatime`,  and the dashboard uri will be `/wakatime/summary`. When click project detail, page will be redirect to `/wakatime/wakatime/summary?project=demo` but the correct detail page is `/wakatime/summary?project=demo`.

And i think `pushing a history stack` is better than `replace`, so that can back to dashboard by backwards.
2022-03-02 11:35:40 +08:00
Ferdinand Mütsch 302eb33b1b fix: branches chart (resolve #322) 2022-02-22 08:19:51 +01:00
Ferdinand Mütsch 5cc932177f chore: update precompressed assets 2022-02-16 08:57:00 +01:00
Roch D'Amour ac9d96c563
Remove "Create Account" button when AllowSignup is set to false (#319)
Merge pull request #319
2022-02-16 08:56:27 +01:00
Ferdinand Mütsch e21788b8b5 chore: minor fixes 2022-02-13 11:03:10 +01:00
Steven Tang e7f3432113 feat: GET /heartbeat endpoint (resolves #241) 2022-02-13 11:03:10 +01:00
Ferdinand Mütsch 0a7ebc4dc7 fix: allow to display more than ten entities and nine legend items (fix #303) 2022-01-07 16:10:27 +01:00
Ferdinand Mütsch 36c96dafca chore: update screenshot [ci skip] 2022-01-02 21:57:24 +01:00
Ferdinand Mütsch c0dada7e7a chore: add precompressed app css 2022-01-02 20:28:55 +01:00
Ferdinand Mütsch f69dce39d8 fix: settings forms 2022-01-02 20:13:38 +01:00
Ferdinand Mütsch c2d3426bcd feat: project details page with branch statistics (resolve #242) 2022-01-02 20:04:29 +01:00
Ferdinand Mütsch bb0d0569fd chore: make time picker a standalone petite-vue component 2022-01-02 18:30:22 +01:00
Ferdinand Mütsch c4c62f31e4 chore: move time picker to separate component 2022-01-02 14:38:04 +01:00
Ferdinand Mütsch 6f9015d3d8 fix: neutered file system
docs: add filter params to api docs
2022-01-02 12:03:20 +01:00
Ferdinand Mütsch 92f6d44606 feat: total heartbeats per summary (resolve #283) 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 374e578a7c feat: brotli precompressed assets (resolve #284) 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch aebfdc535d refactor: redefine tailwind build
chore: encapsulate commonly used css classes
chore: add npm scripts for building tailwind and iconify assets
2022-01-02 12:02:12 +01:00
Ferdinand Mütsch c217f8e664 chore: move vue components to separate js files 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 26825b07de refactor: migrate most non-chart-related js logic to petite-vue (resolve #282) 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 6a5f08dc95 fix: popups and dropdowns 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 0557a5000f refactor(wip): finish settings page 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 7b7fa8bdf3 refactor(wip): redesign settings page 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch af0d2e84e1 refactor: replace roboto by source sans 3 font
chore: minor front page styling
2022-01-02 12:02:12 +01:00
Ferdinand Mütsch 44a2e609fb refactor: redesign login page
refactor: redesign signup page
refactor: redesign summary page
2022-01-02 12:02:12 +01:00
Steven Tang 9950da3e7e
fix: swagger /api/api duplication
Resolves #289
2022-01-02 11:22:58 +11:00
Ferdinand Mütsch 5df0f48303 feat: user avatars 2021-10-14 12:04:21 +02:00
Ferdinand Mütsch 3b96bd3723 docs: include relay endpoint in swagger docs 2021-10-13 17:47:18 +02:00
Steven Tang 816d0c8cdc
fix: relative swagger-ui definition
Relevant for those hosting wakapi on subdirectory

Note: /swagger-ui redirects to /swagger-ui/
2021-09-07 14:42:52 +10:00
Ferdinand Mütsch cafe4133e4
Merge pull request #247 from muety/dist-perf
perf(dist): load external swagger-ui files
2021-09-06 14:02:10 +02:00
Steven Tang 5a0a3c40ca
perf(dist): load external swagger-ui files 2021-09-06 21:19:24 +10:00
Ferdinand Mütsch 9b5f00ea5d Merge remote-tracking branch 'origin/master' 2021-09-05 20:26:05 +02:00
Ferdinand Mütsch 7a418aa519 fix: continue chartjs migration 2021-09-05 20:25:24 +02:00
Steven Tang fa4512f79b
fix: tooltip and legend 2021-09-05 14:28:00 +10:00
Hiroya Onoe 398b4c16d6 fix(docs): wrong parameter in OpenAPI-Docs
The parameter `range` of `/compat/wakatime/v1/users/{user}/stats/{range} [get]` is path.
However, it was described as query in OpenAPI-Docs.
So, I fixed it and generated files in `static/docs`.

Closes: #239

Signed-off-by: Hiroya Onoe <hiroyanoe.io@gmail.com>
2021-09-05 03:02:01 +09:00
Mawoka d1577fc6be Reverted test-chings 2021-08-29 12:00:51 +02:00
Mawoka 23f8a5cf7f Started fixing things 2021-08-29 11:55:58 +02:00
Ferdinand Mütsch 11291b0d6c fix: properly format x axis for durations (see #232) 2021-08-29 10:32:23 +02:00
Steven Tang f0ac0f6153
fix: ui errors from conditional HasData on summary 2021-08-29 11:10:54 +10:00
Ferdinand Mütsch f399fd4ea7 docs: readme [ci-skip] 2021-08-12 09:25:19 +02:00
Ferdinand Mütsch 2088987a0c chore: implement diagnostics endpoint (resolve #225) 2021-08-07 10:16:50 +02:00
Ferdinand Mütsch dd6a040171 chore: add api tests for all alternative heartbeat endpoints 2021-06-22 00:27:46 +02:00
Ferdinand Mütsch 9f1266957b fix: single heartbeat endpoint (resolve #212)
docs: swagger docs for all available heartbeat endpoints
2021-06-21 21:53:47 +02:00
Ferdinand Mütsch 561198b203 chore: minor ui improvements 2021-06-12 12:01:20 +02:00
Ferdinand Mütsch 0d64858721 feat: implement project labels (resolve #204) 2021-06-11 20:59:34 +02:00
Ferdinand Mütsch cf3d293688 feat: implement wakatime projects endpoint (resolve #196) 2021-05-01 13:52:03 +02:00
Ferdinand Mütsch 99d8349277 fix: rebuild tailwind assets 2021-04-30 16:23:27 +02:00