Commit graph

32 commits

Author SHA1 Message Date
renovate[bot]
cdaae6d4c1
chore(deps): update dependency @biomejs/biome to v1.5.0
chore(fe): resolve linter+typecheck feedback
2024-01-09 00:13:42 -05:00
ac5e9677f5
feat(fe-auth): autorefresh authentication token at interval
test(fe-auth): update response to provide refresh token
2024-01-07 16:31:03 -05:00
b930b0cec5
build(fe-paths): update convoluted relative paths to absolutes with alias 2024-01-04 13:57:02 -05:00
1c67dd37e4
fix(fe-navigationbar): do not display action buttons if not authenticated 2024-01-04 12:06:19 -05:00
68f34deeee
refactor(fe-auth): move login login to useLogin query hook
docs: additional documentation for auth hooks

wip: useCurrentUser hook documentation and coverage
2024-01-04 12:06:17 -05:00
26b1fc95d8
feat(fe-logout): add convenience path + component to logout under /logout 2024-01-03 13:47:59 -05:00
3edc4b7ec6
feat(fe-navigationbar): add logout button to navigation + logout hook 2024-01-03 13:47:59 -05:00
renovate[bot]
99fef92a78
fix(deps): update dependency @tanstack/react-query to v5
refactor(fe-queries): refactor useQuery calls to object syntax

refactor(fe-queries): fix types for QueryResult (unknown -> Error)
2023-12-31 13:42:34 -05:00
984ab6d022
build(fe-tooling): set up vitest to replace jest et al.
fix: include mocha types

fix: missing vitest import

fix: missing vitest import
2023-12-30 00:49:58 -05:00
8a70c144d5
feat(fe-login): redirect on successful login + provide error feedback on error 2023-12-29 21:15:29 -05:00
9857f6a656
feat(fe-auth): ensure that axios forwards CSRF cookie + credentials 2023-12-28 14:09:07 -05:00
220ec61182
fix(fe-root): avoid fetching file list data outside of FileListView 2023-12-28 11:08:17 -05:00
1b7731a424 build(fe-formatter): migrate rome to biome, apply unsafe fixes 2023-12-27 20:38:44 -05:00
5aa82b88af
feat(login): add LoginView + router 2023-12-27 20:25:55 -05:00
7b7544c78e
fix(inputtext): ensure that InputText allows setting type properly 2023-12-27 17:45:31 -05:00
120b93ecf3
feat(registration): enable basic validation on fields 2023-12-27 12:53:46 -05:00
627366903d
feat(frontend): email/password validation logic 2023-12-27 12:53:31 -05:00
b446d17c4f
feat(frontend): add RegisterView + router 2023-12-26 20:37:59 -05:00
d78c90d654
feat(frontend): add TextInput component 2023-12-26 19:46:24 -05:00
0a9bbbfa5a
refactor(tests): move tests to colocate with relevant components 2023-12-22 00:37:50 -05:00
34fb9a3fc7
Revert "chore(frontend): resolve imports from src to avoid harder-to-read relative imports"
This reverts commit b46dac66a3.
2023-12-22 00:25:59 -05:00
b46dac66a3
chore(frontend): resolve imports from src to avoid harder-to-read relative imports 2023-12-21 23:47:49 -05:00
81e83ddb66
refactor: refactor filedetails + filelist into filelistview wrapper 2023-12-21 23:31:54 -05:00
2e6c03146c
feat(fe-routing): using router in application root 2023-12-20 23:01:13 -05:00
738ecbf554
feat(frontend): implement react-based routing components
feat(fe-routing): add pattern support to the router

docs(fe-routing): summary README for the router module

test: update mock data to match new Location prop pattern
2023-12-20 23:01:11 -05:00
91e6004956
refactor(frontend): queries > hooks, consolidate useFileMutations (#24)
* refactor(frontend): queries > hooks, consolidate useFileMutations

* refactor(frontend): extract hook types

* refactor(frontend): extract axios, fix type imports
2023-08-18 21:07:00 -04:00
35b582394c
feat(frontend): file downloads (#23)
* feat(frontend): file downloads flow

* refactor(frontend): downloadFile to fetches hook

* test(frontend): coverage for FileList downloads

* test(frontend): downloads through FileDetails

* test(frontend): ensure that DOM clicks are mocked in jest

* docs(frontend): add details on file fetches hook
2023-08-18 19:01:24 -04:00
b77574e596
refactor(frontend): fetch to axios (#22)
* refactor: replace fetch with axios

* build(frontend): update test command to allow cli args passthrough
2023-08-18 05:24:12 +00:00
5010da18f5
feat(frontend): add delete functionality (#19)
* feat(frontend): add delete functionality

* test(frontend): coverage for deletion buttons
2023-08-17 22:59:22 +00:00
cc59ffcc2e feat(frontend): basic upload file + display in list flow 2023-08-11 00:48:57 -04:00
002b6cdc68
feat(frontend): files API stub instead of hardcoded mocks (#3)
* build(frontend): node version management

* feat: use files API via network instead of hardcoded mock

* fix: mock in tests
2023-08-09 00:52:26 -04:00
25ae69f6f4
feat(frontend): initial mock app + tooling + CI (#1)
* feat(frontend): filelist, filedetails, routing

* ci: enable lint/test/build, preview stub

* ci: linting file filter
2023-08-05 12:46:28 -04:00