[PR #5606] [MERGED] fix: scope thread options hover state #5492

Closed
opened 2026-06-05 15:21:31 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5606
Author: @officialasishkumar
Created: 5/11/2026
Status: Merged
Merged: 5/11/2026
Merged by: @timothycarambat

Base: masterHead: 4994-thread-options-hover-state


📝 Commits (2)

  • c10f99c fix: scope thread options hover state
  • e64431a Merge branch 'master' into 4994-thread-options-hover-state

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx (+2 -2)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #4994

Description

Scopes the thread options hover state to the individual thread row. The active workspace wrapper also uses Tailwind's generic group class, so the nested thread option button was responding to the workspace hover state and revealing the three-dot menu for every thread in that workspace.

This uses a named Tailwind group for each thread row and keeps the existing mobile-visible, desktop-hover behavior. The option button also appears while focus remains within the row.

Visuals (if applicable)

N/A

Additional Information

Validated that the production CSS build emits the named group/thread hover and focus-within rules.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

Validation performed:

  • YARN_CACHE_FOLDER=.yarn-cache yarn install --frozen-lockfile --ignore-scripts in frontend
  • yarn lint:check in frontend
  • yarn build in frontend
  • git diff --check

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5606 **Author:** [@officialasishkumar](https://github.com/officialasishkumar) **Created:** 5/11/2026 **Status:** ✅ Merged **Merged:** 5/11/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4994-thread-options-hover-state` --- ### 📝 Commits (2) - [`c10f99c`](https://github.com/Mintplex-Labs/anything-llm/commit/c10f99c204e26c5901ab3bc40436d8bd5216da98) fix: scope thread options hover state - [`e64431a`](https://github.com/Mintplex-Labs/anything-llm/commit/e64431ae8036066555eaeecb17e2d5ca5961374a) Merge branch 'master' into 4994-thread-options-hover-state ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx` (+2 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #4994 ### Description Scopes the thread options hover state to the individual thread row. The active workspace wrapper also uses Tailwind's generic `group` class, so the nested thread option button was responding to the workspace hover state and revealing the three-dot menu for every thread in that workspace. This uses a named Tailwind group for each thread row and keeps the existing mobile-visible, desktop-hover behavior. The option button also appears while focus remains within the row. ### Visuals (if applicable) N/A ### Additional Information Validated that the production CSS build emits the named `group/thread` hover and focus-within rules. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [x] I have tested my code functionality - [ ] Docker build succeeds locally Validation performed: - `YARN_CACHE_FOLDER=.yarn-cache yarn install --frozen-lockfile --ignore-scripts` in `frontend` - `yarn lint:check` in `frontend` - `yarn build` in `frontend` - `git diff --check` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:31 -04:00
yindo closed this issue 2026-06-05 15:21:31 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5492