hedgedoc/src/pages
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
..
api/mock-backend/private New note creation (#1998) 2022-05-02 17:39:18 +02:00
n Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
p Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
s Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
404.tsx New note creation (#1998) 2022-05-02 17:39:18 +02:00
[id].tsx New note creation (#1998) 2022-05-02 17:39:18 +02:00
_app.tsx Test multiple markdown extensions (#1886) 2022-04-27 09:59:01 +02:00
history.tsx Switch the base framework from Create React App to Next.JS 2021-12-30 14:43:25 +01:00
intro.tsx Switch the base framework from Create React App to Next.JS 2021-12-30 14:43:25 +01:00
login.tsx Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
new.tsx New note creation (#1998) 2022-05-02 17:39:18 +02:00
profile.tsx Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
register.tsx Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
render.tsx Switch the base framework from Create React App to Next.JS 2021-12-30 14:43:25 +01:00