Skip to content

[Storybook] Add stories for more components (letter P) - Part 2#7674

Merged
mgadewoll merged 11 commits intoelastic:mainfrom
mgadewoll:storybook/7481-stories-p-part-2
Apr 26, 2024
Merged

[Storybook] Add stories for more components (letter P) - Part 2#7674
mgadewoll merged 11 commits intoelastic:mainfrom
mgadewoll:storybook/7481-stories-p-part-2

Conversation

@mgadewoll mgadewoll added documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) labels Apr 11, 2024
@mgadewoll mgadewoll marked this pull request as ready for review April 11, 2024 17:01
@mgadewoll mgadewoll requested a review from a team as a code owner April 11, 2024 17:01
@mgadewoll mgadewoll force-pushed the storybook/7481-stories-p-part-2 branch from dc4a923 to ee3c402 Compare April 12, 2024 08:18
- Fix `children` control
- remove unnecessary `closeOnScroll` jsx prop (should inherit from `...rest`
- disable `input` and `inputRef` props (not really possible to configure in controls)
…osition`

+ combo'd with `panelMinWidth`

- requires moving the action toggles to just the playground, as an error will throw if `params.controls.include` is used with props that are not included
- requires moving the action toggles to just the playground, as an error will throw if `params.controls.include` is used with props that are not included
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

I pushed up some optional minor prop preferences and extra stories for my spacetime week in lieu of actually review, hope that's okay! Feel free to merge whenever!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome meta setup+use of decorators here! 🎉

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[not a change request, just a note for future me] I'd like to eventually add stories for container, insert, repositionOnScroll as well! I'm too lazy for now so I just added a quick story to demo how panelPaddingSize affects child titles & footers


// NOTE: extended EuiPopoverProps are not resolved for some reason
// so we are currently manually adding them back
// TODO: remove this once types are properly resolved and added as control args
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 Am personally good with these TODOs, EuiWrappingPopover is also generally kind of a weird component 😅 (also, I still need to look into button not being dynamically updatable...)

@mgadewoll
Copy link
Copy Markdown
Contributor Author

mgadewoll commented Apr 26, 2024

I pushed up some optional minor prop preferences and extra stories for my spacetime week in lieu of actually review, hope that's okay! Feel free to merge whenever!

@cee-chen Thanks for the additional changes! They look good to me! 🎉

Copy link
Copy Markdown
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

🚢

@mgadewoll mgadewoll enabled auto-merge (squash) April 26, 2024 16:55
@kibanamachine
Copy link
Copy Markdown

Preview staging links for this PR:

@mgadewoll mgadewoll merged commit c4668a3 into elastic:main Apr 26, 2024
@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

History

@mgadewoll mgadewoll deleted the storybook/7481-stories-p-part-2 branch April 29, 2024 08:52
mgadewoll added a commit to mgadewoll/eui that referenced this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New docs] Create stories for components starting with the letter P

4 participants