Skip to content

feat(web): group the detail page's More menu and move admin actions into Manage - #2657

Merged
Quick104 merged 3 commits into
mainfrom
feat/web-detail-menu-cleanup
Oct 18, 2026
Merged

Quick104 merged 3 commits into
mainfrom
feat/web-detail-menu-cleanup

Conversation

@Quick104

@Quick104 Quick104 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: changes #1162 C2, #1211 C1 and C2, #1152 C1 and C2, and #1153 C1 and C2 (the menu path to these actions moves; no results are recorded for them yet)

The More menu on a web item's detail page had grown into one flat list. An admin on an in-progress movie saw up to 19 actions with playback, library, watch party, metadata, marker and diagnostics actions mixed together, and regular users saw duplicates of controls that sit right next to the menu. This change groups the menu, moves management actions into a Manage submenu, and removes the duplicates.

Approach

All changes are in the web detail action bar (ActionBar) and its Subs picker. No API, server or client app changes.

  • The main menu has three groups, separated by dividers: playback (Shuffle, Play from Beginning, Reset Progress), library (Watchlist, Add to Collection, Download, Request Seasons, Not Interested) and Watch Together.
  • Edit Metadata, Match Item, Refresh Metadata, Edit Markers, Re-detect, Seek Previews, Split Versions, Media Info and View Play History move into a Manage menu that opens beside the main one. It opens on hover, or on click, Enter or ArrowRight, which also moves focus into it. ArrowLeft or Escape closes it and returns focus to Manage. Where there is no room beside the main menu, such as at phone width, it cascades over it. Each action keeps its existing permission check. A user with only one management action, such as a marker editor, sees it in the main menu instead of a one-item submenu.
  • Play from Beginning is left out of the menu when the Play button already offers it through the Resume / Play from Beginning prompt. Items with several versions skip that prompt, so they keep the menu entry.
  • Add Subtitles moves into the Subs picker as a "Search for Subtitles…" row pinned below the track list. It opens the same dialog.
  • The Watch Together section header is gone. "Start a party with this" becomes "Start a Watch Party", and Suggest / Play in still appear while you are in a live room.

The menu stays hand-rolled rather than switching to the Radix dropdown, to keep the existing performance and TV remote focus handling.

Validation

  • Typecheck, ESLint and Prettier: pass.
  • Web unit tests: full suite passes. The menu tests now cover the Manage submenu (click, hover, keyboard in and out, Escape), the single-action case, Manage following a scrolling main menu, and when Play from Beginning appears.
  • Manual: checked in a browser against a development server with real library data, as an admin, at desktop (1440×900) and phone (390×844) widths, on an in-progress movie with two versions and on an episode. Hovering, clicking and keyboard navigation all open Manage; the Subs picker's search row opens the subtitle search dialog. The evidence page has screenshots for both widths and recordings of the keyboard and hover flow and of subtitle search.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/pr-2657/

Surface and build: web app, desktop and phone widths, this branch against a development server.

  • Movie (in progress, two versions, admin): the menu goes from 19 rows plus a section header to 9 rows. Manage opens to the right of the main menu with the nine management actions in three groups.
  • Episode (admin): the menu goes from Download, Add Subtitles, the Watch Together header and party row, and seven admin rows to Download, Start a Watch Party and Manage.
  • Phone width: the same menus. Manage cascades over the main menu because there is no room beside it.
  • Subs picker: "Search for Subtitles…" stays pinned under the track list while the list scrolls.

Risks

  • Admins and curators reach management actions with one more hover or click.
  • Anyone used to Add Subtitles in the More menu now finds it in the Subs picker.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, directed by the author; author review pending
  • Adversarial review: n/a

🤖 Generated with Claude Code

Note

Group the item detail More menu and move admin actions into a Manage submenu

  • Reorganizes the ActionBar overflow menu into playback, library, party, and management groups separated by dividers that skip empty groups, in ActionBar.tsx
  • Adds a nested Manage submenu for multiple management actions. It opens on click, hover, or ArrowRight; closes on Escape, ArrowLeft, or sibling hover; repositions on scroll; and reuses the shared overflow-menu styles. A single management action stays in the main menu
  • Moves subtitle search out of the overflow menu into a sticky footer action in SubtitlesPopover.tsx
  • Behavioral Change: the Watch Together heading and status text are removed, the party action is renamed to Start a Watch Party, and Play from Beginning is hidden when the Play button already shows a resume-choice dialog

Macroscope summarized bc945f2.

Quick104 and others added 2 commits October 17, 2026 23:11
…ehind Manage

The detail page's More menu had grown to up to 19 flat rows for admins,
with playback, library, party, and management actions mixed together.

Group the menu into playback, library, and Watch Together sections, and
move metadata, marker, preview, and info actions into a Manage panel that
opens in place (Back, ArrowLeft, or Escape return to the main menu). A
user with a single management action sees it inline instead of a
one-item submenu.

Drop Play from Beginning when the Play button already offers it, drop
the Watch Together header, and move subtitle search into the Subs picker
as a pinned "Search for Subtitles…" row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… first

Manage replaced the More menu's contents with its own panel. Open it as
a second menu next to the first instead, on whichever side has room, so
the rest of the menu stays visible.

Hovering Manage opens it; a click, Enter, or ArrowRight opens it and
moves focus in; ArrowLeft or Escape closes it and returns focus to
Manage. Hovering or focusing another item closes it. On a phone with no
room beside the menu, it cascades over the first menu.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/XL 500–999 added + deleted lines (all files); change volume, not priority. label Oct 18, 2026
@silo-kody

silo-kody Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@macroscopeapp

macroscopeapp Bot commented Oct 18, 2026

Copy link
Copy Markdown

Evidence is incomplete for these visible changes:

  • web/src/pages/ItemDetail/components/ActionBar.tsx: the More menu’s grouping, item changes, and Manage submenu alter layout, copy, navigation, and focus. The text describes the intended behavior and manual checks, but provides no before-and-after captures; add matching desktop and phone-width captures and a short recording of the Manage focus/navigation flow.
  • web/src/pages/ItemDetail/components/SubtitlesPopover.tsx: the new pinned “Search for Subtitles…” row changes the Subs picker and opens a multi-step search flow. Add before-and-after captures of the picker and a short recording showing the row opening subtitle search.

Name the surface and build or commit for the captures. The PR’s surface/build statement alone does not show the changes to reviewers.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f001f889-dbd2-4bd0-924f-a1c937359391
📥 Commits

Reviewing files that changed from the base of the PR and between 053b163 and bc945f2.

📒 Files selected for processing: 2
  • web/src/pages/ItemDetail/components/ActionBar.menu.test.tsx
  • web/src/pages/ItemDetail/components/ActionBar.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

📝 Walkthrough

ActionBar now groups overflow actions and provides a separately positioned Manage submenu with pointer and keyboard interaction. Subtitle search is available from SubtitlesPopover. Updated tests cover menu actions, submenu behavior, and reset-progress choices.

Changes: Item detail menus

Layer / File(s) Summary
Grouped menu actions
web/src/pages/ItemDetail/components/ActionBar.tsx, web/src/pages/ItemDetail/components/SubtitlesPopover.tsx, web/src/pages/ItemDetail/components/ActionBar.menu.test.tsx
ActionBar groups playback, library, watch-party, and management actions. Restart appears in the menu only when the resume-choice dialog is not used. Subtitle search is offered through an optional sticky button in SubtitlesPopover. Tests cover party labels and reset-progress choices.
Manage submenu interaction
web/src/pages/ItemDetail/components/ActionBar.tsx, web/src/pages/ItemDetail/components/ActionBar.menu.test.tsx
ActionBar positions the Manage submenu beside the main menu where space permits. The submenu supports pointer interaction, ArrowRight to open, and ArrowLeft or Escape to close and restore focus. Tests cover submenu actions, hover behavior, keyboard navigation, positioning, and the single-action case.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  actor User
  participant ActionBar
  participant ManageMenu
  User->>ActionBar: Activate Manage
  ActionBar->>ManageMenu: Open and position submenu
  User->>ManageMenu: Select a management action
  ManageMenu->>ActionBar: Dispatch action and close submenu
Loading

Suggested reviewers: rhainland

Merge Risk: ⚪ Minimal · up to bc945

The menu changes preserve access to subtitle search and live-room details, and Manage follows the menu during scrolling. No concrete user-facing risk remains before merge.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description clearly explains the menu grouping, Manage submenu, subtitle search relocation, behavioral changes, validation, risks, and evidence. It is directly related to the changeset.
Title check Passed The title clearly identifies the main change: grouping the detail page More menu and moving administrative actions into Manage. It is concise and specific.
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@silo-triage silo-triage Bot added enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Oct 18, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 18, 2026

Copy link
Copy Markdown

The Validation tasks: line needs two scope updates. Refresh Metadata also moves into Manage, so include #1211 C2 with C1; the marker-editor entry changes affect Web admin #1152 C1/C2 as well as Web #1153 C1/C2. The detail-page subtitle row opens the existing upload/search dialog, so #1162 C2 is in scope; the in-player subtitle menu in #1162 C1 is unchanged. These task results are all still Not run, so there are no recorded results to invalidate.

Suggested line:
Validation tasks: changes #1162 C2, #1211 C1 and C2, #1152 C1 and C2, and #1153 C1 and C2 (detail-page menu paths move; no results are recorded yet)

Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed.

Posted via Macroscope — v1 validation impact

The scroll handler ignored scrolls inside the main menu, so with Manage
open, scrolling a tall main menu left Manage at its old position. Count
those scrolls while Manage is open; placing the main menu again places
Manage after it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@Quick104

Copy link
Copy Markdown
Contributor Author

Both Macroscope notes are addressed.

  • Evidence: the evidence page (linked in the PR body) has before/after captures of the More menu and the Subs picker at desktop and phone widths, plus two recordings: Manage with the keyboard and the pointer, and the Subs picker opening subtitle search. Screenshots are from 053b163 and recordings from bc945f2; the commit in between only changes how Manage follows a scrolling main menu.
  • Validation tasks: the line now reads changes #1162 C2, #1211 C1 and C2, #1152 C1 and C2, and #1153 C1 and C2. Refresh Metadata and the marker editor move behind Manage, so Manual metadata edit / identify / artwork — Web admin #1211 C2 and Marker authoring & editing — Web admin #1152 are in scope as suggested.

Posted with Claude Code (claude-opus-5-5).

@Quick104
Quick104 merged commit 2bf1fb0 into main Oct 18, 2026
24 checks passed
@Quick104
Quick104 deleted the feat/web-detail-menu-cleanup branch October 18, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish size/XL 500–999 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant