Skip to content

feat: Add Hide All Chats button#3780

Open
stargazerwh wants to merge 1 commit intoLAION-AI:mainfrom
stargazerwh:feature/hide-all-chats
Open

feat: Add Hide All Chats button#3780
stargazerwh wants to merge 1 commit intoLAION-AI:mainfrom
stargazerwh:feature/hide-all-chats

Conversation

@stargazerwh
Copy link

Description

This PR adds a "Hide All Chats" button to the chat list, allowing users to hide all visible conversations at once.

Changes

  • Added handleHideAllChats function in ChatListBase.tsx
  • Added a button with EyeOff icon to trigger hiding all chats
  • Button only appears when there are visible chats and view is set to "visible"

Related Issue

Closes #3287

Screenshots

N/A - UI change is minimal (ghost button added below Create Chat button)

Testing

  • Button appears when chats exist and view is "visible"
  • Button hides all chats when clicked
  • Button shows loading state during operation

Adds a button to hide all visible chats at once.
Closes LAION-AI#3287
@github-actions
Copy link

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

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.

Add a "Hide all Chats" button

1 participant