Repository navigation
fix(requests): remove request administration from the Apple apps - #746
Conversation
The Requests feature's acceptance criteria keep request administration (approve, decline, retry, limits, auto-approve) in the web admin, and the native validation tasks ask that no client expose it. The Apple apps still showed admins an approvals queue, a pending-approvals card on the hub and My Requests, Approve/Decline/Retry on the request detail page, and approval rows with a moderation context menu on tvOS. Remove all of it: the approvals route and page, the approvals view model and its hold logic, the moderation pin in the detail cache and event bus, the admin capability probe in RequestsFeatureStore, and the admin request client calls and models. Users keep their own request actions: request, cancel a pending request, and follow its status. A new test checks that probing the feature and opening a title someone else requested read only the viewer's own request endpoints.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to Native request administration moves to the web admin, while personal request flows remain described as supported. No actionable merge blocker is established. Pre-merge checks ·
|
Problem
Related issue: Silo-Server/silo-server#1201
Validation tasks: unblocks #328 C3, #329 C3
The Requests acceptance criteria say request administration (approve, decline, limits, auto-approve) stays in the web admin. The iPhone, iPad, Apple TV and Mac apps show admins a pending-approvals card, an approvals queue, and Approve, Decline and Retry on a request's detail page; on Apple TV a long-press menu puts Approve first, so one stray Select approves. This change removes request moderation from the Apple apps.
Approach
The approvals route and its view model, the hub's pending-approvals card, the detail page's Approve/Decline/Retry controls, the tvOS approval rows and context menu, the admin capability probe (
canModerate) and the admin request API calls are removed. Requesting, cancelling your own pending request and following a request's status are unchanged. A test asserts the request screens never call/api/v2/admin/requests.docs/requests-api-v2.mdnow says administration is web-only.#747 and #748 are stacked on this branch; merge this first.
Validation
Evidence
Evidence: https://evidence.siloserver.org/r/silo-apple/pr-746/
Risks
Admins who approved requests from the apps must use the web admin, which the published criteria already require.
Checklist
AI Disclosure
gh), Playwright, Xcodexcodebuild/simctl, Maestro, Android emulator/adbclaude-opus-5-5)