Commit graph

38 commits

Author SHA1 Message Date
00f9f91191 chore(deps): upgrade to react-router v6 2022-06-11 21:04:39 +02:00
a0ffe108e1 feat(api): update existing artists in MusicLibrary 2021-11-21 15:53:49 +01:00
a0c28e2324 feat: top genres report 2021-11-21 15:53:49 +01:00
9b96d0fab4 chore(lint): switch to eslint 2021-05-25 18:12:42 +02:00
f56548e432 chore: run prettier format 2021-05-25 16:02:00 +02:00
ed6a0fcbd6 chore(deps): upgrade api & frontend dependencies 2021-05-24 20:41:36 +02:00
2aaf582245 feat(frontend): add footer with version number 2021-05-24 19:00:07 +02:00
8377b2f6d0 feat(frontend): add visual indicator to top lists 2021-05-22 17:36:03 +02:00
3228b22741 chore(frontend): upgrade to tailwind v2 2021-05-22 17:36:03 +02:00
51fd78f6d9 feat: add top tracks report 2021-05-22 15:10:05 +02:00
6c8ac2b7a5 feat(frontend): adopt card-style for recent listens 2020-11-15 02:59:33 +01:00
9896ea31ff feat: introduce new report "Top Albums" 2020-11-15 02:43:23 +01:00
42737e570d refactor(frontend): remove unnecessary state in useApi hooks 2020-11-15 02:34:22 +01:00
ca4e10e473 feat(frontend): proper styling for "Top Artists" report 2020-11-15 02:33:39 +01:00
44f7e26270 feat: implement long-lived sessions 2020-11-09 18:34:23 +01:00
1ae7f08dc4 fix(frontend): missing key property in list 2020-11-07 19:24:52 +01:00
a139f7b25b fix(frontend): improper usage of select element
The <select> element must receive the current value through the `value`
prop and not by setting `selected` on the current option.

Reference: https://reactjs.org/docs/forms.html#the-select-tag
2020-11-07 19:24:52 +01:00
1e674d18c9 fix(frontend): missing dependency in useCallback
To avoid endless re-render we also have to use a constant empty array
as the initialValue.
2020-11-07 19:24:52 +01:00
67ea28aec7 refactor: use TimeOptions for Listens report 2020-07-12 17:53:31 +02:00
5bc76f23d0 refator: use TimeOptions for TopArtists report 2020-07-12 17:53:31 +02:00
f56218602e fix: remove debug logging 2020-07-11 19:48:18 +02:00
6fc10c40ca feat: add top-artists report 2020-07-04 21:56:27 +02:00
6a6ba493f6 refactor(frontend): create useAsync hook for handling API data 2020-07-04 21:56:27 +02:00
42e8b886a0 feat(frontend): improve loading spinner 2020-07-04 21:56:27 +02:00
40ce26eadd fix(frontend): fix encoding of queryparameters in api calls
We had a bug where the "+" before the timezone in ISO8601 strings was
being parsed as " " in the server because it was not properly encoded.

By using URLSearchParams to create our querystring we should be fine.
2020-06-01 21:19:50 +02:00
7ad4b1e52c fix(frontend): disable broken service-worker
Login breaks because the SW somehow captures the navigation
to `/api/v1/auth/spotify` and instead shows the react app.
2020-05-14 12:16:11 +02:00
fbada1eaac feat(frontend): active service worker 2020-05-14 03:10:24 +02:00
cc7f4b354d fix(frontend): add selectable timeframe and styling to listens report 2020-05-14 01:36:05 +02:00
bdbe5f574a fix(frontend): improve reporting charts 2020-05-13 21:34:13 +02:00
367f37555f fix(frontend): redirect to home after login 2020-05-13 21:23:57 +02:00
ebc079435d feat(frontend): render simple listen report 2020-05-09 19:24:17 +02:00
0abc594db4 fix(frontend): fix minor styling+linting issues 2020-05-05 03:19:25 +02:00
1d5cefb447 feat(frontend): style recent listens page 2020-05-05 02:52:59 +02:00
49bff95ea5 feat(frontend): show recent listens 2020-05-03 21:10:31 +02:00
32dcd84964 feat(frontend): show page when login fails 2020-05-03 21:10:31 +02:00
05f230a7ce feat(frontend): redo setup with ts+tailwind and implement auth+header 2020-05-03 21:10:31 +02:00
f2065d3f1f feat(api): fetch listens from spotify 2020-05-03 21:10:31 +02:00
f14eda16ac feat(frontend): setup 2020-05-03 21:00:31 +02:00