Skip to content
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

Backport 6833 to jb v7.12.x #6836

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

thenamankumar
Copy link
Member

backport: #6833

This PR:

Removes the intent toggle feature completely.

Changes the intent dropdown behavior to only select the intent and not execute it automatically.

Enables the submit button even when the chat is empty.

Test plan

the intent options in the dropdown only selects the intent mode and doesn't execute it.

after selecting the intent, changing the input, doesn't reset the intent.

on submit the selected intent is used and the intent selection message is displayed accordingly.

loading a chat from history and editing the message, doesn't persist the intent mode previously manually selected.

selecting a prompt correctly executes it in chat & edit modes.

make sure the submit button isn't disabled when the input is empty.

This PR:
- Removes the intent toggle feature completely.
- Changes the intent dropdown behavior to only select the intent and not
execute it automatically.
- Enables the submit button even when the chat is empty.

- the intent options in the dropdown only selects the intent mode and
doesn't execute it.
- after selecting the intent, changing the input, doesn't reset the
intent.
- on submit the selected intent is used and the intent selection message
is displayed accordingly.
- loading a chat from history and editing the message, doesn't persist
the intent mode previously manually selected.
- selecting a prompt correctly executes it in chat & edit modes.
- make sure the submit button isn't disabled when the input is empty.
@thenamankumar thenamankumar force-pushed the backport-6833-to-jb-v7.12.x branch from ab8549f to 7f0e531 Compare January 28, 2025 09:57
@thenamankumar thenamankumar merged commit 3819091 into jb-v7.12.x Jan 28, 2025
19 of 22 checks passed
@thenamankumar thenamankumar deleted the backport-6833-to-jb-v7.12.x branch January 28, 2025 10:08
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.

1 participant