overleaf/services/web/test/frontend
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
..
components Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
features [web] Migrate the file view to Bootstrap 5 (#20765) 2024-10-14 11:07:55 +00:00
helpers Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client 2024-08-22 08:05:13 +00:00
ide Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
infrastructure Merge pull request #19347 from overleaf/td-bs5-cypress-css 2024-07-25 08:05:16 +00:00
shared Merge pull request #19347 from overleaf/td-bs5-cypress-css 2024-07-25 08:05:16 +00:00
utils Merge pull request #4305 from overleaf/jpa-fix-undef 2021-07-14 12:40:42 +00:00
bootstrap.js Merge pull request #20189 from overleaf/em-github-file-rejections 2024-09-04 08:05:21 +00:00
cut-log-noise.js Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
prop-types.test.js Merge pull request #5709 from overleaf/ae-fail-prop-types-tests 2021-11-16 09:02:54 +00:00
reset-meta-before-each.js Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00