mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 18:26:32 -05:00
d597438c42
* 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
12 lines
212 B
Text
12 lines
212 B
Text
[
|
|
{
|
|
"timestamp": 1598390307,
|
|
"length": 2788,
|
|
"authors": ["dermolly", "mrdrogdrog"]
|
|
},
|
|
{
|
|
"timestamp": 1598389571,
|
|
"length": 2782,
|
|
"authors": ["dermolly", "mrdrogdrog", "emcrx"]
|
|
}
|
|
]
|