Commit Graph

4974 Commits

Author SHA1 Message Date
Antoine Clausse
dd11adfdc3 [web] Fix FileTreeModalCreateFile modal style on "too many files" error (#28995)
* Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`

* Remove unused CSS

* Move project_has_too_many_files Notification to the modal body

* Turn project_approaching_file_limit message into a Notification

* Update project_has_too_many_files translation with `fileCount.limit`

* Update other project_has_too_many_files with limit parameter

* Add translations for project_has_too_many_files_limit

* Revert "Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`"

This reverts commit 704996aa96c9ba592c7e44d165def0b97d30bed1.

* Fix unit tests

* Move the warning notification to the modal's body

---------

Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 0f54db7021e4cd4537a14e4f9e1d8ef54337778c
2025-10-15 08:07:16 +00:00
Mathias Jakobsen
a671c2e61b Merge pull request #28978 from overleaf/mj-visual-editor-broken-image
[web] Add image loading fallback screen to visual editor

GitOrigin-RevId: 205c6355011802672e57123bb2a61cb708242e31
2025-10-15 08:06:32 +00:00
Mathias Jakobsen
934f122170 Merge pull request #29028 from overleaf/mj-read-only-referencing
[web] Stop indexing references locally for read-only users

GitOrigin-RevId: ab29fb155de4223d585356d94068c082d89179bb
2025-10-15 08:06:28 +00:00
David
0c06885592 Merge pull request #28760 from overleaf/dp-hackathon-knip
Add Knip and remove a bunch of unused code

GitOrigin-RevId: 42ab99fc65973c883d2361e0027e7181767e714e
2025-10-15 08:05:57 +00:00
Alf Eaton
12b4e8fad0 Memoize some editor React components (#28963)
GitOrigin-RevId: 6440df9ac3ef1bf1839dff07eb2f55b52b581d3e
2025-10-15 08:05:48 +00:00
David
cb7f6d4692 Merge pull request #28979 from overleaf/dp-error-logs-buttons
Update dark mode states for some new editor error logs buttons

GitOrigin-RevId: be4cd036e9fc1bb05dbad476796750c9e0354edc
2025-10-14 08:05:56 +00:00
Davinder Singh
90b5589888 adding the new thank you message in contact us form (#28729)
GitOrigin-RevId: 8fe7f453b786eb30a6d479254afce9eeb442c276
2025-10-13 08:06:02 +00:00
roo hutton
9bc3b6a0f3 Merge pull request #28775 from overleaf/rh-dedupe-share-modal
Deduplicate emails when pasted in share modal

GitOrigin-RevId: 6c66b51fdbcc5ea3a24ea54523b5a47036fb3fb1
2025-10-13 08:05:41 +00:00
Jimmy Domagala-Tang
9963ff929e Rolling builds error logs notification (#28654)
* feat: allow for monthly tl builds experiment

* feat: add in-editor notification when rolling image has updated

* feat: add in-editor notification when rolling image has updated

* feat: allowing for different messages in experiment when user is optend in

* feat: add a banner notification in the error logs when the user is on the rolling build

* moving rolling check from context to util

* Update services/web/frontend/js/features/pdf-preview/components/rolling-build-selected-reminder.tsx

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: fb669db28a7194babb299413f20209e76dcbd351
2025-10-10 08:06:20 +00:00
Antoine Clausse
f28951e203 [web] Hide the "Project URL lookup" menu item for admins without view-project-setting (#28952)
the destination of that link (https://admin.stag-overleaf.com/admin/project) is blocked correctly already

GitOrigin-RevId: e94978d9fe77b3da3a5dab1dd2998beca6e26102
2025-10-10 08:06:02 +00:00
Alf Eaton
943af3cd6f Use path.resolve for resolving paths (#28905)
GitOrigin-RevId: 8f549b410ebf35e330a472fd4de1e3343747794e
2025-10-10 08:05:57 +00:00
Liangjun Song
531904df8c Merge pull request #28851 from overleaf/ls-collect-business-details-in-stripe-elements
Collect business details in Stripe Elements

GitOrigin-RevId: 5a3affd1916b2ba659e007a7c25f64879899fd1a
2025-10-09 08:08:28 +00:00
Alf Eaton
c7d06c00e2 Revert "Show tooltip immediately if a tooltip is already open (#28870)" (#28935)
This reverts commit 74950ea7e705acb8f42dea552b23ce93c66058c7.

GitOrigin-RevId: 346a947c420448becf294f0174937a5c256bf945
2025-10-09 08:08:14 +00:00
ilkin-overleaf
a809f679fd Merge pull request #28865 from overleaf/ii-domain-capture-join-success-message-edit
[web] Domain capture join group message edit

GitOrigin-RevId: 8949dff2e1d95dd978ee5e04165ad4cefe51b088
2025-10-09 08:07:26 +00:00
Mathias Jakobsen
86607be6b5 Merge pull request #28889 from overleaf/dp-reference-manager-cta-tweaks
Tweaks to reference manager paywall modal

GitOrigin-RevId: df41862ab99642c9b4e51c06429382692f75212d
2025-10-09 08:05:54 +00:00
Alf Eaton
3a757549e1 Show tooltip immediately if a tooltip is already open (#28870)
* Memoize delayProps
* Refactor Escape key handler
* Use useTooltipContext
* Remove delay: 0 from tooltips
* Only use isTooltipOpen if available
* Only show transition for initial tooltip

GitOrigin-RevId: 74950ea7e705acb8f42dea552b23ce93c66058c7
2025-10-09 08:05:49 +00:00
Mathias Jakobsen
366b997fe7 Merge pull request #28871 from overleaf/mj-recompile-setting-changed-add-missing
[web] Add missing events for changing compile-related settings

GitOrigin-RevId: b2ccb4c8f0f3920762d6e69ccb537ae9bedb0281
2025-10-09 08:05:36 +00:00
Mathias Jakobsen
e96754a03b Merge pull request #28893 from overleaf/mj-linter-brace-check
[web] Allow braces in documentclass options

GitOrigin-RevId: 9675d3fc760a3b7d402c5a9df57a0cf183a1e648
2025-10-09 08:05:31 +00:00
Alf Eaton
2c95b64bb6 Ensure that invalid search regexp is correctly highlighted (#28724)
GitOrigin-RevId: f122e2ea649d8cbfa984ddad0b7424aa96bd015a
2025-10-07 08:06:40 +00:00
Alf Eaton
f1ccad770b Merge pull request #28733 from overleaf/ae-tooltip-delay
Honour `delay: 0` in tooltip config

GitOrigin-RevId: d69f3cb055b79c3335d4220f2d91a44e93bc47b3
2025-10-07 08:06:36 +00:00
Simon Gardner
3162078ebb Improve UX for entering multi-digit quantities in Buy More Licenses feature
GitOrigin-RevId: c51e2146dbb53144e6951a16f7162ba2d10c5c4e
2025-10-07 08:05:55 +00:00
Domagoj Kriskovic
494ffdcd56 [web] When main document is not set open last selected file (#28737)
* [web] if root doc is not found, open last selected file

* call openInitialDoc even without rootdocid

GitOrigin-RevId: fe629482c1827c6205d5cf2de497e593110bd36e
2025-10-07 08:05:47 +00:00
Kristina
a2783cbfc4 [web] redirect offsite payment failures back to checkout (#28778)
GitOrigin-RevId: 528cc1fa916ac9ec7b2e12d4224f25798253b5a9
2025-10-02 08:06:35 +00:00
Domagoj Kriskovic
7a46cb5c03 Support for deleting and editing chat messages (#28204)
* Initial server-side delete of chat message plus dropdown

* Update chat pane after deleting message

* Chat message dropdown styling

* Add confirmation dialog for deleting a message

* Refactor chat message grouping to allow deletion of individual messages

* Delete other user's deleted message from chat pane

* Implement message editing

* Styling

* Make the dropdown appear overlap with the button slightly so that the menu stays visible when the user moves their cursor into the menu when the menu is positioned above the button

* Submit edit with Enter key

* Add edited indicator to edited chat messages

* Add animation to chat message deletion

* Tidying, edit chat message textarea improvements

* Add types to message-list-utils

* update dependencies

* edit/delete for ide-redesign

* fix type errors in tests

* filter deleted messages from group

* promisify ChatController

* fix tests and translations

* add new tests

* chat-context tests

* fix message-list-appender tests

* add new tests for message-list-utils

* Update services/web/test/frontend/features/chat/context/chat-context.test.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* preserve original content when canceling edits

* update delete message translation

* hide dropdown only if not already shown

* remove delete animation

* fix lint error

* fix chat.yaml

* hide under feature flag

---------

Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GitOrigin-RevId: 12521886a1a59ccd564851df19e5d46c70d328f5
2025-10-02 08:05:58 +00:00
jmescuderowritefull
7c0ac48c0d Clean extension checks and old feature flags in Writefull (#28713)
GitOrigin-RevId: c1949019f1f51add7fd036a1ad0e2946ccab5382
2025-10-01 08:06:07 +00:00
Borja
567ea2343b Change suggestion-click event listener to avoid duplications (#28756)
GitOrigin-RevId: 4feac33ee530f768397a9097e96400ff25d70e5c
2025-10-01 08:06:02 +00:00
Kristina
0211c718b2 [web] add translated error messages to Stripe custom checkout (#28730)
GitOrigin-RevId: 06a1e15decdb5f557e68f73cba2ed5ad37fecdac
2025-09-30 08:06:18 +00:00
Rebeka Dekany
e8e39ab6d8 Remove duplicated story (#28751)
GitOrigin-RevId: 85c210b8240c46c08eead1d1b357724e50bcc756
2025-09-30 08:05:58 +00:00
David
d6eade3518 Merge pull request #28684 from overleaf/dp-syntax-checks-casing
Fix casing of "Syntax checks" in compile menu

GitOrigin-RevId: d81f54ff34f9c8a95e679970c1cd16b3dfc355c0
2025-09-30 08:05:53 +00:00
David
f021b92e51 Merge pull request #28675 from overleaf/dp-pdf-preview-output-files-typescript-2
Convert output-files.js to typescript

GitOrigin-RevId: 32eb509f491cfd53de7f1b21b97861ba421566a5
2025-09-30 08:05:45 +00:00
Rebeka Dekany
8d3c0d819b Consistent usage of the modal header close button (#28681)
* Convert OLModal to named exports only

* Make closeButton the default for OLModalHeader

* Set `closeButton={false}` for modal that is not dismissible

* Fix duplicated imports

* Remove another unnecessary `closeButton` prop

* Fix import

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: ddd7be6e59a966ac634683d2494d6e9d2c3732e6
2025-09-30 08:05:24 +00:00
Kristina
012ed43b5a [web] style Stripe custom checkout page (#28704)
* [web] style Stripe custom checkout page

GitOrigin-RevId: f3708e391c0d8f49919d31cdfc92b10066868b6e
2025-09-29 08:07:18 +00:00
Liangjun Song
e075cc5132 Merge pull request #28586 from overleaf/ls-dropdown-to-select-segment
Add dropdown in admin panel for finance to set customer segment

GitOrigin-RevId: 3f730bc71b839ed97fa6ce867a25d44c06e60e2f
2025-09-29 08:05:57 +00:00
Miguel Serrano
448aea4c82 Merge pull request #28631 from overleaf/msm-group-audit-log-filter
[web] Group Audit Log filter/pagination

GitOrigin-RevId: 440ad8bef3d1734613884a4e252350eee603af27
2025-09-26 08:05:59 +00:00
Rebeka Dekany
aedff1039e Update loading spinner status (#28177)
* Update test for the loading spinner component

* Create a story for the loading spinner component

* Move role and use CSS for spacing instead

* Add a classname prop

* Reuse LoadingSpinner

* Use OLSpinner instead of Spinner

* Use data-testid since status role was moved

* Wait for journals to load

* Use `isLoading` prop instead and fix the button's height

* Use `isLoading` prop instead

* Use LoadingSpinner instead and remove spacing

* Update test for the loading spinner component

* Use `isLoading` prop instead

* Add aria-describedby to layout button for processing state

* Replace `spinner` to `ol-spinner`

* Scope status

* Remove redundant `div.loading`

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: 8f43b991f8f458b2abd5a4661913ac9b972d892a
2025-09-26 08:05:46 +00:00
Rebeka Dekany
b61c7f9259 Improvement to OLButton loading labels (#28659)
* Create eslint rule for requiring loadingLabel prop when isLoading is specified on OLButton

* Add `loadingLabel` props for OLButton components with `isLoading`

* Clarify loading label and button loading state

GitOrigin-RevId: 89279d5b4c346f9c3b67a59d0db822a2ff04314a
2025-09-26 08:05:41 +00:00
Davinder Singh
760555e5e8 Introducing group discount banner on plans page (#28666)
* adding placeholder mixin for the group discount banner

* adding desktop version

* adding mobile size screen content

* format:fix

* adding variable

* adding new copy

* moving the mixin in the correct place

* adding translations and lint:fix

GitOrigin-RevId: 23e72ffd5d25b474fa3bbbde396dc7a75748fb48
2025-09-26 08:05:36 +00:00
jmescuderowritefull
68d208ae69 Include Fake Door Test infrastructure in Writefull with text-to-speech test (#28602)
GitOrigin-RevId: 5e52f6c0d3ea5001855408a13be4813023d5fdb7
2025-09-25 08:05:58 +00:00
Rebeka Dekany
43737e928f Update Storybook controls for shared component stories and add Figma links for preview (#28634)
* Rename ui to shared

* Delete unused Switch component

* Update stories with Figma links

* Update Tag story naming for clarity

* Update Toggle button story naming for clarity

* Move shared components to the shared folder

* Remove file as part of TS migration

* Migrate jsx to tsx

* Remove file as part of TS migration

* Migrate jsx to tsx

* Include necessary controls only

* Auto SF

GitOrigin-RevId: d2458eeffa7a6b67ce522c3ccb6b4f71e5e76d62
2025-09-25 08:05:53 +00:00
Jimmy Domagala-Tang
e797d746b4 Allow for different content in opted in/ out experiments (#28530)
* feat: allowing for different messages in experiment when user is opted in

GitOrigin-RevId: 7b4254be6cf8147399010053d5a2a4cf9bb8f342
2025-09-25 08:05:44 +00:00
Jimmy Domagala-Tang
e05907ccc0 feat: add in-editor notification when rolling image has updated (#28529)
GitOrigin-RevId: 771773ba1914ef609b6ac84799bdda2d7ae4affa
2025-09-25 08:05:39 +00:00
ilkin-overleaf
dfd6c8b007 Merge pull request #28522 from overleaf/ii-domain-capture-create-user-notification
[web] Success message when linking to group with domain capture

GitOrigin-RevId: 2abf29b486da5043c9f207b8f1f741a3c3ee54ab
2025-09-24 08:06:29 +00:00
David
5bb998df22 Merge pull request #28638 from overleaf/dp-new-user-cutoff
Update NEW_USER_CUTOFF_DATE for editor redesign split test

GitOrigin-RevId: 15027b191b39f8b9225802bd1c83bc09fa946c4f
2025-09-24 08:05:29 +00:00
David
5bc4af9311 Merge pull request #28646 from overleaf/dp-link-contrast
Fix link contrast in new editor error logs

GitOrigin-RevId: 170543d7aeae84e9c4db320adc2a1e2a2c4e22fa
2025-09-24 08:05:24 +00:00
Jessica Lawshe
431e850dc8 Merge pull request #28373 from overleaf/jel-testing-session-for-domain-capture
[web] Testing domain capture before enabling

GitOrigin-RevId: 6ac62b39eedad613748a680aa26624126db8e1c1
2025-09-23 08:08:04 +00:00
David
b3478ab26b Merge pull request #28626 from overleaf/dp-scroll-to-ai
Add setTimeout to scrolling to ai suggestedfix on gutter click

GitOrigin-RevId: 83663b7b7ee599aad689aee5f5526631a811829c
2025-09-23 08:06:11 +00:00
David
c4a20881f1 Merge pull request #28632 from overleaf/dp-detached-logs-icon-color
Fix logs color in detached pdf mode for new-logs/old-position

GitOrigin-RevId: 335ae2d2db5492a390921adc2cb225097d4b9b4d
2025-09-23 08:06:06 +00:00
David
693af6da8a Merge pull request #28630 from overleaf/dp-detached-pdf-errors
Add fileTreeData checks to FileTreePathProvider

GitOrigin-RevId: 8c4701d9dc02ac30346d82f813f821c8561f98ed
2025-09-23 08:06:01 +00:00
Davinder Singh
805707aa14 Onboarding Data Collection - Adding new translations text (#28587)
* adding new translations

* removing the .

* adding the correft quote ’

* changing an e2e test

* changing translation key

GitOrigin-RevId: 099a633dca177ea1d14d055109a24eaa71ba0994
2025-09-23 08:05:48 +00:00
David
19a495e7e3 Merge pull request #28608 from overleaf/mj-fix-redesign-css-in-detached-pdf
[web] Use wrapping div for detached PDF when using redesigned editor

GitOrigin-RevId: f8f7b395dbe5a627804da10218f4de9d5ac76348
2025-09-23 08:05:38 +00:00