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

Create a storybook for self-serve Cody pages #63353

Open
vdavid opened this issue Jun 19, 2024 · 0 comments
Open

Create a storybook for self-serve Cody pages #63353

vdavid opened this issue Jun 19, 2024 · 0 comments

Comments

@vdavid
Copy link
Contributor

vdavid commented Jun 19, 2024

Context:

  • We have pages in Storybook for alerts and other atomic components. Example: alerts
  • We also have pages for more complex components. Example: web/batches.

Problem:

  • Currently, folks have to have the whole dev environment running whan making small changes to the design, which is often inconvenient. Example: Cody pro icon was squashed in the upgrade banner #63356 – Rob had to have the entire stack set up and the DB in a state where he could see the banners.

Solution:

  • Map out what pages we have, which ones are the main components, what states they have, and create the Storybook pages from them.

We currently have these pages:

  • Dashboard: /cody/manage
  • Subscription: /cody/subscription
  • Checkout (individual): /cody/manage/subscription/new
  • Checkout (team): /cody/manage/subscription/new?seats=5
  • (ADMIN) Manage subscription: /cody/subscription/manage
  • (ADMIN) Manage team: /cody/team/manage
  • (ADMIN) Add seats: /cody/manage/subscription/new?addSeats=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant