1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/.storybook
Ariella Vu a5b114c4f9
Use ActionableMessage for ConfirmAddSuggestionToken warnings (#13402)
* ConfirmAddSuggestedToken: update duplicate logic

* ConfirmAddSuggestedToken: update duplicate fn names

* ConfirmAddSuggestedToken: add ActionableMessage
- fixes #13347

* base-styles.scss: deprecate .warning

* ConfirmAddSuggestedTokens: update @param desc

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* ConfirmAddSuggestedTokens: update @param desc

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* ConfirmAddSuggestedTokens: update @param desc

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* ConfirmAddSuggestedTokens: update @param desc

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* ConfirmAddSuggestedToken: clean JSDoc comments
- following GitHub suggestion commits

* ConfirmAddSuggestedToken: warning Learn More btn

* add zendesk-url constants
- use for ConfirmAddSuggestedToken & ImportToken pages

* storybook: add ConfirmAddSuggestedToken controls

* stories: add ConfirmAddSuggestedTokens states

* stories: rm unused args ConfirmAddSuggestedToken

* rn ZENDESK_URL -> ZENDESK_URLS

* AddSuggestedToken: check case-insensitive symbols

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-02-01 15:30:15 +00:00
..
actions Add send-header to Storybook (#12084) 2021-09-29 13:43:18 -05:00
i18n-party-addon Docs/12367 Adding storybook essentials addons (#12393) 2021-10-29 07:22:07 -10:00
images Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
initial-states/approval-screens Subject metadata cleanup (#13090) 2021-12-13 12:10:20 -08:00
reducers Add send-header to Storybook (#12084) 2021-09-29 13:43:18 -05:00
1.INTRODUCTION.stories.mdx Updating storybook docs (#13055) 2022-01-07 12:30:37 -08:00
2.DOCUMENTATION.stories.mdx Updating storybook docs (#13055) 2022-01-07 12:30:37 -08:00
i18n.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
locales.js
main.js Updating storybook docs (#13055) 2022-01-07 12:30:37 -08:00
manager.js Updating Storybook base styles (#12862) 2021-12-02 09:11:35 -08:00
metamask-storybook-theme.js Updating styles so they don't override fontawesome, removing duplicate addons (#12971) 2021-12-06 15:55:21 -08:00
metametrics.js Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
preview-body.html
preview-head.html Updating styles so they don't override fontawesome, removing duplicate addons (#12971) 2021-12-06 15:55:21 -08:00
preview.js Updating styles so they don't override fontawesome, removing duplicate addons (#12971) 2021-12-06 15:55:21 -08:00
README.md
test-data.js Use ActionableMessage for ConfirmAddSuggestionToken warnings (#13402) 2022-02-01 15:30:15 +00:00

Storybook

We're currently using Storybook as part of our design system. To run Storybook and test some of our UI components, clone the repo and run the following:

yarn
yarn storybook

You should then see:

info Storybook started on => http://localhost:6006/

In your browser, navigate to http://localhost:6006/ to see the Storybook application. From here, you'll be able to easily view components and even modify some of their properties.