overleaf/services/web/frontend/stylesheets/app
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
..
editor Implement history react toolbar UI (#12530) 2023-04-21 08:03:39 +00:00
list
about-page.less
about.less
account-settings.less
admin-hub.less
base.less
beta-program.less
blog-posts.less
blog.less
bonus.less
cms-page.less Merge pull request #12504 from overleaf/jel-cms-card-padding 2023-04-14 08:03:19 +00:00
contact-us.less
content_page.less
editor.less Merge pull request #12339 from overleaf/ii-react-history-editor-and-change-list-init 2023-03-23 09:06:24 +00:00
error-pages.less
features.less
front-chat-widget.less
grammarly.less
homepage.less
import.less
institution-hub.less
invite.less
login-register.less
metrics.less
ol-chat.less
ol-style-guide.less
open-in-overleaf.less
plans-ol.less
plans-v2.less
plans.less Merge pull request #12042 from overleaf/jel-change-plan 2023-03-09 09:05:05 +00:00
portals.less
primary-email-check.less
project-list-react.less [web] Colour picker for tags (#12255) 2023-04-13 08:04:03 +00:00
project-list.less
project-url-lookup.less
publisher-hub.less
recurly.less
register.less
review-features-page.less
sidebar-v2-dash-pane.less
sprites.less
subscription.less
templates-v2.less Merge pull request #12249 from overleaf/tm-gallery-top-picks 2023-04-19 08:03:19 +00:00
templates.less
translations.less
wiki.less