pegasystems / constellation-ui-gallery

This open-source repository provides a collection of ready-to-use and customizable Constellation DX components. Use this resource to gain inspiration, best practices, and a solid foundation for implementing custom components.
https://pegasystems.github.io/constellation-ui-gallery/
Apache License 2.0
29 stars 22 forks source link

Chat GenAI component Typing indicator avatar alignment issue #9

Closed vijayjangid closed 6 months ago

vijayjangid commented 6 months ago
ai-robot-misaligned

As shown in the image, the Robot AI Typing indicator icon is misaligned. This is potentially caused due to a style override for svg causing a side effect. https://github.com/pegasystems/constellation-ui-gallery/blob/75462c7fe1d7a780c6006d22cd5db961e4887de2/src/components/Pega_Extensions_ChatGenAI/styles.ts#L13

This change seems to be done for the Icon buttons for Send & Reset. Looks like the Icon buttons are not properly used and motivating this custom style override.

ricmars commented 6 months ago

we should remove the display block - the icon will not show up when loaded as a Constellation DX component though because the Icon are being filtered.