-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve and add styles to the demo page. #168
Comments
@jgerigmeyer I believe the Anchor Positioning demo was mentioned as a good example of what this popover demo should look like. Am I remember that correctly? Are there other good examples you'd recommend looking at too? I believe there was also discussion about documentation being added. I see a link to a Popover API explainer with a note that it's a bit out-of-date and installation documentation on GH. It's not clear to me what documentation should be included. Can you direct me? Would it make sense to include any or all of this description and these links on OddSite at the top of the demo page? Are there additional or alternative descriptions or links you'd recommend? |
@SondraE Yes. The CSS Layers Polyfill Demo is also a good example.
I'm not sure we need full documentation, but we should offer a brief explanation of what
Sure, I think that's a reasonable summary, but I would defer to @mirisuzanne or @stacyk on that. |
Yeah, that summary makes sense to me - seems like a good start. |
@SondraE Here's a quick rundown of what (I think) each example is showing on the demo page to give you a sense of what we might want to show for each example. Let me know if any of this doesn't make sense or if you have any questions. (And @jgerigmeyer please chime in if I've gotten any of the below wrong.)
|
That sounds right.
Clicking "Items" in the menu opens another nested popover. |
@dvdherron Here's a first draft.
This is the design with all the content centered and a sticky header. Move to the right in Figma to see popover samples and a left/right column design. |
This looks great so far, @SondraE! Thanks for putting this together.
I think the titles of the popovers, the descriptions, and buttons all work where they are. Is the text for the popovers currently just placeholder text? Like for the "Toggle Shadowed Popover" button should the popover say "Shadowed Popover"?
I think the first layout with the sticky header at the top seems simplest. It's my preference but I'm open to other suggestions. As far as what the popovers look like I'm not completely clear on what the pink background part is in the first couple of designs. Could we make all popovers the size of the smaller pink versions in the designs towards the end? And as far as where the popups appear, what do you think of having them pop up in the same general place for each example? For example, they could all appear either directly above or below their respective buttons? For the popover buttons that are currently missing we should see if it make sense to add them in or, if not, maybe rename those buttons/popovers without numbers?
|
Looks good! We can iterate on exact text after we get something in-browser to play with.
I agree 👍
I think this is a good idea 👍
I think we want to ideally remove all the numbers, and have each button use a descriptive name instead. |
@dvdherron Figma File - not displaying popovers |
@SondraE I think I responded to all over your questions in the Figma file. I can also update some of the text after I get write access to the file too. |
@dvdherron I'm not sure why you didn't already have write access, but I think you do now. All your comments seem right to me, and I would be happy for you to make the changes you propose, either in the mockup or when you implement the design. |
Figma File
https://popover-polyfill.netlify.app/
The text was updated successfully, but these errors were encountered: