hedgedoc/src/api
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
..
alias Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
auth Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
common Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
config Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
group Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
history Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
me Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
media Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
notes Add note loading boundary (#2040) 2022-05-11 12:47:58 +02:00
permissions Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
revisions Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
tokens Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00
users Adapt react-client to use the real backend API (#1545) 2022-04-15 23:03:15 +02:00