hedgedoc/src/components/common
Erik Michelson d597438c42
Add revisions dialog (#485)
* Add mock files

Note that revisions-list needs to be called revisions in the reality to be confirm with the API spec, but our mocking solution doesn't allow that...

* Add revisions API calls

* Fix line endings in mock files

* Extend CommonModal to accept size and additionalClasses

* Clarify variable name in API request

* Add react-diff-viewer as dependency

* Add revision chooser modal

* Fix type of route params

* Added and updated mock files

* Added user-icon list per revision

* Added translation to alt text of avatars

* Updated mock file to remove inconsistencies

* Add caching for revisions

* Sort mock file revisions-list descending by timestamp

* Pre-select first/newest revision on first modal open

* Regenerated yarn.lock file from scratch

* Applied requested changes in variable names and line lengths

* User UserAvatar component instead of manually set image

* Move revision-modal-list-entry to own component

* Removed unnecessary return statements
2020-09-02 22:57:44 +02:00
..
branding Correct use selector (#515) 2020-08-30 21:24:34 +02:00
copyable-field Restructure editor user interface (#399) 2020-08-15 17:27:46 +02:00
document-title Rename codimd to hedgedoc (#434) 2020-09-02 21:17:26 +02:00
fork-awesome Add fork-awesome-stack.tsx and extract types 2020-08-26 21:28:46 +02:00
icon-button Add fork-awesome-stack.tsx and extract types 2020-08-26 21:28:46 +02:00
links Add fork-awesome-stack.tsx and extract types 2020-08-26 21:28:46 +02:00
modals Add revisions dialog (#485) 2020-09-02 22:57:44 +02:00
motd-banner Correct use selector (#515) 2020-08-30 21:24:34 +02:00
pagination better support for rtl languages (#170) 2020-06-08 23:49:14 +02:00
routing Restructure repository (#426) 2020-08-16 16:02:26 +02:00
show-if Sort components (#163) 2020-06-07 21:29:09 +02:00
user-avatar Add revisions dialog (#485) 2020-09-02 22:57:44 +02:00