Added isEmbedded prop to Duo Chat
What does this MR do and why?
This is a follow up to duo-ui!315 (merged). It adds isEmbedded
prop to Duo Chat which will allow to control over the Panel, specifically hide duplicate buttons like History button and New chat Button.
Please note I will do a cleanup follow-up in Duo UI of redundant props like showStudioHeader
and shouldRenderResizable
as they simply pass isEmbedded
under different conventions.
References
gitlab#577376
https://gitlab.com/gitlab-org/gitlab/-/issues/577378
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.