hedgedoc/src/components
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
..
application-loader Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
common Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
document-read-only-page Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
editor-page Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
error-boundary Fix react 18 changes 2022-04-10 20:36:21 +02:00
error-pages New note creation (#1998) 2022-05-02 17:39:18 +02:00
history-page Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
intro-page Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
landing-layout Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
layout Add browser meta tags for favicon and title (#1746) 2022-01-02 19:35:39 +01:00
login-page/auth Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
markdown-renderer Extract code highlighting from async call 2022-05-07 18:42:22 +02:00
notifications Rename date prop in UI-Notification 2022-05-10 21:12:05 +02:00
profile-page Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
register-page Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
render-page Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
slide-show-page Switch the base framework from Create React App to Next.JS 2021-12-30 14:43:25 +01:00