Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Jessica Lawshe
cbe5cefb9a
Merge pull request #18161 from overleaf/jel-subscription-dash-admin
...
[web] Subscription dash message when viewing as admin
GitOrigin-RevId: 699a523d7ac8d1a71e9ba14c7b8a66b39142958a
2024-05-31 08:04:23 +00:00
Antoine Clausse
2f99e3ccf1
Add autoComplete="off"
to React-controlled checkboxes ( #18212 )
...
Fixes https://github.com/overleaf/internal/issues/18144
Browsers use a [bfcache](https://web.dev/articles/bfcache ) (Back/forward cache) which restores form data on navigation. Unfortunately, it causes checkbox appearances not to respect our React states.
Setting `autoComplete="off"` on checkboxes mitigates this problem. (From https://stackoverflow.com/questions/299811/why-does-the-checkbox-stay-checked-when-reloading-the-page )
Another solution could be to set a `Cache-Control: no-store` header, but this might additionnal undesired consequences.
GitOrigin-RevId: 7d3cceb1c818ad70de7e806ea6d714ffc8bffb4a
2024-05-06 08:04:39 +00:00
Antoine Clausse
6a6f155029
[web] Use React hooks to get split-test variants instead of getSplitTestVariant
(getMeta
) ( #18133 )
...
* Fix split-tests loading in React component: use `useSplitTestContext` instead of `getSplitTestVariant`
* Replace use of `isSplitTestEnabled` by `useSplitTestContext`
* Add SplitTestProvider to roots, and fix tests
* Create `useFeatureFlag` hook
* Use `useFeatureFlag` where applicable
GitOrigin-RevId: 9ff7bb3975d50bc4d07d74d93c482d56dc96f615
2024-05-01 08:04:55 +00:00
Jessica Lawshe
d5639794c2
Merge pull request #17166 from overleaf/ab-fix-group-settings-label
...
[web] Cleanup managed users env var and fix group settings label
GitOrigin-RevId: 817ed86a6c94c03adb41e8c10115d6404180142e
2024-02-20 09:05:54 +00:00
Jimmy Domagala-Tang
537c822789
Merge pull request #16874 from overleaf/jdt-me-learn-links-new-tab
...
Learn wiki links should open in new tab
GitOrigin-RevId: 7e87feff971bc2c28d0e0bac85e0e20ef139e321
2024-02-06 09:03:57 +00:00
Thomas
24023dd267
Merge pull request #15901 from overleaf/tm-design-system-updates-teardown
...
Design system updates test tear down and clean up
GitOrigin-RevId: 743423f7c31c0ba89093bba0107d7e6799e1c309
2023-11-28 09:04:06 +00:00
Mathias Jakobsen
7c8014d791
Merge pull request #15798 from overleaf/mj-features-page-teardown
...
[web] Tear down features-page split test
GitOrigin-RevId: 346064bea8775033d226f4405843717b380085fd
2023-11-21 09:04:03 +00:00
Alexandre Bourdin
8abf8ba956
Merge pull request #15639 from overleaf/ab-fix-group-settings-visibility
...
[web] Various fixes for Group SSO
GitOrigin-RevId: 0a98d7eed14b2878a6be5e28e54ab1f7ceb9be5f
2023-11-07 12:34:45 +00:00
Davinder Singh
8b5213397c
Group SSO - Display group SSO switch independently of managed users ( #15423 )
...
GitOrigin-RevId: 249a9b176404418da712eee9e29de931d9498887
2023-11-07 09:04:31 +00:00
Alf Eaton
221d16f4e4
Disable transSupportBasicHtmlNodes in react-i18next config ( #15430 )
...
* Set transSupportBasicHtmlNodes to false
* Update ESLint rule
* Convert Trans to t
* Convert shouldUnescape={true}
* Convert some arrays to objects
* Update translations
GitOrigin-RevId: 64a50318388abcada408f72d949de148129a9f63
2023-10-31 09:04:04 +00:00
Alf Eaton
0c81bccfca
Ensure that translation values are correctly escaped ( #15252 )
...
GitOrigin-RevId: 5a38b4c01921fd4d95dbdb7b9e756443fdb00b80
2023-10-20 08:03:31 +00:00
Alexandre Bourdin
7268e0f0aa
Merge pull request #15084 from overleaf/ab-managers-users-ga
...
[web] Managed users general availability prep
GitOrigin-RevId: 9ab286a67c15f67e5d7617db506547b6ead8a9cb
2023-10-09 08:04:11 +00:00
Jakob Ackermann
9daa8f5d98
Merge pull request #15040 from overleaf/jpa-js-to-jsx
...
[web] rename all the JSX files to .jsx/.tsx
GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Jakob Ackermann
1213709578
Merge pull request #14980 from overleaf/jpa-debug-console
...
[web] migrate frontend logging to debugConsole
GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
ilkin-overleaf
c6289cc67f
Merge pull request #14773 from overleaf/ii-modify-design-system-update-split-test
...
[web] Modify design-system-update split test
GitOrigin-RevId: f28aeef5ba782006afd30fd2862d0ad129077f6c
2023-09-18 08:03:49 +00:00
Thomas Mees
00f329cb67
Move check to display PremiumFeaturesLink in to SubscriptionDashboard
...
GitOrigin-RevId: 931dcd61e019d889e60a6c7ea5f1facd15dcf905
2023-09-06 08:06:00 +00:00
Thomas Mees
2ca51e82cd
Add new flag to subscription dash context for PremiumFeaturesLink
...
GitOrigin-RevId: 55c3d00e0e0fdeb5a63cefac3f1c1428ce01cc9a
2023-09-06 08:05:51 +00:00
Thomas Mees
1cde138160
Move premium features link outside the subscription block
...
GitOrigin-RevId: b88d765d859f1bdf1eb1d469131c8f239f327562
2023-09-06 08:05:47 +00:00
Thomas
6a9c9652f9
Merge pull request #14007 from overleaf/tm-subscription-active-until-trial-ends
...
Show cancelled subscription will remain active until end of trial
GitOrigin-RevId: 277f477dc95869ff61cbb48cb2033ec55db3cf52
2023-08-09 08:04:28 +00:00
Brian Gough
558992d947
Merge pull request #13916 from overleaf/bg-managed-users-hide-leave-group-action
...
managed users hide leave group action
GitOrigin-RevId: 160e31e6935cd3737356714020e057f8c1acc5b8
2023-07-21 08:04:36 +00:00
Brian Gough
d298a258e0
Merge pull request #13932 from overleaf/bg-managed-users-hide-reactivate-button
...
hide button to reactivate subscription for managed users
GitOrigin-RevId: 3632c5ffdee68eb5e0aed1479f3b7ffb45e3aa4a
2023-07-21 08:04:31 +00:00
Alexandre Bourdin
2ef48be496
Merge pull request #13448 from overleaf/ab-sub-dash-wording-changes
...
[web] Wording changes on the subscription dashboard buttons
GitOrigin-RevId: 9b5be3a39b2a4c6f92041aab1478f8a87e3a74cf
2023-07-17 10:41:51 +00:00
Alexandre Bourdin
39bc601826
Merge pull request #13482 from overleaf/ab-group-settings-page
...
[web] Group settings button and page enabled based on env var
GitOrigin-RevId: 77574a3705b3f1301935b72010022af61f7fe552
2023-07-17 10:41:41 +00:00
Davinder Singh
88d0254dde
Merge pull request #13390 from overleaf/ab-managers-page-styling
...
[web] Full-row links styling for group subscription links in dash
GitOrigin-RevId: f3b2dd67e9c14cf8fde1df41d74d380c06cc3d4c
2023-07-17 10:31:18 +00:00
Alf Eaton
f375362894
Always use mockable location methods ( #11929 )
...
* Always use mockable location methods
* Add eslint rules for window.location calls/assignment
* Add useLocation hook
* Update tests
GitOrigin-RevId: eafb846db89f884a7a9a8570cce7745be605152c
2023-03-17 09:05:21 +00:00
Jessica Lawshe
b10b7b1f91
Merge pull request #12042 from overleaf/jel-change-plan
...
[web] Change plan UI now in a modal and update the style
GitOrigin-RevId: 1b501b4a972ca676cff32f531862c15c0c8f9e61
2023-03-09 09:05:05 +00:00
ilkin-overleaf
612728d300
Merge pull request #11963 from overleaf/ii-react-subscription-dash-reactivate-subscription
...
[web] Subscription dash reactivate button react migration
GitOrigin-RevId: dde8dd1abb8979bdf90d71ea07e1336e9af491b3
2023-03-01 09:03:17 +00:00
ilkin-overleaf
9f95c7c2ab
Merge pull request #11919 from overleaf/ii-react-subscription-dash-user-email-not-matching-recurly-email
...
[web] Subscription dash user email not matching recurly email section - react migration
GitOrigin-RevId: 8d89dbc804694afffea2a92cebdeb5d4e9389810
2023-03-01 09:02:47 +00:00
Jessica Lawshe
1c3b05d4a8
Merge pull request #11977 from overleaf/jel-subscription-dash-alert
...
[web] Add aria-live="polite" to subscription dash alert
GitOrigin-RevId: 29ce9e3ab26ab21a7e86fdbe90fb228c68bb8d98
2023-02-28 09:04:15 +00:00
Jessica Lawshe
7469f01acd
Merge pull request #11981 from overleaf/jel-downgrade-when-cancel
...
[web] Migrate downgrade plan option when cancelling in React subscription dash
GitOrigin-RevId: 11a4b39deb58493f3f56e65e8760d71527a8e8fc
2023-02-28 09:03:54 +00:00
Jessica Lawshe
0037e45740
Merge pull request #11970 from overleaf/ab-sub-dash-already-have-warning
...
[web] Display a warning on subscription dash when coming from plans page
GitOrigin-RevId: 6c6294fbf634a5dcd1a09b94538add6586ebd15b
2023-02-24 09:05:20 +00:00
Jessica Lawshe
ebc04e4a9d
Merge pull request #11888 from overleaf/jel-subscription-dash-cancel-plan
...
[web] Migrate cancel subscription to React
GitOrigin-RevId: 8482fd61894c8011b4c980263ae1d41f396233c6
2023-02-24 09:05:12 +00:00
Alexandre Bourdin
d2fb800174
Merge pull request #11885 from overleaf/ab-personal-sub-custom-react
...
[web] Display a message for custom personal subscriptions in React dash
GitOrigin-RevId: c70986ffacfdfdeccd3675385e2e5dba1a2ad61f
2023-02-23 09:05:13 +00:00
Alexandre Bourdin
8b00a496e7
Merge pull request #11881 from overleaf/ab-custom-subscription-react-dash
...
[web] Add a contact support message for custom subsbcriptions on React dash
GitOrigin-RevId: e2a2bb27b4f1e70cbbe62f4c837fe63d81a820c2
2023-02-23 09:05:05 +00:00
Alexandre Bourdin
f86eeac522
Merge pull request #11862 from overleaf/ab-group-subscription-memberships-dash-react
...
[web] Migrate group subscription memberships to React dash
GitOrigin-RevId: d5ff3ae4e5d8c422530502af22edda6c24c9a593
2023-02-23 09:04:49 +00:00
Alexandre Bourdin
a928fd20e6
Merge pull request #11906 from overleaf/ii-react-subscription-dash-active-coupons
...
[web] Subscription dash show active coupons react migration
GitOrigin-RevId: 7a63505b31d828491b6ea812482376882354b4ee
2023-02-23 09:04:13 +00:00
Alexandre Bourdin
d6e9508aed
[web] Migrate managed publishers to React dash ( #11749 )
...
* Migrate managed publishers to React dash
* Decaf cleanup + async/await PublishersGetter
* Continue migration of managed publishers to react dash
* Fix linting
* Add tests
* Decaf cleanup PublishersGetterTests
* Update PublishersGetter tests
* Rename component files to kebab-case
GitOrigin-RevId: cb1fe14d120457c965a9d23a8ddb2c2c92e1d5da
2023-02-23 09:04:03 +00:00
Jessica Lawshe
89ef1681e8
Merge pull request #11844 from overleaf/jel-subscription-dash-change-to-group-submit
...
[web] Submit group plan change on subscription dash
GitOrigin-RevId: 5bc2644351c80189774ad3ac4cdcd622d354770f
2023-02-22 09:05:21 +00:00
Jessica Lawshe
124306d7ac
Merge pull request #11819 from overleaf/jel-subscription-dash-change-to-group-prices
...
[web] Show price in change to group plan modal on React subscription dash
GitOrigin-RevId: 6a1a4be3a7d008cd9e26186c2d97bc0bdc2f82ed
2023-02-22 09:05:13 +00:00
Jessica Lawshe
cad3660f0b
Merge pull request #11839 from overleaf/jel-subscription-dash-change-to-group-pt2
...
[web] Continue change to group plan via React subscription dash
GitOrigin-RevId: b7e743f18e40383ecc1dbf02914f663ff0bc1846
2023-02-22 09:05:05 +00:00
Jessica Lawshe
b2a10260be
Merge pull request #11773 from overleaf/jel-subscription-dash-change-to-group
...
[web] Begin change to group plan via React subscription dash
GitOrigin-RevId: 3f0f2820ab18ecc8337746282295302d7951c56f
2023-02-22 09:04:56 +00:00
Jessica Lawshe
d539aaf226
Merge pull request #11681 from overleaf/jel-confirm-subscription-change
...
[web] Plan change request in subscription dash
GitOrigin-RevId: 9afe22b2da035f887c6fa9abe8129711d492108c
2023-02-17 09:05:51 +00:00
Davinder Singh
c524fee690
Merge pull request #11694 from overleaf/ab-managed-institutions-react
...
[web] Migrate managed institutions to React dash
GitOrigin-RevId: 535dfafe42d88189bb20e7bb3beac233221ee6ba
2023-02-15 09:04:55 +00:00
Jessica Lawshe
f3d055af86
Merge pull request #11619 from overleaf/jel-react-personal-subscription-dash-change-plan
...
[web] Query display price data for change plan UI in React subscription dash
GitOrigin-RevId: e05779d1f289ee55a1b8be17b182905fca66e44f
2023-02-08 09:06:44 +00:00
Jessica Lawshe
c7d8e4867d
Merge pull request #11560 from overleaf/jel-react-personal-subscription-dash-pt-5
...
[web] Continue migration of personal subscription dash to React
GitOrigin-RevId: fb327592ad5031bff20b2a95a83edee4735112e8
2023-02-08 09:06:29 +00:00
Jessica Lawshe
c36b872ae3
Merge pull request #11509 from overleaf/jel-react-personal-subscription-dash-pt-4
...
[web] Continue migration of personal subscription dash to React
GitOrigin-RevId: f2d913099d727725f04697003516c90616faf014
2023-02-08 09:06:21 +00:00
Jessica Lawshe
df532c9737
Merge pull request #11494 from overleaf/jel-react-personal-subscription-dash-pt-3
...
[web] Continue migration of personal subscription dash to React
GitOrigin-RevId: 412301dad0a04fa6e7b8712ad919c4f67d0bbfe2
2023-02-01 09:05:35 +00:00
Jessica Lawshe
b7108f7874
Merge pull request #11515 from overleaf/ab-group-membership-dash-react
...
[web] Managed groups in React subscription dash
GitOrigin-RevId: 4811d8dd2b42fa9ad83b5c4f12582e7bc04bad40
2023-02-01 09:05:27 +00:00
Jessica Lawshe
dad1460d71
Merge pull request #11414 from overleaf/jel-react-personal-subscription-dash-pt-2
...
[web] Continue migration of personal subscription dash commons to React
GitOrigin-RevId: 997716f70c953b088f686d4b0f638705ad838520
2023-01-27 09:05:30 +00:00