overleaf/services/web/frontend/js
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
..
directives Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
features [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
ide Merge pull request #18140 from overleaf/ae-log-rules 2024-05-01 08:04:27 +00:00
infrastructure Merge pull request #16608 from overleaf/jpa-writefull-double-loaded 2024-01-24 09:03:47 +00:00
main Remove "upgrade to annual" page (#18014) 2024-04-24 08:04:04 +00:00
modules Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
pages Rename test to local-ccy-format-v2 to restart with clean data (#18115) 2024-04-26 08:04:26 +00:00
services Remove unused Angular code from "main" and "ide" endpoints (#15868) 2023-12-06 09:04:45 +00:00
shared [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
utils Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
vendor/libs Merge pull request #16184 from overleaf/ae-sharejs-esm 2023-12-15 09:03:35 +00:00
base.js Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
dev-toolbar.js Merge pull request #15808 from overleaf/ab-split-test-dev-toolbar 2023-11-24 09:04:40 +00:00
i18n.js Disable transSupportBasicHtmlNodes in react-i18next config (#15430) 2023-10-31 09:04:04 +00:00
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
ide.js Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
libraries.js Merge pull request #15385 from overleaf/jpa-remove-fetch-polyfill 2023-10-25 08:04:12 +00:00
main.js Remove "upgrade to annual" page (#18014) 2024-04-24 08:04:04 +00:00
marketing.js Merge pull request #17571 from overleaf/mf-website-redesign-login 2024-03-28 09:04:29 +00:00
tracing.js Merge pull request #10279 from overleaf/jpa-tracing-optimizations 2022-11-04 09:05:00 +00:00