-
Notifications
You must be signed in to change notification settings - Fork 589
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
RelativeTime: Remove title
from Storybook stories
#5685
Conversation
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! It's cool that the relative-time
already had the noTitle
prop!
I think it's worth documenting the existence of the noTitle
prop somewhere (whether the story or the docs).
Is there ever a time we would want a title? Why don't we hard code |
Thank you @khiga8!
I see we have |
To be honest, not really. The goal is to eventually deprecate the prop and make not having a |
Can Primer Query only query github repos? Or can we use it to query for this across GitHub |
Yeah! It seems like we use the |
Seems like a quick win could be adding |
I agree! Will have a follow-up PR that will add |
Context https://github.com/github/accessibility-audits/issues/10169
Adds new stories:
Question for reviewers: Should we add any other stories to showcase usage of
RelativeTime
withouttitle
?Changelog
New
RelativeTime
withouttitle
Changed
noTitle
toRelativeTime
storiesRollout strategy
Testing & Reviewing
Merge checklist