overleaf/services/web/frontend/stylesheets/app/editor
M Fahru 4dec157e08 Implement history react toolbar UI (#12530)
There are two different UI in this PR: `comparing` and `viewing` mode.

- For `comparing`, the user would be shown two separate date. It uses the `UpdateRange` object and this PR adds a timestamp to both `fromV` and `toV` of the object type.
- For `viewing`, the user would only be shown one date since `viewing` mode means viewing a specific update version.

Some other notable changes:

- Move `diff` state to `diff-view.tsx`, which contains `main.tsx` (main editor history view) and `toolbar.tsx` as its children
- refactor `autoSelectFile` by passing `updateRange.toV` directly
- refactor `updateIsSelected` by passing an object that contains `fromV` and `toV` instead of passing `update

There's also a cypress test for both the `viewing` mode and `comparing` mode in this PR.

GitOrigin-RevId: ba54f073f3479c55a39eb6b2932ea7faff78dddc
2023-04-21 08:03:39 +00:00
..
chat.less
compile-button.less Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772) 2023-02-22 09:04:42 +00:00
dictionary.less
error-boundary.less
file-tree.less Decouple history-file-tree styling out of editor file tree: 2023-04-21 08:03:36 +00:00
file-view.less
history-react.less Implement history react toolbar UI (#12530) 2023-04-21 08:03:39 +00:00
history-v2.less Merge pull request #10790 from overleaf/ds-history-toggle-bug-fix 2022-12-08 09:03:57 +00:00
history.less
hotkeys.less Update "go to line" hotkey for cm6 and add new info text in hotkeys modal 2022-11-25 09:04:20 +00:00
left-menu.less Create settings menu react elements in editor left menu for editor left menu react migration 2022-11-15 09:07:01 +00:00
logs.less
online-users.less
outline.less Merge pull request #11958 from overleaf/ds-td-documentation-btn-refactor 2023-02-27 09:03:47 +00:00
pdf.less Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772) 2023-02-22 09:04:42 +00:00
publish-modal.less
publish-template.less
review-panel.less Improve the Rich Text toolbar (#11616) 2023-02-07 09:04:39 +00:00
rich-text.less
search.less
share.less Clean up link sharing upgrade prompt test and keep the default variant 2023-01-20 14:13:51 +00:00
symbol-palette.less
toolbar.less Fix editor switcher colour transition (#12328) 2023-03-30 08:03:20 +00:00