Skip to content

feat: add storybook for /deployment/appearance page #5582

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

Merged
merged 5 commits into from
Jan 5, 2023

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Jan 4, 2023

This refactors the <AppearanceSettingsPage /> to separate page from view so that we can create a Storybook story for it.

Note: I did spend some time trying to use the Page in a story, but since it's coupled with XState, it wasn't a trivial process. Decided to follow pattern of AuditPage and separate page from view.

Page: https://dev.coder.com/settings/deployment/apperance

NOTE: you must have the correct permissions to see these pages.

Video

Screen.Recording.2023-01-05.at.10.31.42.AM.mov

@jsjoeio jsjoeio self-assigned this Jan 4, 2023
@jsjoeio jsjoeio changed the title wip feat: add storybooks for /deployment pages Jan 4, 2023
@jsjoeio jsjoeio changed the title feat: add storybooks for /deployment pages feat: add storybooks for /deployment/appearance page Jan 5, 2023
@jsjoeio jsjoeio changed the title feat: add storybooks for /deployment/appearance page feat: add storybook for /deployment/appearance page Jan 5, 2023
@jsjoeio jsjoeio marked this pull request as ready for review January 5, 2023 17:38
@jsjoeio jsjoeio requested a review from a team as a code owner January 5, 2023 17:38
@jsjoeio jsjoeio requested review from Kira-Pilot and removed request for a team January 5, 2023 17:38
@jsjoeio jsjoeio enabled auto-merge (squash) January 5, 2023 18:50
Copy link
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

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

Nice refactor!

@jsjoeio jsjoeio merged commit bb03df8 into main Jan 5, 2023
@jsjoeio jsjoeio deleted the jsjoeio/deployment-storybooks branch January 5, 2023 21:16
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants