Commit graph

1898 commits

Author SHA1 Message Date
Tilman Vatteroth
f328681c0f Fix language detection in code mirror code blocks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-22 21:33:13 +02:00
Tilman Vatteroth
ddea0edbf8 Fix mock restoring in abc frame test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-22 21:33:13 +02:00
renovate[bot]
e679bb4d3b
Update dependency ts-node to v10.8.0 (#2066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:40:13 +02:00
renovate[bot]
82b3373445
Update dependency i18next to v21.8.3 (#2057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:39:07 +02:00
Erik Michelson
bca9e9471f Remove flaky intro links test
This e2e test is not very useful to us as it only tests hardcoded link targets.
We should focus on testing user-scenarios in our e2e tests, not single components.
One should instead write a unit-test for the InternalLink component.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-05-21 15:03:50 +02:00
renovate[bot]
205a7b3b8f
Update linters (#2061)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:46:42 +02:00
renovate[bot]
77638e6faf
Update dependency react-use to v17.4.0 (#2059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:45:36 +02:00
renovate[bot]
c6bcdc4c90
Update dependency katex to v0.15.6 (#2058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:30:27 +02:00
renovate[bot]
2106c4d247
Update dependency @codemirror/lang-markdown to v0.20.1 (#2055)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:23:48 +02:00
renovate[bot]
acd19bf53b
Update dependency @types/node to v16.11.36 (#2056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:19:31 +02:00
renovate[bot]
effa74af74
Update dependency sass to v1.52.1 (#2060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:17:54 +02:00
renovate[bot]
b763ed6ebc
Update dependency copy-webpack-plugin to v11 (#2062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 14:17:09 +02:00
Renovate Bot
daf5c634c1 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-15 22:46:08 +02:00
Renovate Bot
4a70b3bdc8 Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:59:44 +02:00
Renovate Bot
c74894013a Update dependency mermaid to v9.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:56:08 +02:00
Renovate Bot
12eb3ed132 Update dependency dompurify to v2.3.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:46:02 +02:00
Renovate Bot
95ecc61b83 Update dependency luxon to v2.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:22:45 +02:00
Renovate Bot
2e7655966c Update dependency i18next to v21.8.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:21:32 +02:00
Renovate Bot
8e1cd7352f Update dependency @testing-library/user-event to v14.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:20:46 +02:00
Renovate Bot
184b767484 Update dependency react-bootstrap to v1.6.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:19:14 +02:00
Renovate Bot
9ce6e92c41 Update bobheadxi/deployments action to v1.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:18:07 +02:00
Renovate Bot
9440572dcb Update dependency netlify-cli to v10.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:15:48 +02:00
Renovate Bot
4c03a230ed Update dependency markdown-it-anchor to v8.6.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:15:37 +02:00
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
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
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