Commit graph

554 commits

Author SHA1 Message Date
Rebeka Dekany
84deec4e5a Merge pull request #22993 from overleaf/rd-searchbar-button-fix-migration
[web] Fix close button alignment of search bar

GitOrigin-RevId: ef6761f6f068090d8cbf7e8922b257bd499ee5c3
2025-01-21 09:06:15 +00:00
Rebeka Dekany
6c69266c0a Merge pull request #22934 from overleaf/rd-admin-split-test-edit-id
Migrate the split test edit admin page to Bootstrap 5

GitOrigin-RevId: 34c690e00f74a68fb4018f7546d77aefd3e84a51
2025-01-21 09:06:10 +00:00
Rebeka Dekany
2d12ef6b78 Merge pull request #22863 from overleaf/rd-migrate-admin-user-bs5
Migrate the admin users page to Bootstrap 5

GitOrigin-RevId: 34165b5d0f91c45e24a7fc94086871a0f22e50f9
2025-01-21 09:06:06 +00:00
Domagoj Kriskovic
e5a4a8606f Prevent scrolling when reply input is focused (#22968)
* Prevent scrolling when reply textarea is focused

* remove focusIsOnTextarea check as it is handled above

* remove unnecessery setSelected

GitOrigin-RevId: 5ce3fc6691a19fe2566875785607bb4faa3e9f52
2025-01-21 09:05:49 +00:00
Mathias Jakobsen
d34d15242e Merge pull request #22855 from overleaf/mj-ide-settings
[web] Add settings modal skeleton to editor redesign

GitOrigin-RevId: bc2e7f07f7ab737a67965fa615a04c8ee88b1271
2025-01-21 09:05:23 +00:00
Jessica Lawshe
b735cac588 Merge pull request #22912 from overleaf/jel-cms-tabs-bs5
[web] Update admin panel to use `.ol-tabs` style

GitOrigin-RevId: c9e808c5534e5f033a8e829b35b0c6bd865cb596
2025-01-20 09:05:22 +00:00
Alf Eaton
fdf7a34f8f Avoid shifting the layout of the project dashboard when items are selected (#22937)
GitOrigin-RevId: 98f153efddfcc3c11712010e607cc1a308e74279
2025-01-20 09:04:53 +00:00
Antoine Clausse
f9cc0c3bf4 [web] Scope ds-nav split test to project list (#22689)
* Add `dsNavStyle` prop, so `sidebar-navigation-ui-update` doesn't change all pages

* Use `useIsDsNav` instead of `useSplitTestContext`

* Create a `useDsNavStyle` hook

* Use `useDsNavStyle`

* Add comment on `useIsDsNav` and `NavStyleContext`

* Revert "Hide nav dropdown chevron icon in welcome page"

This reverts commit 78b5ba85

* Move `DsNavStyleProvider` usage to project-list-ds-nav.tsx

* Fix typo

* Simplify `useDsNavStyle` conditions

GitOrigin-RevId: df3fe66d772919c40df69d357bee6949ab413928
2025-01-17 09:05:41 +00:00
Mathias Jakobsen
849275c4b8 Merge pull request #22787 from overleaf/mj-ide-rail
[web] Create rail tabbed layout

GitOrigin-RevId: be54a224087aad8e6e2762d9c26463e37aecd9aa
2025-01-17 09:04:45 +00:00
M Fahru
545f990837 Merge pull request #22744 from overleaf/mf-update-blog-tagged-text
[web] On tagged blog pages, update "Posts tagged X" text color to neutral-70

GitOrigin-RevId: ad8e14ac275761f441e0db9760ba9c91de9019cd
2025-01-16 09:06:50 +00:00
Jessica Lawshe
5c188939d6 Merge pull request #22740 from overleaf/jel-mono-text
[web] Eyebrow text margin

GitOrigin-RevId: cdf1eadf8ad1da4d81724e8aeb9994cc931388ce
2025-01-16 09:06:28 +00:00
Rebeka Dekany
bdd91358ef Merge pull request #22817 from overleaf/rd-migrate-admin-split-test-create-bs5
Migrate the split test create admin page to Bootstrap 5

GitOrigin-RevId: 897f634b00136605ce3faf0e2489902d41f51566
2025-01-16 09:06:16 +00:00
Rebeka Dekany
971a5d9de4 Merge pull request #22717 from overleaf/rd-migrate-admin-bootstrap5
[web] Migrate the admin page to Bootstrap 5

GitOrigin-RevId: 8d283f7ce4a7d73f033a69a4c075311ff756f06a
2025-01-16 09:06:12 +00:00
Rebeka Dekany
4fae817573 Merge pull request #22761 from overleaf/rd-migrate-admin-project-bs5
Migrate admin project URL lookup page to Bootstrap 5

GitOrigin-RevId: d8c58bbeb924da4e94a361ab59a66c2c6048dbfd
2025-01-16 09:06:07 +00:00
Alf Eaton
f069adaf15 Add full project search UI (#22671)
GitOrigin-RevId: f40c85f40f4c16b4b3c26a197924cd9ac9b3db1f
2025-01-16 09:05:45 +00:00
David
bf789a2635 Merge pull request #22799 from overleaf/dp-new-pdf-toolbar
Add toolbar styles and update pdf toolbar to match new editor designs

GitOrigin-RevId: 4d5d9c6fa3353c10dd135aa35440c8512a5d3226
2025-01-14 09:05:45 +00:00
Domagoj Kriskovic
1f23b78de2 Fixed equation preview overflow (#22769)
* Fixed equation preview overflow

* Decrease max-height to 200px

GitOrigin-RevId: 4a733d25e86b0d4adfb2dc697bc251ad244949b4
2025-01-14 09:05:15 +00:00
Mathias Jakobsen
182e9deada Merge pull request #22768 from overleaf/mj-ide-source-editor
[web] Add editor to editor redesign

GitOrigin-RevId: cdda3d5391866b882d6696ba833316aa91cf2856
2025-01-13 09:04:55 +00:00
Domagoj Kriskovic
3e11fffaf0 Add delay on showing "Add comment" tooltip (#22600)
GitOrigin-RevId: eb2f2abc368fdba0e85a5611a4c73e3500b6bbb2
2025-01-10 09:04:55 +00:00
David
d6e763bc57 Merge pull request #22738 from overleaf/dp-new-editor-pdf
Drop in PdfPreview into new editor skeleton

GitOrigin-RevId: c88806904bd2534690a1540d7e39c5f81ab65709
2025-01-09 09:05:47 +00:00
David
e9e59bbcc9 Merge pull request #22720 from overleaf/dp-editor-redesign
Editor redesign skeleton page

GitOrigin-RevId: 966c88ac3714e4cc7de3e21951e4e1641bfd6852
2025-01-09 09:05:43 +00:00
Jessica Lawshe
d511a55466 Merge pull request #22703 from overleaf/jel-cms-sales-contact-form-remove-unused
[web] Remove unused fields from `Element | Sales Contact Form`

GitOrigin-RevId: 7e20ed04ca09b14eeb807eebe569c777f23a17bd
2025-01-08 09:05:30 +00:00
Jessica Lawshe
9f5387384e Merge pull request #22590 from overleaf/jel-card-last-child-spacing
[web] CMS - Remove margin when `last-child` has children

GitOrigin-RevId: a744018027ffce2bee570059757c365ac1b36931
2025-01-08 09:05:25 +00:00
Jessica Lawshe
6292e79253 Merge pull request #22383 from overleaf/jel-cms-btns
[web] CMS - Add ability to adjust `<p>` top margin

GitOrigin-RevId: f85b95e407d8c186141a3e60c7d07a9efa44c4c3
2025-01-08 09:05:17 +00:00
MoxAmber
18aa1b4e3b [Group Pricing] Add price change warning to cancellation flow (#22640)
* Add price change warning to cancellation flow
* Fixes lint error from translated string
* update pricing effective date

---------

Co-authored-by: Kristina Hjertberg <kristina.hjertberg@overleaf.com>
GitOrigin-RevId: d1b6982ff437d931144feffddcbddd96f5a3405b
2025-01-07 09:04:36 +00:00
Lucie Germain
ee4c8b5fe2 Merge pull request #22630 from overleaf/td-ds-nav-system-messages
Add system messages to DS nav version of project dashboard

GitOrigin-RevId: 85830d58242300a40148190f8a18204666a3065c
2024-12-20 09:05:25 +00:00
Tim Down
859527b890 Merge pull request #22599 from overleaf/td-ds-nav-chevron
Hide nav dropdown chevron icon in welcome page

GitOrigin-RevId: df631c2ea13da79be8496b8cfa425e9340894af3
2024-12-19 09:05:05 +00:00
Tim Down
d95df5b486 Merge pull request #22579 from overleaf/td-bs5-dropdown-header-display
Remove flex from dropdown header in BS5

GitOrigin-RevId: 799b99273ed2c69af28a407a23d33628195916e9
2024-12-19 09:04:52 +00:00
Antoine Clausse
bce3d4df78 Update SurveyNotification style for DS Nav (#22585)
* Hide the "DS nav" survey for users on the default variant

* Create and use `SurveyWidgetDsNav`

* Add link to SurveyWidgetDsNav button

* Revert SurveyNotification changes in the DS Nav mobile view

* Hide DS nav survey via JS rather than CSS

* Remove survey card in DS nav project dashboard mobile view in the short term

* Change sr-only to visually-hidden

* Fix typo

---------

Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: 6ff91637bcc8ad29c383627c7218f644a7b19d75
2024-12-19 09:04:47 +00:00
Antoine Clausse
fce3adc810 [web] Update Navbar icons (Carets and Close) (#22570)
* Use Phosphor icon for navigation close

* Add carets from Phosphor

* Remove CaretUp when expanded (not in design)

* Revert "Remove CaretUp when expanded (not in design)"

This reverts commit 242f295ea18a73aae0e2cf5d2cf0dc1e610dbef9.

* Fixup: Hide the default caret in the desktop view too

* Fixup format after merge

GitOrigin-RevId: 6781028dd50922a017ef2b76fe91c4ff611dd77c
2024-12-18 09:06:34 +00:00
Antoine Clausse
0193d00735 [web] Make the new project dropdown menu scrollable (#22559)
* Make the new project dropdown menu scrollable

* Use CSS variables

GitOrigin-RevId: 9a918f2349cfc74038bde36e48b1060a4de09822
2024-12-18 09:06:30 +00:00
Antoine Clausse
14ba6013ac Replace tags-list dropdown icon to Phosphor ThreeDotsVertical (#22562)
GitOrigin-RevId: 50c70aca162e787eb6ab051ac56c6b226a6c6aa6
2024-12-18 09:06:26 +00:00
Antoine Clausse
19e962876d [web] Replace "scroll-shadow" by "scroll-borders" in the sidebar (#22563)
* Replace "scroll-shadow" by "scroll-borders" in the sidebar

* Set invisible borders to prevent "jumps"

GitOrigin-RevId: b73ec532f28627d1c55dd64cbfabec8a2efb08b2
2024-12-18 09:06:22 +00:00
Jessica Lawshe
c9f35a2d68 Merge pull request #22586 from overleaf/jel-gallery-header
[web] Fix spacing above gallery

GitOrigin-RevId: f4460b5dc4780566cf8d0d4cda4213840530a275
2024-12-18 09:06:11 +00:00
Jessica Lawshe
2890661d5c Merge pull request #22538 from overleaf/jel-cms-tabs-as-list
[web] CMS - Add support for rendering `Layout | Tab Group` as a linkable list instead of tabs

GitOrigin-RevId: f86e78abd10029085ee8cdf4ffc7dd6e0ffd5300
2024-12-18 09:06:07 +00:00
Jessica Lawshe
2d620952b5 Merge pull request #22469 from overleaf/jel-remove-deprecated-spacing
[web] Remove deprecated row padding options

GitOrigin-RevId: c253be98d14e93123cc4362fa750e27cf5d9d0c3
2024-12-18 09:06:03 +00:00
Tim Down
053b84d828 Merge pull request #22557 from overleaf/td-bs5-pdf-detach-height
Copy some <html> and <body> rules from BS3 to fix the detached PDF page

GitOrigin-RevId: 9c14bd4988811b857c8c3516e50589514b400ac1
2024-12-18 09:05:31 +00:00
Antoine Clausse
df727d64c3 Merge pull request #22548 from overleaf/ac-ds-phosphor-icons-and-splittests-bugfix
[web] Reapply  Use icons from @phosphor-icons/react for the project-list (DS nav)

GitOrigin-RevId: b87767b7c875ff4c081590e7bc0111892c0a1435
2024-12-17 09:05:32 +00:00
Tim Down
79e4b76551 Merge pull request #22222 from overleaf/td-thin-footer-react
Implement thin footer in Bootstrap 5

GitOrigin-RevId: c45f63b3d2536e6266eb55cc95df11b53a6b77ec
2024-12-17 09:05:23 +00:00
Antoine Clausse
0c40841d9f Merge pull request #22547 from overleaf/revert-22517-ac-ds-nav-phosphor-icons
Revert "[web] Use icons from `@phosphor-icons/react` for the project-list (DS-Nav)"

GitOrigin-RevId: 350f5d69a8f575d8ee4e3bd6af46e4e5f7137c7d
2024-12-17 09:05:19 +00:00
Antoine Clausse
bb8bdd04af [web] Use icons from @phosphor-icons/react for the project-list (DS-Nav) (#22517)
* Use icons from `@phosphor-icons/react`

https://phosphoricons.com/

* Add the phosphor Plus icon to the tag list

* Add SignOut icon

* Use Phosphor icon for tags

* Fix icon color when active

* Add offset to dropdown menus so they're positioned like in Figma

---------

Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: 039e98063d775d0348d227202d5ecd6a0bfb7b65
2024-12-17 09:04:57 +00:00
David
362521dd1e Show full edit/review mode dropdown on first load (#22465)
* Show full edit/review mode dropdown on first load

* Remove unneeded import

* rename localstorage value, inline event

---------

Co-authored-by: Domagoj Kriskovic <dom.kriskovic@overleaf.com>
GitOrigin-RevId: 7efb52d4b43588dd1ee8b7a6a5f703166b0c9b3a
2024-12-17 09:04:52 +00:00
Antoine Clausse
555af767bd Add hover bg on navbar items (#22525)
GitOrigin-RevId: e220da99962abcaaac568f501875970747cd3d4b
2024-12-16 09:05:42 +00:00
M Fahru
c25ee1d786 Merge pull request #22464 from overleaf/mf-add-padding-bottom-login-container
[web] BS5 login page - Add sufficient spacing to prevent cookie banner from covering the bottom text on mobile

GitOrigin-RevId: e5024cf124387b2670211cee8d28ef5e6b4fc85f
2024-12-16 09:05:31 +00:00
M Fahru
d238e509c1 Merge pull request #22496 from overleaf/mf-login-register-use-social-button
[web] Use `.btn-social` for all login and register buttons that has icon on it

GitOrigin-RevId: a5590578ebf048b188d9f9ab3551907fdf5fe63d
2024-12-16 09:05:27 +00:00
M Fahru
b0a47b6c6d Merge pull request #22467 from overleaf/mf-clean-up-register-styling-bs5
[web] Clean up register and login bs5 code

GitOrigin-RevId: fcdb32d1e1ad7d0fb2862bb2726688780e42fa7c
2024-12-16 09:05:23 +00:00
M Fahru
10e1c5b320 Merge pull request #22460 from overleaf/mf-notification-website-redesign-blue-link-color
[web] Set all link inside notification to use the default blue color for all website-redesigned non-application page

GitOrigin-RevId: d5e598f7b02ff132d9686a010ff55541346f7d2e
2024-12-16 09:05:18 +00:00
Antoine Clausse
90b16e4c8e [web] DS-Nav footer tweaks (#22482)
* Footer tweaks (add border, main-content 100vh)

* Update color to be the same as the sidebar `<hr>`

* Move the border to the larger div so it also separates with the navbar

* Update border color to be the same as the background

* Fixup lint

* Fixup main content padding on mobile view

See https://github.com/overleaf/internal/pull/22186#discussion_r1876087478

* Change the border color to neutral-20

* Use `--border-divider` which is the same color as --neutral-20 (`#e7e9ee`)

* Replace `@media (width >= 768px)` by `@include media-breakpoint-up(md)`

* Replace `min-height: 100dvh` by `min-height: 100%`

GitOrigin-RevId: 426869e9b96a1ee8245c487bb80ff01856521a34
2024-12-16 09:05:14 +00:00
Antoine Clausse
f2d6c73f75 [web] Update project-list Navbar for mobile (#22478)
* Control if nav items are shown with CSS instead of JS

* Fix navbar style for mobile view

* Update navbar toggle icon to close

* Hide "Projects" nav item from the navbar

* Add separator above the Help menuitem in the mobile navbar

* Adjust sidebar padding: 24px from the logo

GitOrigin-RevId: ba587645f56febc0da798269bd6aa8c2e1639c27
2024-12-16 09:05:02 +00:00
Antoine Clausse
e5c97f1963 [web] Add box shadows to scrollable part of sidebar (#22400)
* Add box shadows to scrollable part of sidebar

* Fix lint

* Fix `isAtBottom` boolean on Firefox

* Throttle the `scroll` event

* Remove wrong and unnecessary comment

GitOrigin-RevId: 7bcbb7fc860ab32f44203b3ae9ff37a3fed069a8
2024-12-16 09:04:49 +00:00