Commit graph

6248 commits

Author SHA1 Message Date
Renovate Bot
7956f87137 Update dependency cypress to v9.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:12:01 +02:00
Renovate Bot
c25b0474ec Update Yarn to v3.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:10:54 +02:00
Renovate Bot
3f7138aaac Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:08:03 +02:00
Tilman Vatteroth
880e542351
Add note loading boundary (#2040)
* Remove redundant equal value

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add NoteLoadingBoundary to fetch note from API before rendering

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Improve debug message for setHandler

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add test for boundary

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Use common error page for note loading errors

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix tests

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Format code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add missing snapshot

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Reformat code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-11 12:47:58 +02:00
Tilman Vatteroth
0419113d36 Rename date prop in UI-Notification
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
5163cccca4 Replace Luxon DateTime with number in ui-notification redux state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
0d30b599d8 Replace Luxon DateTime with number in redux state
Luxon DateTimes are not serializable for redux. Therefore redux throws errors.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
0d325b5e3b Prevent react hydration error
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
197114cf18 Disable react strict mode to prevent double rendering
See https://stackoverflow.com/questions/61254372/my-react-component-is-rendering-twice-because-of-strict-mode

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
bbd628c81b Use correct method to set i18n into debug mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Renovate Bot
83001eb5b0 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 23:05:42 +02:00
Renovate Bot
4dbb280207 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 03:17:51 +00:00
Renovate Bot
7e6c10371f chore(deps): update dependency jest to v28.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 23:58:27 +02:00
Renovate Bot
c51a16cd6b chore(deps): update dependency tsconfig-paths to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 23:58:00 +02:00
David Mehren
286019c17e chore(deps): upgrade to ts-jest@28.0.2
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-05-08 20:53:31 +02:00
David Mehren
9b91f32bda ci: enable jest GHA reporter
Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-08 20:53:31 +02:00
Renovate Bot
c30228826d chore(deps): update dependency jest to v28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 20:53:31 +02:00
Renovate Bot
d1cdb6ca27 chore(deps): update dependency mkdocs-material to v8.2.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 20:23:05 +02:00
Renovate Bot
f47624fcea Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:53:25 +02:00
Tilman Vatteroth
9b69914b60 Extract code highlighting from async call
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-07 18:42:22 +02:00
renovate[bot]
c6857a46c8
Update nextjs monorepo to v12.1.6 (#2031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:35:17 +02:00
renovate[bot]
f70be920e7
Update jest monorepo to v28.1.0 (#2036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:32:45 +02:00
renovate[bot]
3c7a52c1e0
Update dependency @hedgedoc/html-to-react to v1.3.0 (#2032)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:31:54 +00:00
renovate[bot]
5d3198f776
Update i18next (#2035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:07:54 +02:00
renovate[bot]
c365ec81cb
Update dependency markdown-it-anchor to v8.6.3 (#2030)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:06:11 +02:00
renovate[bot]
b599622cb0
Update dependency markdown-it to v13.0.1 (#2029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:04:38 +02:00
renovate[bot]
2a445b766e
Update dependency @testing-library/react to v13.2.0 (#2033)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:02:41 +02:00
renovate[bot]
9705382ee8
Update definitely typed (#2027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:01:54 +02:00
renovate[bot]
8358669753
Update dependency @fontsource/source-sans-pro to v4.5.9 (#2028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:01:17 +02:00
renovate[bot]
06d0c6bb33
Update dependency netlify-cli to v10.3.0 (#2034)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 17:59:37 +02:00
Renovate Bot
9dadb71145 fix(deps): update dependency sqlite3 to v5.0.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:22:05 +02:00
Renovate Bot
d5de1aaff5 chore(deps): update dependency @types/jest to v27.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:21:35 +02:00
Renovate Bot
61f4e82dce chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:21:18 +02:00
Renovate Bot
d3fff07682 chore(deps): update docker/metadata-action action to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:20:17 +02:00
Renovate Bot
3ff34b575a chore(deps): update docker/setup-buildx-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:19:41 +02:00
Renovate Bot
94bca42a93 chore(deps): update docker/setup-qemu-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:19:28 +02:00
Renovate Bot
c104dfe522 chore(deps): update dependency mkdocs-material to v8.2.13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 12:19:48 +00:00
Renovate Bot
be52e89ad0 chore(deps): update docker/build-push-action action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:34 +02:00
Renovate Bot
cc3564622d chore(deps): update docker/login-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:23 +02:00
Renovate Bot
c3d5663885 chore(deps): update dependency @nestjs/schematics to v8.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 06:17:45 +00:00
Renovate Bot
aadc0fced5 chore(deps): update node.js to f4d6916
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 04:06:06 +00:00
Tilman Vatteroth
3c81d34f20 Read custom delay only in dev or test mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Tilman Vatteroth
1a18f3fc6f Accept url parameter for custom delay
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Tilman Vatteroth
bd58bca39c Add new loading animation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Erik Michelson
85eff24be1
New note creation (#1998)
* Add new note page

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Make new note button clickable

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add CHANGELOG note

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Refactor error messages

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use features note in mock

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Common Error page should always use i18n

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-05-02 17:39:18 +02:00
Renovate Bot
1fa94f9ea6 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 08:49:59 +02:00
Tilman Vatteroth
ea42b9092e Create store using redux-toolkit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-02 08:49:38 +02:00
Renovate Bot
0596cf86b6 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 04:50:24 +00:00
Renovate Bot
8a6e2889c5 chore(deps): update dependency @types/node to v16.11.33
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 00:17:43 +02:00
Renovate Bot
5f588cde62 chore(deps): update dependency pymdown-extensions to v9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-01 21:05:15 +02:00