overleaf/services/web/.storybook
Antoine Clausse a8f46f1d75 [web] Add with-split-tests util for storybook (#17809)
* Add `with-split-tests` util for storybook

It wraps storybook in a SplitTest context provider with configurable variant values. And it adds controls for them in the storybook UI

* Define `splitTestsArgTypes` in `withSplitTests`

* Revert "Add `with-split-tests` util for storybook"

This reverts commit 3ff351ac

* Edit stories: remove SplitTestProvider and add more digits to amounts

* Create `addon-split-tests` to manage split-tests from Storybook

* Add a `splitTests` parameter to define individual Stories relevant split-tests

* Revert "Add a `splitTests` parameter to define individual Stories relevant split-tests"

This reverts commit 6cbf62729a3d682d695c36e11a86bd576cb7aec1.

* Revert "Create `addon-split-tests` to manage split-tests from Storybook"

This reverts commit d0734a1773c96860e82d81fd62fc9034e2b6e41c.

* Revert "Revert "Add `with-split-tests` util for storybook""

This reverts commit 407fc39b

* Improve types of price-summary.stories.tsx

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

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: bcf3d9f317590a00fb633851ef36146eb800fcfc
2024-05-15 08:04:38 +00:00
..
utils [web] Add with-split-tests util for storybook (#17809) 2024-05-15 08:04:38 +00:00
main.ts Add prototype compile assistant (#17402) 2024-03-26 09:04:28 +00:00
manager.css Move Storybook back into web (#13219) 2023-12-15 09:03:15 +00:00
manager.ts Upgrade Storybook to v8 (#17522) 2024-03-26 09:04:10 +00:00
preview.tsx Merge pull request #16971 from overleaf/td-bootstrap-5-base 2024-02-15 09:04:05 +00:00