overleaf/services/web/frontend/js/features
Antoine Clausse d6de6da781 [web] Migrate the file view to Bootstrap 5 (#20765)
* [web] Remove unnecessary divs around `fileInfo`

* [web] Add file-view SCSS style

* [web] Simplify `TPRFileViewInfo`

* [web] Add div for action buttons

* [web] Misc. simplifications

* [web] Add Overleaf logo in bg when selecting multiple files

* [web] Add message when multiple files are selected

* [web] Add .full-size class

* [web] Import styles from LESS file

* [web] Update icons, use MaterialIcon

* [web] Use OLButton

* [web] Add missing space between icons and text

* [web] Adjust margins

* [web] Fix alert button

* [web] Update Alerts

* [web] Update `FileViewLoadingIndicator`

* [web] Fix test "shows a loading indicator..."

This was failing because `LoadingSpinner` is shown after a setTimeout.
Maybe we can skip this setTimeout when delay==0 ?

* [web] Remove Row/Col around error notifications

* [web] Replace `!!` by `Boolean`

Co-authored-by: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com>

* [web] Use `alert` class in BS3 only

Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com>

* [web] Update "Go to settings" to OLButton

Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com>

* [web] Use `BootstrapVersionSwitcher` instead of `isBootstrap5`

Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com>

* [web] Align Alert content to the left in BS5

* [web] Remove `leadingIcon` on Refresh buttons

* [web] Make the download link be an OLButton

* [web] Set `tpr-refresh-error` in BS3 only

Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>

* [web] Use `var(--white);` instead of `white`

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

* [web] Update OLButton size (small -> sm)

---------

Co-authored-by: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com>
Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com>
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 04f369c0f1a53d47619a1570648ee58de5050751
2024-10-14 11:07:55 +00:00
..
algolia-search Merge pull request #19126 from overleaf/td-bs5-contact-modal-react 2024-08-14 08:04:37 +00:00
autoplay-video Merge pull request #16805 from overleaf/tm-website-redesign-ios-video-tweaks 2024-01-30 16:49:37 +00:00
bookmarkable-tab CMS Bootstrap 5 migration - Tabs using bootstrap 5 classes (#20478) 2024-09-25 08:05:21 +00:00
chat Merge pull request #20715 from overleaf/ii-bs5-chat-pane 2024-10-14 11:07:26 +00:00
clone-project-modal/components Merge pull request #19466 from overleaf/ii-bs5-projects-tags 2024-07-25 08:05:20 +00:00
compromised-password/components Merge pull request #18064 from overleaf/dp-interstitial 2024-04-25 08:04:26 +00:00
contact-form Merge pull request #19126 from overleaf/td-bs5-contact-modal-react 2024-08-14 08:04:37 +00:00
cookie-banner Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
dictionary Use Hunspell for client-side spellchecking (#20286) 2024-10-14 10:58:36 +00:00
editor-left-menu Merge pull request #20381 from overleaf/ae-api-settings 2024-10-14 10:58:59 +00:00
editor-navigation-toolbar/components add an option to remove chat from server pro (#20445) 2024-10-14 11:07:02 +00:00
event-tracking Merge pull request #20024 from overleaf/mf-plans-page-click 2024-09-02 08:05:39 +00:00
fallback-image
faq-search
file-tree Merge pull request #20501 from overleaf/rd-filetree-toolbar 2024-09-26 08:05:47 +00:00
file-view [web] Migrate the file view to Bootstrap 5 (#20765) 2024-10-14 11:07:55 +00:00
form-helpers Merge pull request #17845 from overleaf/mf-add-icon-error-login-home 2024-04-12 08:05:52 +00:00
group-management Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
header-footer-react Merge pull request #20140 from overleaf/rd-footer-react 2024-08-30 08:04:29 +00:00
history Merge pull request #20233 from overleaf/mj-restore-promo 2024-09-09 08:05:01 +00:00
hotkeys-modal/components Merge pull request #17707 from overleaf/AR-modal-close-consistency-fixes 2024-04-05 08:04:13 +00:00
ide-react [web] Migrate IDE page loading screen to BS5 (#20896) 2024-10-14 11:07:50 +00:00
link-helpers
mathjax Improve MathJax filtering of font-family attribute (#18819) 2024-06-12 08:04:13 +00:00
multi-submit
outline/components Merge pull request #20172 from overleaf/rd-ide-fileoutline 2024-09-04 08:05:12 +00:00
pdf-preview Set workerPublicPath in webpack config (#20629) 2024-10-14 11:06:45 +00:00
plans Merge pull request #20520 from overleaf/em-ts-import 2024-09-23 08:04:47 +00:00
preview Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
project-list [web] Update bsVersion to return its arguments types (#20963) 2024-10-14 11:07:45 +00:00
review-panel-new Merge pull request #20886 from overleaf/dp-overview-file-counts 2024-10-14 11:05:53 +00:00
settings [web] Update bsVersion to return its arguments types (#20963) 2024-10-14 11:07:45 +00:00
share-project-modal Merge pull request #20824 from overleaf/ii-bs5-share-modal 2024-10-14 11:07:31 +00:00
source-editor [web] Update bsVersion to return its arguments types (#20963) 2024-10-14 11:07:45 +00:00
subscription Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
token-access/components Merge pull request #19747 from overleaf/ab-v1-project-import-module 2024-08-06 08:05:11 +00:00
ui/components [web] Migrate the file view to Bootstrap 5 (#20765) 2024-10-14 11:07:55 +00:00
utils [web] Update bsVersion to return its arguments types (#20963) 2024-10-14 11:07:45 +00:00
word-count-modal Merge pull request #17707 from overleaf/AR-modal-close-consistency-fixes 2024-04-05 08:04:13 +00:00