overleaf/services/web/frontend/stylesheets
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
..
app Implement history react toolbar UI (#12530) 2023-04-21 08:03:39 +00:00
components add sm size to badge 2023-04-21 08:03:33 +00:00
core fix: make the navbar dropdown list to take the full viewport 2023-04-21 08:02:46 +00:00
modules Merge pull request #11094 from overleaf/jel-use-label-style 2023-01-10 09:06:51 +00:00
variables fix: make the navbar dropdown list to take the full viewport 2023-04-21 08:02:46 +00:00
vendor Merge pull request #10105 from overleaf/ii-rich-text-scroll-bar 2022-10-24 08:03:07 +00:00
_ol_style_includes.less Merge pull request #10394 from overleaf/ii-password-reset-and-strength-checking 2022-12-07 09:03:36 +00:00
_style_includes.less Merge pull request #12557 from overleaf/ii-history-react-labels-only 2023-04-13 08:04:12 +00:00
ieee-style.less Merge pull request #3470 from overleaf/eslint 2020-12-16 03:08:28 +00:00
light-style.less Merge pull request #3470 from overleaf/eslint 2020-12-16 03:08:28 +00:00
main-ieee-style.less Merge pull request #10072 from overleaf/jel-start-new-css 2022-10-25 08:04:04 +00:00
main-light-style.less Merge pull request #10072 from overleaf/jel-start-new-css 2022-10-25 08:04:04 +00:00
main-style.less Merge pull request #12557 from overleaf/ii-history-react-labels-only 2023-04-13 08:04:12 +00:00
style.less Improve the Rich Text toolbar (#11616) 2023-02-07 09:04:39 +00:00