Skip to content

fix(web): offer pause, resume and stop on the Activity page - #2281

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/admin-activity-playback-controls
Oct 13, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/admin-activity-playback-controls

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: #1205
Validation tasks: unblocks #1207 C1

The Activity page in web admin had no way to pause, resume or stop a session. Its session menu listed only View Logs, FFmpeg Logs and Message…, plus the inline Terminate button. Pause, Resume and Stop existed only in the Recent Activity widget on the dashboard, although the user manual sends administrators to Admin > Activity for them.

The Activity page renders the shared session actions with the inline layout, and that layout replaced the playback items with a bare "Session Actions" label.

Approach

Both layouts now list Pause or Resume (when the session supports live control) and Stop. The inline layout keeps its "Session Actions" label, its inline Terminate button and the log links; a session without live control shows the existing limited-control note once, as before. Web admin only; no API change.

Validation

  • Web admin, desktop (1440 px) and mobile (390 px): on a local server with a direct-play session and a transcode session from different clients, Pause, Resume, Message and Stop from one row reached only that player; the other session kept playing.
  • Focused Vitest for the session actions, including the inline layout: pass.
  • Full gate from CONTRIBUTING.md: Go build, vet, gofmt, make lint-changed, web lint, format, build and budget, make test-web and every verify-* target pass. make test-go has failures that occur the same way on unmodified main on the macOS machine used (hardware-acceleration probes, the Chromaprint preflight, TestAdminResourceCapabilitiesAndScope, one transcode-segment timing test, TestAdminSubtitleListPageDB).

Evidence

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

Risks

None identified.

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
  • Tool(s): Claude Code (Bash, file edits, subagents), GitHub CLI (gh), Playwright
  • Model(s): Claude Opus 5.5 (claude-opus-5-5)
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: A separate Claude Code review pass (/code-review, medium) covered this branch together with the other [v1] Active sessions / now-playing / remote control #1205 fixes. It reported no findings for this branch. This was an AI self-review; no independent human review is claimed.

The Activity page's session menu used the inline layout, which dropped the
Pause/Resume and Stop items and kept only Message and Terminate. Administrators
could pause, resume or stop a session only from the dashboard widget, although
the user manual points them to Activity.

Both layouts now list the playback actions; the Activity page keeps its inline
Terminate button and log links.
@silo-kody

silo-kody Bot commented Oct 11, 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 ❌

@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87840f50-d593-42ef-8eec-5dad479bd332

📥 Commits

Reviewing files that changed from the base of the PR and between 2365c5c and 7b57b80.


📒 Files selected for processing (2)
  • web/src/components/AdminSessionActions.tsx
  • web/src/components/adminSessionActionsUi.test.tsx

  • 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T17:25:11.435361Z 7b57b80 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-triage silo-triage Bot added bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Oct 11, 2026
@silo-triage

silo-triage Bot commented Oct 11, 2026

Copy link
Copy Markdown

Evidence is missing for the new Activity-page controls. Please add before/after captures of the session menu at desktop and phone widths, plus a short recording showing Pause, Resume and Stop acting on the selected session while another session keeps playing. Identify the builds used; the validation notes do not replace visible artifacts.

@Rhainland

Copy link
Copy Markdown
Contributor Author

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

The page now has recordings at desktop (1440) and phone width (390). In each, Pause, Resume and Stop are chosen from the Activity session menu for one session while a second session keeps playing. Only the target pauses, resumes and stops, and the other session stays listed and playing. The before build has no such menu entries, so the before captures show the old menu. Builds: before is main c32feb1; after is a local merge of this branch (7b57b80) with #2280 and #2282.

AI disclosure: written with Claude Code (claude-opus-5-5).

@Quick104
Quick104 merged commit e9eef85 into Silo-Server:main Oct 13, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants