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 Merge pull request #9882 from overleaf/ii-dashboard-system-message-migration 2022-10-13 08:05:38 +00:00
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 Merge pull request #10830 from overleaf/jel-remove-test-show-unified-navigation 2022-12-13 09:04:28 +00:00
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 Merge pull request #9747 from overleaf/ii-cm6-grammarly-dark-theme-css-fix 2022-09-28 08:06:08 +00:00
homepage.less Merge pull request #10633 from overleaf/ds-login-page-css-new-builds 2022-12-01 09:04:42 +00:00
import.less
institution-hub.less
invite.less
login-register.less Merge pull request #10633 from overleaf/ds-login-page-css-new-builds 2022-12-01 09:04:42 +00:00
metrics.less
ol-chat.less
ol-style-guide.less
open-in-overleaf.less
plans-ol.less
plans-v2.less Merge pull request #11706 from overleaf/jpa-fix-de-translations 2023-02-09 09:03:57 +00:00
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 Revert "Refactor project list notification by using onDismiss on Alert instead of custom Close component (#12043)" (#12133) 2023-03-07 09:06:25 +00:00
project-url-lookup.less
publisher-hub.less
recurly.less Merge pull request #10073 from overleaf/jel-cleanup-imports 2022-11-02 09:04:29 +00:00
register.less
review-features-page.less
sidebar-v2-dash-pane.less
sprites.less
subscription.less Merge pull request #11670 from overleaf/ab-manage-members-back-button 2023-02-15 09:04:46 +00:00
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