Commit Graph

2211 Commits

Author SHA1 Message Date
Eric Mc Sween
737d1599c3 Merge pull request #21897 from overleaf/jdt-assistant-events
Ai Error assistant events

GitOrigin-RevId: c70e5cecbc220fdfc63512680a76616dbd631c86
2024-11-28 09:06:15 +00:00
Tim Down
8d678b3840 Merge pull request #21971 from overleaf/td-ds-nav-split-test
Add split test for DS unified nav

GitOrigin-RevId: d649661568f9c1de9d2fe47f4491540e80830ab3
2024-11-28 09:05:39 +00:00
Tim Down
e03bdc7b34 Merge pull request #21955 from overleaf/rd-bs5-loading-button
Buttons should not be interactive when they are disabled

GitOrigin-RevId: 2b8b1e8b317dc3b62200b48dac66df7eff8a7268
2024-11-28 09:05:35 +00:00
Mathias Jakobsen
dd2c0d1fcc Merge pull request #22168 from overleaf/mj-rm-events
[web] Add events when refreshing linked file and importing RM entry

GitOrigin-RevId: b9efcd1893f0a78a33ec325b306eccbaa44a77fe
2024-11-28 09:05:26 +00:00
Domagoj Kriskovic
a8c9b897f1 Fix history label timestamp used in restore file (#22068)
GitOrigin-RevId: 24e3b005664cecc017b610812cb4c666dfb55290
2024-11-28 09:05:18 +00:00
Alf Eaton
9b5929960e Use --font-sans in the Visual Editor widgets (#22085)
GitOrigin-RevId: 64a480562b3e7d2fda7d41ed402511290f800f14
2024-11-28 09:04:54 +00:00
Tim Down
9e1729c2e6 Merge pull request #22147 from overleaf/td-bs5-beta-badge-special-cases
Alpha/beta badge fixes and change warning badge colours in Bootstrap 5

GitOrigin-RevId: f60610572c62607db7e5cf349c5791c3519c74ed
2024-11-27 09:05:04 +00:00
Tim Down
4f929729d2 Merge pull request #22089 from overleaf/td-bs5-menu-item-reduce-height
Reduce the height of menu items in BS5 to 36px

GitOrigin-RevId: 0d6294f1713618bc97562c92ea877aaeac8b9698
2024-11-26 09:05:25 +00:00
Mathias Jakobsen
d52a98ee3a Merge pull request #22087 from overleaf/mj-index-on-wc-rm-entry
[web] Re-index references after adding a RM entry with Write and Cite

GitOrigin-RevId: 6b2a93143486079dfc82af393e2c5621fed7a4ee
2024-11-26 09:05:08 +00:00
Eric Mc Sween
ecf09faecb Merge pull request #22024 from overleaf/em-standalone-ai-add-on-is-not-premium
Do not hide upgrade buttons when on standalone AI add-on

GitOrigin-RevId: ec5cf42c051745d5ca1dff57f7cd27a89c21a6a9
2024-11-26 09:04:57 +00:00
Alf Eaton
dcb3d05c3a Record events for shortcut usage (#22062)
GitOrigin-RevId: ff85e0719fca24a3723ea62119fa254226cd65c0
2024-11-26 09:04:37 +00:00
Alf Eaton
503926036c Move tooltip styles to EditorView.theme (#22069)
GitOrigin-RevId: b4495732d8f72f18b00f32fe952251391258f5d6
2024-11-26 09:04:33 +00:00
Eric Mc Sween
240c992dd1 Merge pull request #22030 from overleaf/em-subscription-change-pay-now-button
Implement the Pay Now button for upgrades to premium from the AI add-on

GitOrigin-RevId: 06e00662b877308c64ce5feaa5ce8f80f8f1b552
2024-11-25 09:05:11 +00:00
Domagoj Kriskovic
2c6dd4e56b Fix onKeyPress listener in AutoExpandingTextArea (#22040)
GitOrigin-RevId: 3fe870fe3aa16e6ed212ea4347a31e57444ad5e6
2024-11-22 09:05:51 +00:00
Domagoj Kriskovic
2226cfd233 Add "accept-changes" socket listener in ranges context (#22048)
GitOrigin-RevId: 0be5f3be1806aad29f44eec2e596af51e65263e7
2024-11-22 09:05:42 +00:00
Alf Eaton
cb60dbbb87 Merge pull request #22055 from overleaf/ae-restore-review-tooltips
Reapply "Allow position of review tooltip to be calculated automatically (#21803)"

GitOrigin-RevId: b6dff2d12627b04ff1859bd4765be01670256aa4
2024-11-22 09:05:33 +00:00
Liangjun Song
6cb4e5c388 Merge pull request #21782 from overleaf/ls-update-group-member-management-page
update group member management page for flexible licensing

GitOrigin-RevId: 605fb760a1f73763e49978cf4aea81bb88ffb425
2024-11-22 09:05:21 +00:00
Liangjun Song
b691c26e59 Merge pull request #21957 from overleaf/ls-compute-immediate-charge-for-subscription-update
compute immediate charge for subscription update

GitOrigin-RevId: 4e5162660b26e6e9db69827a59aa8e0048fa7d5d
2024-11-22 09:05:12 +00:00
Kristina
3e6df67506 [web] Use btn-secondary on compile timeout notification (#21949)
* [web] Use btn-secondary on compile timeout notification
* fix update to wrong variant

GitOrigin-RevId: 9745ae17525e835c96f62471aa24a8ae9a1e7e93
2024-11-22 09:04:49 +00:00
M Fahru
023af061f0 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
Alf Eaton
abf6d27ee1 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
9bf8124e6f 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
63c20826da 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
7c8362c508 [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
439ee65121 [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
4579aba8df [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
675c3785e3 Upgrade Lezer dependencies (#21987)
GitOrigin-RevId: 5eb834bb1144c499ea29539750f1b73edeeff2f8
2024-11-21 09:04:03 +00:00
Alf Eaton
b41ccff57e 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
d080218d96 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
2d122323eb 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
a0a9ae1ef4 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
bf073279f7 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
45e5b1067e 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
9fbcf1666f 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
bd1120b2c2 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
10ac4c8185 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
1a7f7d3731 Rename $SectioningCommand to $SectioningCtrlSeq or $Section (#21534)
GitOrigin-RevId: 5b3173d82ec4c00fe69e2ab059bf48a872a4ca3e
2024-11-18 09:04:51 +00:00
Alf Eaton
126182ff06 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
3dc8f971ae Fix "autocompile disabled" error in PDF preview (#21876)
GitOrigin-RevId: 3a7360b5d38614acf20353bd9bcdce8558472289
2024-11-18 09:04:41 +00:00
M Fahru
c85578848a 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
8d846881f0 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
9080f042bd [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
b31529bf61 [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
5b61fabfef Replace className="secondary" by variant="secondary" (#21672)
GitOrigin-RevId: a45532c2b4e927c3cc3a771eaf185ced4650f94c
2024-11-15 09:05:29 +00:00
Antoine Clausse
f49c89c99b [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
0b74ffa242 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
3f51f3bfff 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
6e02d2d5d8 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
32973a5b59 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
199ee41c23 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