SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.56k stars 267 forks source link

chore: add custom prompt pattern samples #9882

Closed plamenivanov91 closed 2 months ago

plamenivanov91 commented 2 months ago

Adding samples for web component, showcasing a Custom Prompt pattern usage.

dobrinyonkov commented 2 months ago

From code perspective it looks great. I wonder if its okay to add some desccriptions to the samples, we could use the figma specification as reference:

The Custom Prompt pattern serves as a method for users to enter queries or prompts within an AI interface. It dynamically expands as needed and may present extra functionalities in a toolbar. While typically found within the AI Container, it's also applicable for integration into Tool Header toolbars, dialogs, and popovers – defined by pattern definiton.

We can also shortly describe how the pattern evolves gradually with every level.