hedgedoc/src/components/editor-page
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
..
app-bar New note creation (#1998) 2022-05-02 17:39:18 +02:00
document-bar Replace Luxon DateTime with number in redux state 2022-05-10 21:12:05 +02:00
editor-document-renderer Move markdown split into redux (#1681) 2021-12-14 10:16:25 +01:00
editor-pane Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
hooks Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
render-context Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
renderer-pane Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
sidebar Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
splitter Replace splitter e2e test with unit test 2022-04-10 01:42:26 +02:00
synced-scroll Introduce Markdown extensions (#1614) 2021-11-15 17:04:49 +01:00
table-of-contents Replace substr with slice 2022-04-03 00:45:05 +02:00
editor-page-content.tsx Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
utils.ts Switch the base framework from Create React App to Next.JS 2021-12-30 14:43:25 +01:00