-
Notifications
You must be signed in to change notification settings - Fork 36
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
DOP-4227: Chatbot FAB on all Docs pages #983
Conversation
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.
minor comments below!
was a bit confused why we are using different chatbot in existing chatbot but realized that was a specific docs chatbot they had rolled out previously 😄
also would note that the z-index of the modal is at 100, while the z-index of the header is at 1000... so they are not playing friendly together
The Chatbot modal now appears over the consistent-nav as can be seen in this build. Also, moving the |
return ( | ||
<StyledChatBotFabContainer | ||
// Inline style to default hide Chatbot FAB, Optimizely to flip this on client-side | ||
// style={{ display: 'none' }} // TODO: uncomment line before merge |
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.
Reminder to myself: uncomment before merge
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.
minor comments below but overall LGTM. excited to roll this out (slowly) !
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.
LGTM!
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.
LGTM 👍
Stories/Links:
DOP-4227
DOP-4219
Staging Links:
Staging Links with Chatbot "enabled"
Homepage (to show it's not there)
Legacy page (to show both FABs)
Staging Link with Chatbot "disabled" (ie display: none)
Legacy page
Notes:
This PR adds the Chatbot Floating Action Button to all Docs pages except for the Docs main landing page.
Background: this will be default inline-style
display:none
. The optimizely script and team will have a way for A/B testing to toggle this style on and off for certain groups of users.Figma
Currently the Chatbot sends a CORS error, but this is almost certainly only an error in staging. Will be testing this in preprd once we merge and have bandwidth.