Commit graph

24267 commits

Author SHA1 Message Date
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
Eric Mc Sween
a323a5c915 Merge pull request #22527 from overleaf/revert-22471-em-tracked-deletes-at-same-position
Revert "Improve handling of tracked delete rejections"

GitOrigin-RevId: 444a5a73aa2b93162036dfc463cd76d9c463aadb
2024-12-16 09:05:10 +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
Eric Mc Sween
6737cfa38d Merge pull request #22471 from overleaf/em-tracked-deletes-at-same-position
Improve handling of tracked delete rejections

GitOrigin-RevId: 35857d0a3f739c0531223737b2b649c9e8033157
2024-12-16 09:04:58 +00:00
Domagoj Kriskovic
db45323b93 Hide reviewer option from edit-member (#22499)
GitOrigin-RevId: 16f2b51a4856ef0f651b8b7973c34a7529d826cc
2024-12-16 09:04:53 +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
Brian Gough
6d1a258e7b Merge pull request #22512 from overleaf/bg-fixed-linked-files
use history-v1 for fetching linked files

GitOrigin-RevId: 32c4a35ea8c1f745e0242237c57285b3edbbb984
2024-12-16 09:04:34 +00:00
Miguel Serrano
e5cdc768b3 Merge pull request #22507 from overleaf/dependabot-maven-services-git-bridge-org.asynchttpclient-async-http-client-3.0.1
Bump org.asynchttpclient:async-http-client from 2.12.3 to 3.0.1 in /services/git-bridge

GitOrigin-RevId: cc375ff1ad1a3127aad2ac8b2987f1af3b1643b9
2024-12-16 09:04:29 +00:00
Miguel Serrano
303e85a72b Merge pull request #22492 from overleaf/msm-fix-flaky-e2e-jpg-preview
[SP] Wait for document being rendered before editor tests

GitOrigin-RevId: 4afa9b7d225ff19e6c10b061de4eef076bcd9a5d
2024-12-13 09:05:42 +00:00
Jimmy Domagala-Tang
8bda1d5b92 Merge pull request #22500 from overleaf/revert-19302-jdt-institution-buttons-temp
Revert "Jdt institution buttons temp"

GitOrigin-RevId: 751c587e2733ef8b8ef4e3b3c048233c73e214e1
2024-12-13 09:05:37 +00:00
Tim Down
b2b398ba0d Merge pull request #22495 from overleaf/revert-22468-td-bs5-ieee-overall-theme
Revert "Always apply overall dark theme with IEEE-branded editor and tear down ieee-stylesheet feature flag"

GitOrigin-RevId: 223b4816b02ba96212ea7e779e16770cd4f16949
2024-12-13 09:05:33 +00:00
Jimmy Domagala-Tang
11de9a366c Merge pull request #19302 from overleaf/jdt-institution-buttons-temp
Jdt institution buttons temp

GitOrigin-RevId: 2b2e93014e2a219a633a7ce09a00033cc1157496
2024-12-13 09:05:28 +00:00
Tim Down
4cd624e6a5 Merge pull request #22468 from overleaf/td-bs5-ieee-overall-theme
Always apply overall dark theme with IEEE-branded editor and tear down ieee-stylesheet feature flag

GitOrigin-RevId: 80d10a911f3a188867db9b825f3ae8413f555b64
2024-12-13 09:05:24 +00:00
Brian Gough
9d4eeeea90 Merge pull request #22488 from overleaf/bg-add-filestore-request-logging
add filestore request logging

GitOrigin-RevId: 0ec5c413f0e88521e1da268699ee2ee281c560f1
2024-12-13 09:05:16 +00:00
ilkin-overleaf
09bbbfbb28 Merge pull request #22479 from overleaf/ii-manage-members-add-more-users-link
[web] Members management flexible licensing

GitOrigin-RevId: 8b0283db95c83c2ae1c0dd4e1e756980c168f152
2024-12-13 09:05:08 +00:00
Brian Gough
000017ecde Merge pull request #22481 from overleaf/bg-fix-blob-redirect-middleware
fix fileToBlobRedirectMiddleware internal redirect

GitOrigin-RevId: 874196d58f8b657d73a8e7f1ea4fef8290d48a10
2024-12-13 09:05:04 +00:00
Andrew Rumble
31e8a908ee Merge pull request #22334 from overleaf/ar-guard-against-integer-like-strings-when-working-with-postgres
[history-v1] Guard against non-postgres projectIds

GitOrigin-RevId: 5bf75c67424297f52f2abd9d0f0f14a0f79f8921
2024-12-13 09:04:59 +00:00
Andrew Rumble
a92a37bc3c Merge pull request #22466 from overleaf/ar-backup-files-when-inserting
[history-v1] backup files when inserting

GitOrigin-RevId: e636bce178604978c6d41c083bf671795d20b5a1
2024-12-13 09:04:54 +00:00
Antoine Clausse
b165e71ba9 [web] Update footer responsiveness with container queries (#22346)
* Remove padding around the footer

* Use CSS container queries instead of media queries on the full window

Container queries are supported by 92.76%	of web users, which can be an issue.
https://caniuse.com/css-container-queries

Though we do use them in other places

* Use `@supports` to check if `@container` can be used and use mixins

* Add the max sidebar width the fallback media query

* Update the footer responsiveness so we don't affect the default variant

GitOrigin-RevId: bed3e4244f1a97fd84740dcf87fb27c760be91ad
2024-12-12 09:06:09 +00:00
Antoine Clausse
62cfb68c1b [web] Add icon menus in the Sidebar (#22318)
* Add sidebar icons and menus (Help, Account)

* Place the account dropdown menu above the tooltip

* Hide tooltip when dropdown menu is shown

* Fixup tooltip position

* Add Digital Science link

* Add aria-labels on the dropdown toggles

* Update sidebar items spacings

- Add space between notification and DS icons
- Balance margin/padding in the scrollable part

* Revert changing the side of .dev-tool-bar-open-button

* Remove `!important` in link color

* Add Help tooltip

* Revert dropdown-menu z-index change

* Move `AccountMenuItems` to its own file

* Revert "Remove `!important` in link color"

This reverts commit b2de83f815d05cd1e224604d4ca355986ba76b99.

GitOrigin-RevId: 286266ea5348384f2592f748d3ae32c452558988
2024-12-12 09:06:05 +00:00
Jessica Lawshe
650d285105 Merge pull request #22080 from overleaf/jel-grid-padding
[web] Use `spacing-...` variables for row padding options

GitOrigin-RevId: 75aff5c9a2eb72897d5050a25986e532ef276e6c
2024-12-12 09:05:57 +00:00
Jessica Lawshe
fc0c46cb2f Merge pull request #22029 from overleaf/jel-visual-with-content
[web] CMS BS5 - Add `Element | Visual with content`

GitOrigin-RevId: 9c1302aec4b1ea4726a07562b276503a7a31a7d8
2024-12-12 09:05:53 +00:00
Jessica Lawshe
15f8e07257 Merge pull request #22025 from overleaf/jel-click-event-interstitial-plans
[web] Add trigger attribute so that event is recorded

GitOrigin-RevId: 15e42297efca9d155442ed4aacbdbf1f4a35e074
2024-12-12 09:05:49 +00:00
M Fahru
e99352df3e Merge pull request #22415 from overleaf/mf-bs5-login-migration
[web] Login page bootstrap 5 migration

GitOrigin-RevId: 5a69588e7978456e16a0aaad80d77478121c9481
2024-12-12 09:05:44 +00:00
M Fahru
f9536cce52 Merge pull request #22414 from overleaf/mf-fix-styling-bs5-registration
[web] Fix small styling in bs5 register page

GitOrigin-RevId: 2027c79d04f65d1afbea23f23d998bb5d60e092b
2024-12-12 09:05:40 +00:00
M Fahru
cacf2dbd73 Merge pull request #22290 from overleaf/as-bs5-homepage
Migrate homepage to Bootstrap 5

GitOrigin-RevId: 02f29964d770f512780c6f71229f246a5939657c
2024-12-12 09:05:36 +00:00
Mathias Jakobsen
1063dabf33 [web+document-updater] Allow appending to documents (#20745)
Co-authored-by: David Powell <david.powell@overleaf.com>
GitOrigin-RevId: f66283926e7da3edf83ada9316c3a001287e1b42
2024-12-12 09:05:31 +00:00
Andrew Rumble
52254b5695 Merge pull request #22459 from overleaf/revert-22392-ar-backup-files-when-inserting
Revert "[history-v1] backup files when inserting"

GitOrigin-RevId: f21d49dbc8909ab93bdde78c321672124bb13697
2024-12-12 09:05:27 +00:00
Antoine Clausse
27792199f6 [web] Update project list page main content to DS-nav-bar design (#22307)
* Move some SCSS to project-list-default.scss

* Update project-list-ds-nav.tsx to match design and simplify the SCSS

* Fix survey-notification style: light on the sidebar, dark on the main content

* Replace `withHr` by `useSplitTestContext` hook

* Override the `navbar-btn-padding-h` override.

* Fixup main content padding

Co-authored-by: Tim Down <tim.down@overleaf.com>

* Add padding-top to the logo

* Fixup merges

Add changes from https://github.com/overleaf/internal/pull/22272

---------

Co-authored-by: Tim Down <tim.down@overleaf.com>
GitOrigin-RevId: 8dbc449afbf70388bcf3185413b35234acaad349
2024-12-12 09:05:23 +00:00
Antoine Clausse
629579b840 [web] Update project list page layout and sidebar to new design (#22186)
* PoC DS nav project page shell

* Rename files: use `ds-nav` as a suffix

(really just moving code without changes)

* Update NavBar to the new design

* Small updates to project-list-ds-nav.tsx so it gets its basic shape

* Nest `.survey-notification` and `.project-list-sidebar-survey-wrapper` in the default classes to avoid interferences

* Create `SidebarDsNav`

* Add props to sidebar components so they work in both versions

* Update the SCSS code for the sidebar redesign

* Update subheader to "Organize Tags"

* Mute add affiliation font

* Remove `<aside className="project-list-sidebar-react">` and add sidebar max/min widths

* Fixup buttons padding

* Fix tests: add SplitTestProvider

* Fixup sidebar scroll div: add `flex: 1 1 auto`

* Make "Uncategorized" italic

* Update logo to SVG

* Optimize the svg
https://jakearchibald.github.io/svgomg/
9.12k → 4.92k 53.91%

---------

Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: 3d08b4b80291d9465fae87ffdf0c6a9f6deda554
2024-12-12 09:05:18 +00:00
Andrew Rumble
6404e3047d Merge pull request #22392 from overleaf/ar-backup-files-when-inserting
[history-v1] backup files when inserting

GitOrigin-RevId: 1649b2828899d67ee37c0ac331917c6d5424c803
2024-12-12 09:05:11 +00:00
David
f8a1e7c43b Merge pull request #22398 from overleaf/dp-change-edit-mode-ui-part-2
Add ReviewModeSwitcher

GitOrigin-RevId: bfbbdac30530d859da0e8b5673357ba805b100ab
2024-12-12 09:05:06 +00:00
Andrew Rumble
e6a2caa088 Merge pull request #22421 from overleaf/ar-pass-created-blob-for-filetree-uploads
[web] Pass createdBlob through for file creation everywhere

GitOrigin-RevId: 880bebd0a55e351a6a61555a46e80faef22db7cb
2024-12-12 09:05:02 +00:00
Domagoj Kriskovic
f1c3ddb7c2 Use isReviewerRoleEnabled meta tag (#22437)
GitOrigin-RevId: e2f2529f09936a53087393d8f02968bdb5ea1acc
2024-12-12 09:04:51 +00:00
Domagoj Kriskovic
71a0b48a68 Set track changes state permissions for reviewer role (#22345) (#22436)
* Support for adding reviewer role

* added collaboratorsGetter tests

* emit toggle-track-changes when reviewer is added

* Add reviewer in change privilege level handler

GitOrigin-RevId: 88ec39f2b760b5d1ca6dc3a363df31c087268972
2024-12-12 09:04:46 +00:00
Miguel Serrano
0490a4bab2 Merge pull request #22440 from overleaf/msm-fix-templates-e2e
[SP] Fix templates tests

GitOrigin-RevId: b63279161db2da2c5b482ea61ae3968497e7c1e0
2024-12-11 09:05:04 +00:00
Lucie Germain
f42ccd67f7 Merge pull request #22364 from overleaf/lg-server-ce-new-issue-note
New note about creating an issue in Server CE repo

GitOrigin-RevId: c004914eff95e594c5b4ba9e165caddb4deb526b
2024-12-11 09:05:00 +00:00
Jimmy Domagala-Tang
a8724ff7a0 Merge pull request #22330 from overleaf/jdt-split-preview-charges
feat: splitting immediate charges into pre and post tax
GitOrigin-RevId: 67c96e7dbc4dbf0d73f62242b9710532f633dbef
2024-12-11 09:04:52 +00:00
Jimmy Domagala-Tang
0fc58be5fa Merge pull request #22410 from overleaf/jdt-enable-assistant-feature-overrides
Enable Error Assist on users w/ feature overrides

GitOrigin-RevId: 6a7359c9e91e1b5dcecf53d79e5975399df1c465
2024-12-11 09:04:48 +00:00
Thomas
d8840bfe7f Merge pull request #22433 from overleaf/tm-suspend-users-script
Add script for bulk account suspension

GitOrigin-RevId: 434ac819c12a2a33c26baf963d8d8874b1864928
2024-12-11 09:04:40 +00:00
Eric Mc Sween
ea96947df1 Merge pull request #22387 from overleaf/em-error-assist-paywalls
Make paywalls on standalone Error Assist redirect to interstitial page

GitOrigin-RevId: 1c6c0b314ca61af8aca8dc23cdc959fceafa13b2
2024-12-11 09:04:35 +00:00
Eric Mc Sween
5f11200f67 Merge pull request #22386 from overleaf/em-remove-v1-subscription-checks
Remove v1 subscription checks

GitOrigin-RevId: 32962e8a88e98c120c5c58a061f293205c14dc3a
2024-12-11 09:04:31 +00:00
ilkin-overleaf
fd89836e9f Merge pull request #22371 from overleaf/ii-remove-sales-contact-form-from-subscription-group-controller
[web] Add seats sales contact

GitOrigin-RevId: a1c5826cc775aa51f201e6cc30a1b2a4dda7ee2b
2024-12-10 13:09:46 +00:00
Domagoj Kriskovic
a038f451d4 Revert "Set track changes state permissions for reviewer role (#22345)" (#22431)
This reverts commit 6a03d2355b3fb7d7b755ed1d3ab1a080126cd2dc.

GitOrigin-RevId: 4e962bd9a547a9d6205460c9a8e9a0e835442be4
2024-12-10 13:09:42 +00:00
David
f1893fa03a Show coloured squares next to collaborator names (#22406)
* Change font to content-primary

* Add user colour blocks to comments/track changes

* Format

GitOrigin-RevId: a9186e9c7c95dfe134bee2f756245275cfa9ea24
2024-12-10 13:09:37 +00:00
David
97cdc290c3 Adapt review panel header with new reviewer role (#22291)
* Adapt review panel header with new reviewer role

* Remove duplicate css property

* Update position-items

GitOrigin-RevId: a2e8dac0c1d90e6d5b3f13769909cddd69b5db14
2024-12-10 13:09:33 +00:00
David
3433b8ba90 Add border to review panel (#22407)
GitOrigin-RevId: 8b5f683500056c31055597fd85dcb492960a5f6f
2024-12-10 13:09:28 +00:00
David
524d743d6c Double the max lenght of a comment before truncating (#22409)
GitOrigin-RevId: 8c4314d0b3567e7c4bd963dadf2eb698d3df3565
2024-12-10 13:09:24 +00:00