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

Addon-docs: Generic stories for DocsPage #19162

Merged
merged 4 commits into from
Sep 11, 2022
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Sep 10, 2022

Issue: N/A

What I did

Generic DocsPage stories. I separated this work from MDX stories which is blocked on #19156

Also @tmeasday note that this reveals a sorting bug in the current implementation #19163

How to test

  • CI passes
  • Visual inspection in a sandbox

@shilman shilman added maintenance User-facing maintenance tasks addon: docs labels Sep 10, 2022
@shilman shilman requested a review from tmeasday September 10, 2022 04:20
@shilman shilman changed the title Addon-docs: Generic DocsPage stories to replace examples Addon-docs: Generic stories for DocsPage Sep 10, 2022
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

Looks great!

Comment on lines +11 to +15
docs: {
description: {
component: '**Component** description',
},
},
Copy link
Member

Choose a reason for hiding this comment

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

Should we also have examples that set this stuff via argTypes?

Copy link
Member Author

Choose a reason for hiding this comment

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

@tmeasday Added a placeholder, although it's not an especially useful test. We should revisit when we do the annotations server.

@shilman shilman merged commit 8126e5b into next Sep 11, 2022
@shilman shilman deleted the shilman/generic-docspage-stories branch September 11, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: docs maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants