mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
0648b8aa6c
* Add strikethrough to deleted file tree item in history file tree * Add "restore file" button on toolbar if the selected file have a `removed` operation. * Implement "restore file" functionality on removed file: - Refactor the `Selection` object in history context value since we need the `deletedAtV` data which currently is not passed through the state. - Refactor and clean up file tree type system to support passing through the whole `FileDiff` object for getting the `deletedAtV` data which only appear on `removed` operation - Implement `postJSON` with file restoration API and pass it on restore file onClick handler at toolbar * Implement loading behaviour while restoring file is inflight: - Add `loadingRestoreFile` to `LoadingState` - Change restore file button to `Restoring...` when in loading state. * Refactor: - Rename `DiffOperation` to `FileOperation` - Extract `isFileRemoved` and `isFileRenamed` to its own file - Extract `Toolbar` components into small files GitOrigin-RevId: 2e32ebd2165f73fc6533ff282a9c084162efd682 |
||
---|---|---|
.. | ||
editor | ||
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 | ||
contact-us.less | ||
content_page.less | ||
editor.less | ||
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 | ||
portals.less | ||
primary-email-check.less | ||
project-list-react.less | ||
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 | ||
templates.less | ||
translations.less | ||
wiki.less |