Skip to content

Conversation

StefanDimitrov04
Copy link
Contributor

@StefanDimitrov04 StefanDimitrov04 commented Oct 1, 2025

JIRA: BGSOFUIRILA-4104

ndeshev added 30 commits August 20, 2025 06:39
initial poc draft, all naming and logic are work in progress
and subject to change
initial poc draft, all naming and logic are work in progress and subject to change
BGSOFUIRILA-4032
remove 'SingleResult' and 'MultipleResults' properties from
AssistantState.ts

adapt the implementation to use the totalVersions count internally to
control the state
major API and structure refactoring
use plain toolbar button, adjust tests, clean up styles
apply code review suggestions
@StefanDimitrov04 StefanDimitrov04 changed the title feat(ui5-ai-input): introduce new component POC feat(ui5-ai-input): introduce new component Oct 8, 2025
Base automatically changed from ai-textarea to main October 9, 2025 07:38
@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Oct 9, 2025

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 9, 2025 19:18 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 10, 2025 13:42 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 13, 2025 07:06 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 13, 2025 07:23 Inactive
@nikoletavnv
Copy link
Contributor

nikoletavnv commented Oct 14, 2025

Some interaction remarks:

  • If we stop a task in the middle , the input text remains "Analyzing request", which is misleading. We can either clear the text or better return the input value at the moment of starting the task - e.g. if you write in the input "Tell me how to install Windows" and you press the AI button, the text switches to "Analyzing request" and if you press Stop button, the text may be set again to "Tell me how to install Windows". In fact in the spec we should not set any text during "loading" except the loading indicator in the input
  • I am able to write additional text in the input even when the item is in loading state and the busy indicator is shown
  • In responsive view the AI menu converts into a dialog. I don't see in the specifications anything about responsive design but we have to align it with the designers about this behavior
  • In Quartz themes the AI icon is not visible unless you click in the right part of the input, where the icon is supposed to be

</Menu>
</div>
</div>
{InputPopoverTemplate.call(this, { suggestionsList })}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need suggestions at this point? We can disable them when inheriting from the Input component and add them later in case we need them for the AI Input

<>
<span id="suggestionsText" class="ui5-hidden-text">{this.suggestionsText}</span>
<span id="selectionText" class="ui5-hidden-text" aria-live="polite" role="status"></span>
<span id="suggestionsCount" class="ui5-hidden-text" aria-live="polite">{this.availableSuggestionsCount}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the suggestions related aria-live elements

describe("Basic", () => {
describe("Initialization", () => {
it("should render with default properties", () => {
cy.mount(<AIInput />);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I render an AI Input without any menu items in the slot, the AI icon is present and when I click on it - an empty menu item with no text appears. Maybe it is better to not render ghost menu item in that case

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 16, 2025 11:50 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 21, 2025 18:32 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 22, 2025 17:43 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants