-
Notifications
You must be signed in to change notification settings - Fork 34
feat(demo): Demo for drawer mode with display mode switcher #601
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
feat(demo): Demo for drawer mode with display mode switcher #601
Conversation
|
Preview: https://chatbot-pr-chatbot-601.surge.sh A11y report: https://chatbot-pr-chatbot-601-a11y.surge.sh |
rebeccaalpert
left a comment
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.
Overall this looks good to me. There's two areas where I think we could improve a little bit (skip to content focus and unneeded drawer action), and one area I'd like to carve out into a separate issue (maintaining dropdown focus when container is changed). I left more detailed comments below, but please ping me if you have any questions!
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Outdated
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Outdated
Show resolved
Hide resolved
edonehoo
left a comment
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.
just a few small suggestions, but generally this looks great!
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
Outdated
Show resolved
Hide resolved
|
Like Rebecca mentioned, we changed our terminology from "docked" to "drawer", but I'm realizing that we may need to go back at update the display options menu at a global level (rather than just in this pr) @rebeccaalpert ? Should we say "drawer" instead of "dock to window" for the menu item, since we're not using the term "docked" in our docs anymore |
kaylachumley
left a comment
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.
+1 on erin and rebeccas comments - design looks good! ty!
|
@edonehoo - It's not a global change. We can definitely update the wording in this one specific demo if you want it to be "Drawer." We haven't deprecated the other mode or removed it from other demos. |
|
@rebeccaalpert ahh okay thanks for clarifying! In that case, then yeah I think for this demo at least let's go with Drawer |
rebeccaalpert
left a comment
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.
Thank you so much for making all those changes! I just have one comment about this one unused case.
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Outdated
Show resolved
Hide resolved
rebeccaalpert
left a comment
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.
Looking great! Thank you so much for all those changes.
edonehoo
left a comment
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 great!
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Show resolved
Hide resolved
...ages/module/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx
Show resolved
Hide resolved
…ly#601) Adds demo for inline drawer functionality with display mode switcher to overlay and full screen.

Created a chatbot demo to show off the drawer mode with display mode switcher. Closes #508