Skip to content

agent: Show delete thread icon buttons on hover/focus #30370

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

Merged
merged 4 commits into from
May 9, 2025

Conversation

danilo-leal
Copy link
Contributor

@danilo-leal danilo-leal commented May 9, 2025

This PR's main goal is to show the delete thread button when the list item is either focused or hovered. In order to do that, we ended up refactoring (i.e., merging) the PastThread and PastContext elements into a single HistoryElementEntry that already matches to the entry type (i.e., context or thread).

Release Notes:

  • agent: Simplify the UI by showing the delete thread icon button only on hover or focus.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label May 9, 2025
@danilo-leal danilo-leal merged commit 0029245 into main May 9, 2025
20 checks passed
@danilo-leal danilo-leal deleted the ag-delete-thread-btn branch May 9, 2025 15:55
JosephTLyons pushed a commit that referenced this pull request May 9, 2025
This PR's main goal is to show the delete thread button when the list
item is either focused or hovered. In order to do that, we ended up
refactoring (i.e., merging) the `PastThread` and `PastContext` elements
into a single `HistoryElementEntry` that already matches to the entry
type (i.e., context or thread).

Release Notes:

- agent: Simplify the UI by showing the delete thread icon button only
on hover or focus.

---------

Co-authored-by: Agus Zubiaga <[email protected]>
JosephTLyons pushed a commit that referenced this pull request May 9, 2025
This PR's main goal is to show the delete thread button when the list
item is either focused or hovered. In order to do that, we ended up
refactoring (i.e., merging) the `PastThread` and `PastContext` elements
into a single `HistoryElementEntry` that already matches to the entry
type (i.e., context or thread).

Release Notes:

- agent: Simplify the UI by showing the delete thread icon button only
on hover or focus.

---------

Co-authored-by: Agus Zubiaga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant