Commit graph

2896 commits

Author SHA1 Message Date
M Fahru
16e65edd0d Merge pull request #21995 from overleaf/mf-disable-footer-tooltip-if-element-is-not-available
[web] Only trigger footer tooltip if target element is available

GitOrigin-RevId: e0aff735243369a0d2180174231951054f1ee533
2024-11-21 09:05:30 +00:00
M Fahru
21f930f73b Merge pull request #21990 from overleaf/mf-payment-page-view-segmentation
[web] Add new segmentation for `payment-page-view` event

GitOrigin-RevId: ed15ab83edc8a0642d3cec803c59a4a4437740ea
2024-11-21 09:05:23 +00:00
Alf Eaton
bc310ddd1e Revert "Allow position of review tooltip to be calculated automatically (#21803)" (#22022)
This reverts commit 7d285a9c76032a3238422e15a73ae4b819612b31.

GitOrigin-RevId: 792391619bd6f2a9483428088c31ece09a441b33
2024-11-21 09:05:12 +00:00
Jimmy Domagala-Tang
71112d2fdc Merge pull request #21938 from overleaf/jdt-checkout-success-add-on-wording
[Web] Adapt post checkout page for add-ons

GitOrigin-RevId: ee3ee28820f65977600a5aa47d85365148233bac
2024-11-21 09:05:01 +00:00
Eric Mc Sween
6e39885fde Merge pull request #21959 from overleaf/em-redeploy-ai-add-on-prs
Redeploy AI add-on PRs

GitOrigin-RevId: d234ac0862947e9ea8926055ad205e32a456dd2e
2024-11-21 09:04:57 +00:00
Antoine Clausse
e576ffd63c [web] Hide pdf-log-entry-content when empty + fixup search "count" color (#21977)
* Hide `PdfLogEntryContent` when there is no content

* Fixup in search "count": `--ol-blue-gray-4` doesn't exist in SCSS

* Update `AiErrorAssistant` with a `shouldRender` export, allowing to hide the element from the caller

* Revert "Update `AiErrorAssistant` with a `shouldRender` export, allowing to hide the element from the caller"

This reverts commit 01812fa2b108b94c99d250c9a39e4f3c41b36781.

* Hide .log-entry-content when empty, using CSS

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

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: c5096b362600058535bd645cf11dad255e941fb9
2024-11-21 09:04:34 +00:00
Antoine Clausse
485bccebef [web] Update loading spinner in IDE for BS5 (#21970)
* Update `LoadingPane` with `LoadingSpinner`

* Remove unused file no-open-doc-pane.tsx

* Remove translation `open_a_file_on_the_left`

GitOrigin-RevId: 9045443de6aaf19b1d4bf82cd2be3ba91ee53bf1
2024-11-21 09:04:31 +00:00
Antoine Clausse
9e745ed7ae [web] Tear down Bootstrap 5 project dashboard feature flag (#21820)
* Remove `BootstrapVersionSwitcher`

* Remove `bsVersion`

* Remove `bootstrap-5-project-dashboard` from code

* Fix frontend test

* Fixup classname `"me-auto"`

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

* Rename `handleClickBS5` to `handleClick`

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

* Remove `bs3Props` from `project-list/components`

* Remove translation: `joining`

* Set `isBootstrap5()` to true in test, and update

---------

Co-authored-by: Tim Down <tim.down@overleaf.com>
GitOrigin-RevId: 94005bc8636c9235253758b8ac18a732ee1dbd77
2024-11-21 09:04:27 +00:00
Alf Eaton
2304e6d32b Upgrade Lezer dependencies (#21987)
GitOrigin-RevId: 5eb834bb1144c499ea29539750f1b73edeeff2f8
2024-11-21 09:04:03 +00:00
Alf Eaton
598ccab8b4 Allow position of review tooltip to be calculated automatically (#21803)
* Remove view from textSelectedEffect
* Upgrade @codemirror/view to 6.34.3

GitOrigin-RevId: 7d285a9c76032a3238422e15a73ae4b819612b31
2024-11-21 09:03:59 +00:00
Miguel Serrano
a5f38a8663 Merge pull request #21683 from overleaf/msm-sso-admin-checkbox
[web] Change Group SSO radio in admin panel to checkbox

GitOrigin-RevId: c4a07400c6f399724be0368108be24ec6df67efa
2024-11-21 09:03:52 +00:00
Miguel Serrano
3e0428d450 Merge pull request #21884 from overleaf/msm-remove-group-sso-enabled-flag
[web] Cleanup `GROUP_SSO_ENABLED` env variable

GitOrigin-RevId: b41ce989348c70c3b4ca59ebf4986edf059534aa
2024-11-21 09:03:43 +00:00
Domagoj Kriskovic
99f77b2205 Fixed "Add comment" tooltip if cursor is out of viewport (#21852)
* Fixed "Add comment" tooltip if cursor is out of viewport

* account for cm-line padding when calulation tooltip pos

GitOrigin-RevId: f4b69a3bf83dd15c0304bfd6b37f3be8b07cd727
2024-11-20 09:05:00 +00:00
Eric Mc Sween
ab36c80a26 Merge pull request #21954 from overleaf/em-revert-ai-add-on-deploy
Revert faulty AI add-on deploy

GitOrigin-RevId: 923ec89f01d4951596f83fcf58b820c39db1e54a
2024-11-19 09:05:27 +00:00
Eric Mc Sween
d84d4dd093 Merge pull request #21937 from overleaf/em-total-per-year
Display "Total per year" for annual subscription change previews

GitOrigin-RevId: 90e6cd6ccc9f442b6ce1ec27f539202d2b6a7796
2024-11-19 09:05:14 +00:00
Eric Mc Sween
424fd5b591 Merge pull request #21839 from overleaf/em-subscription-change-preview-premium
Subscription preview for users with standalone AI add-on

GitOrigin-RevId: 636fa5aca8538bb95e79040d5c309dc505cfb17a
2024-11-19 09:05:09 +00:00
Eric Mc Sween
34fa1e12e7 Merge pull request #21898 from overleaf/em-ai-add-on-checkout-page
Adapt checkout page to standalone AI add-on

GitOrigin-RevId: ed877bc10c1dd4362c981000e0d783e370f3593a
2024-11-19 09:05:04 +00:00
Jessica Lawshe
5c63188200 Merge pull request #21832 from overleaf/jel-search-badges
[web] Add tooltips when needed on badge links in gallery search results

GitOrigin-RevId: edcdcf8134698f17f607e003627a8b4123519b0b
2024-11-18 09:06:22 +00:00
Alf Eaton
36acad4d1b Rename $SectioningCommand to $SectioningCtrlSeq or $Section (#21534)
GitOrigin-RevId: 5b3173d82ec4c00fe69e2ab059bf48a872a4ca3e
2024-11-18 09:04:51 +00:00
Alf Eaton
2dee905361 Merge pull request #21535 from overleaf/ae-grammar-grouping
* Move $MathContainer grouping into the LaTeX grammar
* Remove $Environment grouping from NodeProp.group

GitOrigin-RevId: 96c74edd818bf84acf4b492702864c3c71a9bee3
2024-11-18 09:04:46 +00:00
Alf Eaton
79164f90d7 Fix "autocompile disabled" error in PDF preview (#21876)
GitOrigin-RevId: 3a7360b5d38614acf20353bd9bcdce8558472289
2024-11-18 09:04:41 +00:00
M Fahru
9dba1ccd8f Merge pull request #21854 from overleaf/as-checkout-name-fields
Add new Name fields for Checkout Redesign

GitOrigin-RevId: 448084e026a86510efe3c76c6663c0a770c24f8e
2024-11-15 09:06:07 +00:00
M Fahru
e588b0748a Merge pull request #21728 from overleaf/as-checkout-currency-switcher
Add Bootstrap 5 Redesign variant of currency selector

GitOrigin-RevId: f0f4176f7d51835a7e15324be7cfcaab0af5bf36
2024-11-15 09:06:04 +00:00
Antoine Clausse
c89002f1b8 [web] Migrate TPR promotions and form to BS5 (#21810)
* Update TPR promotions to BS5

* Remove unused class names

* Add responsive visibility in BS5

* Fix `OLFormControl` as `OLFormSelect`

With this update, it fixes the Select when importing from Mendeley or Zotero, in BS3 and BS5

* Use spacing variables in SCSS

GitOrigin-RevId: 8dd0e52a1674114bb3dc38fc4e3958a9c17ad5ac
2024-11-15 09:05:45 +00:00
Antoine Clausse
bf26ef58a2 [web] Migrate "Manage Template" option in editor left menu to BS5 (#21799)
* Update manage template modal to BS5

* Update `ManageTemplateButton` to BS5

* Update `OLFormControl` prop types so it has its `as` props

* Update `LeftMenuButton` to BS5

* Fixup linting

* Update `ManageTemplateModalBody` style:

* Bold label
* Correct rows in BS3

* Set spinner color to `text-muted` instead of blue

* `npm run format:fix`

GitOrigin-RevId: c5311e4786b2859a8b7cf567d19cd3d7614dd3db
2024-11-15 09:05:37 +00:00
Antoine Clausse
629435e87a Replace className="secondary" by variant="secondary" (#21672)
GitOrigin-RevId: a45532c2b4e927c3cc3a771eaf185ced4650f94c
2024-11-15 09:05:29 +00:00
Antoine Clausse
1d4737ac69 [web] Changes to recompile button in Bootstrap 5 (#21586)
* Add Story for `PdfCompileButton`

* Set the CompileButton height so it's similar to BS3

* Add the CompileButton animations

* Remove `sm` from CompileButton: makes font size bigger

* Use MaterialIcon in compile-button dropdown-toggle

* Use MaterialIcon in LayoutDropdown

* Fix stripe alignment on Recompile button

* Set padding around dropdown caret

Per Alexandru's instructions

* Prevent border from disappearing on hover

* Set the padding of the compile button even on both sides

Before: left 12px, right 16px;
After: left 16px, right 16px;

* Change px values to spacing var

* Add some button classes for BS5 only

* Don't render the hidden "Compiling…" in BS5, it changes the button width

* Prevent `loading="[object Object]"` in the DOM

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

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 34f1eed03e63f3459243a37c878612a623f321f8
2024-11-15 09:05:25 +00:00
Eric Mc Sween
571454bd71 Merge pull request #21745 from overleaf/em-subscription-change-preview-pay-now
Implement Pay Now button from the subscription change preview page

GitOrigin-RevId: b4b2835ecd366082af6b692b5e859f36091f98be
2024-11-15 09:05:00 +00:00
Tim Down
daaff1d9c6 Merge pull request #21815 from overleaf/td-bs5-references-search
[BS5] Migrate references search modal

GitOrigin-RevId: 65496840e32af09e5ae7351aa1789ebf5cac5083
2024-11-15 09:04:42 +00:00
Jimmy Domagala-Tang
d93299d47d Merge pull request #21741 from overleaf/jdt-assist-paywall-routing
Direct users to the correct assistant add-on checkout

GitOrigin-RevId: 884d6e68458bc8f27ce79a4849f580a9ec0997fb
2024-11-14 09:05:36 +00:00
Jimmy Domagala-Tang
19dc975e3a Merge pull request #21699 from overleaf/jdt-hide-cancel-addon-when-cancelled-already
[Web] Handle add-on cancellation states on subscriptions page

GitOrigin-RevId: 2b834df6747560d54b7dc22e3870ee7a7e236498
2024-11-14 09:05:32 +00:00
Jimmy Domagala-Tang
ad634c7e88 Merge pull request #21692 from overleaf/jdt-premium-secondary-button
Add premium-secondary button style

GitOrigin-RevId: 79ac9004a0b081eb1e7ac2af88ca1f976b997fe0
2024-11-14 09:05:19 +00:00
Domagoj Kriskovic
8a90ffa3fb Add confirm modal on accept/reject selected changes (#21540)
* Add showGenericConfirmModal in ModalsContext

* Add confirm modal on accept/reject selected changes

* plural in translations

* change tooltip to include selected changes

* add _plural to all translated languages

* lowercase title/tooltip

* count replacements as single change

* use new translation key

GitOrigin-RevId: afadbe1eeb2a290688b96f2b5388485f40c958d0
2024-11-12 09:06:01 +00:00
Domagoj Kriskovic
edb4e3d537 Improve selection detection for "Add comment" tooltip (#21731)
GitOrigin-RevId: cd13cacea0d6e45015997f3a831d0f127ddf8cd8
2024-11-12 09:05:57 +00:00
Alf Eaton
76c7c3e28e Fix dirtyState handling in ranges context (#21724)
GitOrigin-RevId: 44f3aa9efc6dbd0d34a2b0440054197398a62caf
2024-11-12 09:05:42 +00:00
Alf Eaton
66fee7a794 Only use the LaTeX indent service for when inserting a line break (#21530)
GitOrigin-RevId: 15c5e5afdee59badc833fe2deb13a80b3c409862
2024-11-12 09:05:30 +00:00
ilkin-overleaf
6345ec3b04 Merge pull request #21712 from overleaf/ii-flexible-group-licensing-confirmation-page
[web] Request confirmation page for flexible licensing

GitOrigin-RevId: 855dcbd46c645da75b8c641f0c49670b2e04df3f
2024-11-12 09:04:35 +00:00
Jessica Lawshe
aa782b2737 Merge pull request #21733 from overleaf/jel-tooltip-badges
[web] Fix tooltips not always added to badge links

GitOrigin-RevId: d4e80f3bb62bce2083dec261ffd5634510310127
2024-11-11 09:05:26 +00:00
Domagoj Kriskovic
8b0b923063 Fix "show more/less" options in new review panel (#21700)
* Fix "show all/less" options in new review panel

* added newLineCharsLimit, inline options

* fix scss lint

GitOrigin-RevId: 98f29c76d4efda225515162cde0961e55acd5545
2024-11-11 09:05:21 +00:00
Mathias Jakobsen
595c60327e Merge pull request #21737 from overleaf/dp-eq-preview-beta-badge-v2
Update split test badge for math preview tooltip V3

GitOrigin-RevId: 9ff41f5bc68ba6cd4d7a1c7e8d5f1f725369c02a
2024-11-11 09:05:17 +00:00
Mathias Jakobsen
cb72799fff [web] Add toast notifications to editor (#21567)
GitOrigin-RevId: 7f7ab83d4615f564c0e79bc2a05ca6cb9e5239fd
2024-11-11 09:05:12 +00:00
Rebeka Dekany
4563273396 Merge pull request #21680 from overleaf/rd-dyslexic-font
Add OpenDyslexic Mono typeface font to the source editor

GitOrigin-RevId: 8826e51cfa50f1d5ffc2217fb86fb4d1dec21b92
2024-11-11 09:04:42 +00:00
Antoine Clausse
5462fcd128 [web] Set layout-react in Subscription pages (#21529)
* Update `User` type

* Set `layout-react`: `subscriptions/successful-subscription-react`

* Set `layout-react`: `subscriptions/canceled-subscription-react`

* Set `layout-react`: `subscriptions/dashboard-react`

* Set `layout-react`: `subscriptions/team/invite-managed`, `subscriptions/team/invite`, `subscriptions/team/invite_logged_out`

* Set `layout-react`: `subscriptions/team/group-invites`

* Add `header-footer-react` to subscription/base.js

* Fix: Replace `date-type` by `data-type`

* Fix SubscriptionControllerTests

GitOrigin-RevId: b9049a9093a700b3be1bf33809e3a1494022350a
2024-11-11 09:04:32 +00:00
Antoine Clausse
59a1cc2c7a Merge pull request #21718 from overleaf/td-bs5-nav-logged-out
[BS5] Add missing logged-out items to React nav bar

GitOrigin-RevId: 3dc681dcac46cdb68675f6034be56e2b96292c32
2024-11-11 09:04:21 +00:00
Antoine Clausse
455fbd8cc3 Update loading spinner in Chat (#21624)
GitOrigin-RevId: 6af510b7e229249dd5192ceba2ec88e95339cab5
2024-11-11 09:04:16 +00:00
Domagoj Kriskovic
83bed793f5 Add sort:true when updating decorations for delete highlight (#21715)
GitOrigin-RevId: afd5aed5a4ea1ff7f9439155b5150b23666b0cc7
2024-11-08 09:06:28 +00:00
Domagoj Kriskovic
72f03b39c6 Hide "add comment" tooltip on mouse down (#21721)
* Hide "add comment" tooltip on mouse down

* using EditorView.domEventHandlers

GitOrigin-RevId: 48b7626d5c1be8a3fb0b1ee1fcc1bc7738f8dbc5
2024-11-08 09:06:23 +00:00
Jessica Lawshe
ce8781e79f Merge pull request #21694 from overleaf/jel-tooltip-when-needed
[web] Only add tooltip to badge links if badge is clipped

GitOrigin-RevId: c99f3f0732ed6e8112c1af1063f64bcab152b00d
2024-11-08 09:06:19 +00:00
David
637185025f Merge pull request #21722 from overleaf/dp-revert-badge-changes
Revert "Merge pull request #21687 from overleaf/dp-eq-preview-beta-ba…

GitOrigin-RevId: 8347b1bc3b02194bf5c2c657fc85ebefb3b0cf3a
2024-11-08 09:06:01 +00:00
Rebeka Dekany
a0a164c4d0 Merge pull request #21709 from overleaf/rd-fix-command-tooltip-size
[web] Fix href command tooltip width in the editor

GitOrigin-RevId: d76e5961bd97ca16e47aa6b1eda68f4488caff69
2024-11-08 09:05:35 +00:00