Tilman Vatteroth
49bbd32635
test(frontend): replace jest with vitest
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2025-04-26 16:13:11 +02:00
Erik Michelson
e411ddf099
refactor(frontend): switch to DTOs from @hedgedoc/commons
...
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-03-29 22:09:01 +01:00
Erik Michelson
45ea11dc9a
feat(frontend): add basic print functionality
...
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (push) Has been cancelled
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-12-05 00:14:23 +01:00
Erik Michelson
cd7434ea3b
chore(deps): upgrade orama to 3.0.1
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-11-12 20:58:09 +01:00
Erik Michelson
d840a6f0b1
refactor(redux): migrate to RTK2 store definition
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-04-09 10:55:38 +02:00
Erik Michelson
0db5a0856b
feat(sidebar): add gitlab snippet and github gist export
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-04-04 00:36:48 +02:00
Tilman Vatteroth
07162b7807
fix(deps): replace flexsearch-ts with orama
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-01-18 19:12:46 +01:00
Tilman Vatteroth
61362f9175
fix(frontend): migrate type changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-20 13:35:54 +00:00
Erik Michelson
8e10fb6804
fix: show new note button only dependent on guest access
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Tilman Vatteroth
5a1edea00a
fix(iframe-loader): add fallback for iframe loading
...
Some browsers (mostly cypress's chrome) doesn't execute
the onLoad callback automatically on the iframe.
The fallback is a timer that triggers this after a timeout of 500ms.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
6698450461
fix(frontend): make note details in redux optional
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-09 09:40:06 +02:00
Tilman Vatteroth
8602645bea
feat: migrate frontend app to nextjs app router
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
c94db0c1ff
fix: flexsearch types
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-02 17:40:39 +02:00
Philip Molares
1624ff9c3b
feat(frontend): add useDocumentSearch hook
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-02 16:38:16 +02:00
Tilman Vatteroth
76242330fd
fix(frontend): improve performance by caching translated texts
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-26 23:56:44 +02:00
Tilman Vatteroth
0993372290
fix: replace dark mode hack with bootstrap's own dark mode
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-04 22:38:50 +02:00
Philip Molares
e13055736a
feat(frontend): handle username in lowercase
...
When handling usernames for login and registering with local or permissions, this makes sure that the username is always in lowercase.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-04 21:55:19 +02:00
Tilman Vatteroth
77f858bff8
fix: remove redundant note detail props
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-30 09:17:05 +02:00
Tilman Vatteroth
a23c215d8d
refactor: split apply-dark-mode hook into multiple hooks
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
bcff03ef99
refactor: move dark-mode-state hook into other directory
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
cba8d917ed
refactor: move apply-dark-mode hook into other directory
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Philip Molares
c2f41118b6
feat: check permissions in realtime code and frontend
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
Tilman Vatteroth
24f1b2a361
feat: fetch frontend config in server side rendering
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:32 +02:00
Tilman Vatteroth
9497726a7c
feat(frontend): show indicator in document title for background changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Philip Molares
107ec7a522
feat(frontend): add isOwner hook
...
This hook is used to determine if the current user is the owner of the note
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Tilman Vatteroth
e390c0dd15
fix(frontend): reformat source files
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
Tilman Vatteroth
762a0a850e
fix: Move content into to frontend directory
...
Doing this BEFORE the merge prevents a lot of merge conflicts.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-20 19:48:40 +01:00