Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure storybook for data router #524

Merged
merged 6 commits into from
Oct 18, 2024

Conversation

g-saracca
Copy link
Contributor

What this PR does / why we need it:

Configures storybook to use a data router instead of a memory router so we use the same router as we use in the actual application.
I also added a story for the error page that we were not able to add before with the memory router.

Which issue(s) this PR closes:

Suggestions on how to test this:

Step 1: Run SPA Storybook

  1. Execute npm i.
  2. Navigate with cd packages/design-system && npm run build.
  3. Return with cd ../../.
  4. Run npm run storybook and go to the SPA Storybook, the one on port 6006.

Step 2: Test the feature
Check the storybook error page and verify that the SPA storybook keeps working correctly.
This change shouldn't affect any story behaviour.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No.

Is there a release notes update needed for this change?:

No.

Additional documentation:

No.

@g-saracca g-saracca added Size: 3 A percentage of a sprint. 2.1 hours. UI Tasks related to the user interface (UI) or frontend development GREI Re-arch GREI re-architecture-related SPA Original size: 3 SPA.Q4 Not related to any specific Q4 feature FY25 Sprint 8 FY25 Sprint 8 (2024-10-09 - 2024-10-23) labels Oct 17, 2024
@coveralls
Copy link

coveralls commented Oct 17, 2024

Coverage Status

coverage: 97.28% (-0.2%) from 97.479%
when pulling 0f1c66b on configure-storybook-for-data-router
into 643a0b7 on develop.

@g-saracca g-saracca assigned g-saracca and unassigned g-saracca Oct 17, 2024
@ChengShi-1 ChengShi-1 self-requested a review October 17, 2024 14:27
@ChengShi-1 ChengShi-1 self-assigned this Oct 17, 2024
Copy link
Contributor

@ChengShi-1 ChengShi-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great

@ofahimIQSS ofahimIQSS self-assigned this Oct 18, 2024
@ofahimIQSS
Copy link
Contributor

Tested and found no issues. Merging PR
Testing of 524.docx

@ofahimIQSS ofahimIQSS merged commit 59579ca into develop Oct 18, 2024
10 of 14 checks passed
@ofahimIQSS ofahimIQSS deleted the configure-storybook-for-data-router branch October 18, 2024 15:29
@ofahimIQSS ofahimIQSS removed their assignment Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 8 FY25 Sprint 8 (2024-10-09 - 2024-10-23) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA.Q4 Not related to any specific Q4 feature SPA UI Tasks related to the user interface (UI) or frontend development
Projects
Status: Done 🧹
Development

Successfully merging this pull request may close these issues.

Configure Storybook for Data Router
4 participants