Open minikas opened 1 month ago
The recent updates introduce Storybook configuration for the hestia
app, enabling component testing for the Orderbook feature. Key enhancements include adding support for story files, configuring essential addons, and setting up a custom theme. These changes aim to improve the robustness and standardization of Orderbook components through a dedicated testing environment.
Files | Summary |
---|---|
apps/hestia/.gitignore |
Added exclusion for storybook.log . |
apps/hestia/.storybook/main.ts |
Configured Storybook with new story paths, essential addons, and framework settings. |
apps/hestia/.storybook/manager.ts , preview.tsx |
Introduced logic for Storybook manager and preview configurations, enhancing the development experience. |
apps/hestia/.storybook/theme.ts |
Added a custom theme with brand-specific properties for Storybook UI. |
apps/hestia/src/components/accessDenied/template.stories.ts |
Added a story for the Access Denied template component to facilitate testing and demonstration. |
No sequence diagrams are generated as the changes are predominantly configuration-based and do not modify control flow.
Objective | Addressed | Explanation |
---|---|---|
Configure Storybook for Orderbook Component Testing (#1345) | ✅ |
In the land of code so bright and fair,
Storybook now handles components with care.
FromAccess Denied
to themes so sweet,
Bugs retreat, and tests are neat.
With every story we now unfold,
The Orderbook shines, vibrant and bold.
🐰✨📖
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Name | Link |
---|---|
Latest commit | 5dd1636b43c77caafd7e4593f93c49550f6f3ed5 |
Latest deploy log | https://app.netlify.com/sites/stupendous-valkyrie-505e4a/deploys/66942f408c5ba50008bc61ea |
Description
This pull request sets up Storybook for testing Orderbook components and pages.
Changes Made:
Screenshots / Screencasts
Checklist
Close: https://github.com/Polkadex-Substrate/Polkadex-Orderbook-Frontend/issues/1345