Repository navigation
Let users choose which quick actions thread rows show - #4265
Merged
Merged
Conversation
Adds a rowActions thread-list preference (default ["archive"], up to 3, empty allowed) edited from a new Customize row actions card that reuses the Customize list UX, and settable through `bb thread-list prefs`. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Archived rows show only the actions menu beside their unarchive button, so they reserve one action width regardless of rowActions. Adds the rowActions preference and Customize row actions entry to docs/configuration.md. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Move Customize row actions into the thread row actions menu. The card previews a thread row with three action slots; each slot picks an action or None, filled slots drag to reorder, and Done returns to the originating row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Row action ids follow the thread menu order, and the thread menu, context menu, and row quick buttons all render through ThreadRowAction with shared titles and icons. Move to section opens a section menu from the row. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Build quick action models from the row's sidebar actions instead of a hook per button, so rows keep base's hook count. - Return focus to the opened slot after picking an action. - Find the origin row's actions trigger by data attribute within that row. - Drop unknown stored row action ids on read instead of resetting. - Move the customize-row-actions context into a leaf module to break the rows/list import cycle. - Test menu order, Move/split filtering, slot focus, and lenient reads. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…visibility-thr_uxg8nhnedz # Conflicts: # plugins/thread-list/app/rows/ThreadActionsMenu.tsx # plugins/thread-list/app/rows/ThreadRow.test.tsx # plugins/thread-list/app/rows/ThreadRow.tsx # plugins/thread-list/skills/thread-list/SKILL.md
Filled slots are right-aligned, so filling a slot shifts actions and the picked action can land in a different slot than the one opened. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The slot menu returned focus to its own trigger on close, overriding the move to the slot that holds the picked action. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Name the catalog field label so action models spread it directly, and restore unrelated import wrapping. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
Thread rows always showed one Archive button on hover, and users could not change which quick actions appeared.
What changed
⋯menu opens a card in place of the list, like Customize list.⋯menu, right-click menu, and quick buttons share one action order, name, and icon.rowActionspreference:bb thread-list prefs get|set|reset rowActions.docs/configuration.mdand the thread-list skill. No server/daemon wire changes.Screenshots
Branch dev app, Chrome for Testing (headless via bb Browser Automation), 1280×800 at 2×. Before:
mainatfdd3de3b19. After: this PR.Thread row
⋯menu (after: row set to Pin, Move to section, Archive)Hovered thread row (after: Pin, Copy thread link, Archive)
New in this PR
How you verified
⋯and right-click menus matchmainapart from the new item.⋯button.36522b6903. RunBB-Thread-ID: thr_uxg8nhnedz
🤖 Generated with Claude Code