-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[polaris.shopify.com][/foundations][/patterns] Locations > Resource picking #6744
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
Conversation
01b649f to
ab31c29
Compare
8c041a9 to
0d9f921
Compare
52fa4e9 to
75205de
Compare
size-limit report 📦
|
72e1b75 to
65793d0
Compare
e3c791e to
da6305f
Compare
| ref: RefObject<HTMLDivElement>, | ||
| ) { | ||
| return <div id="PolarisPortalsContainer" ref={ref} />; | ||
| const uniqueId = useUniqueId('PortalsContainer'); |
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.
(Fixes duplicate ID pa11y CI errors)
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.
This should be resolved with a merge from main. This happened when two AppProviders wrapped a component as a bug caused by me 😭
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.
Ahh okay thank you!! This CI check was driving me nuts 😁
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.
My bad Chloe.
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.
No worries!!!
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.
Hmmm the saga continues lol, CI is still complaining about duplicate IDs for the PortalsContainer, even though only one example and only one PortalsContainer ever gets rendered at a time 🧐
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.
It looks good now. When there are zero changes in polaris-react the a11y test doesn't run.
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.
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.
Ok I am silly. Fixed here 31b8603
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.
Sorry for the inconvenience Chloe 😬
441c028 to
e1aec19
Compare
WHY are these changes introduced?
Follow up to #6596
WHAT is this pull request doing?
/foundations/patterns/locationsLocations pattern doc to document Pickers with Locations and Customer segments as examples.Listbox,Popover, andSheetHow to 🎩
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
Copy-paste this code in
playground/Playground.tsx:🎩 checklist
README.mdwith documentation changes