Skip to content

Conversation

@pksjce
Copy link
Contributor

@pksjce pksjce commented Nov 30, 2023

No description provided.

mperrotti and others added 30 commits October 12, 2023 13:18
Co-authored-by: Katie Langerman <[email protected]>
@pksjce pksjce requested review from a team and langermank November 30, 2023 08:40
@changeset-bot
Copy link

changeset-bot bot commented Nov 30, 2023

⚠️ No Changeset found

Latest commit: 6ad028f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
dist/browser.esm.js 104.68 KB (0%)
dist/browser.umd.js 105.21 KB (0%)

@mperrotti
Copy link
Contributor

mperrotti commented Nov 30, 2023

I'm not sure if we need to duplicate Tooltip and Dialog stories just for inactive buttons. I like that the button stories focus specifically on button functionality.

We have these stories to show how to use Tooltip and Dialog:

That being said, I'm not strongly opposed to adding additional example stories for Button. If folks would find this helpful, we can definitely merge this after #3812.

Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

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

@pksjce I'm not sure if these stories are meant to show a tooltip and dialog but nothing happens for me when I hover/click 🤔

Maybe we should create a separate section of Storybook just to showcase degraded experiences? Or, maybe the internal Storybook would be a better place for this.

@pksjce
Copy link
Contributor Author

pksjce commented Nov 30, 2023

@mperrotti - I don't think there is any harm showcasing specific expectations for the inactive button.
Also as @langermank pointed out, I can't get the dialog and tooltip to work with this implementation. Since this is on top of your PR, I was hoping you'd have a fix off the top of your mind? Else I'm planning on debugging this and making sure it works.
I also wanted to highlight that adding a tooltip optionally is a little awkward and if devs who were working on gracefully degrading using the inactive button had questions, we could point them to this little implementation.

Base automatically changed from mp/inactive-button to main December 5, 2023 18:58
@pksjce
Copy link
Contributor Author

pksjce commented Jan 22, 2024

Closing this as we will update stories for these use cases if questions etc arise on usage of inactive component states.

@pksjce pksjce closed this Jan 22, 2024
@jonrohan jonrohan deleted the pk/inactive-button-tooltip-dialog branch May 9, 2025 18:35
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

Successfully merging this pull request may close these issues.

5 participants