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 Merge pull request #4087 from overleaf/hb-chat-error-boundary 2021-06-08 02:05:49 +00:00
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 Merge pull request #8191 from overleaf/msm-dictionary-modal-fixes 2022-05-31 08:04:43 +00:00
error-boundary.less Merge pull request #8747 from overleaf/ae-error-boundary-fallback 2022-08-10 08:03:51 +00:00
file-tree.less Decouple history-file-tree styling out of editor file tree: 2023-04-21 08:03:36 +00:00
file-view.less Merge pull request #5044 from overleaf/hb-roll-out-react-file-view 2021-09-15 08:03:47 +00:00
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 Merge pull request #2401 from overleaf/cmg-ns-pretty-less 2019-12-06 04:19:26 +00:00
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 Merge pull request #8297 from overleaf/em-halt-on-error-logs 2022-06-08 08:03:12 +00:00
online-users.less Merge pull request #6122 from overleaf/jel-online-users 2021-12-15 09:04:07 +00:00
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 Merge pull request #2349 from overleaf/as-webpack-css 2019-11-28 10:39:09 +00:00
publish-template.less Merge pull request #2401 from overleaf/cmg-ns-pretty-less 2019-12-06 04:19:26 +00:00
review-panel.less Improve the Rich Text toolbar (#11616) 2023-02-07 09:04:39 +00:00
rich-text.less Upgrade to webpack v5 (#7249) 2022-04-07 08:03:46 +00:00
search.less Merge pull request #2367 from overleaf/cmg-theme-search-color 2019-12-02 14:09:45 +00:00
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 Merge pull request #5650 from overleaf/hb-remove-symbol-search-hint 2021-11-10 09:02:35 +00:00
toolbar.less Fix editor switcher colour transition (#12328) 2023-03-30 08:03:20 +00:00