summaryrefslogtreecommitdiff
path: root/player-android/android/app/src
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-22 16:43:08 +0300
committerPaul Buetow <paul@buetow.org>2026-05-22 16:43:08 +0300
commitd15b31ec2248846af2adede429e7278e374cb4c3 (patch)
treee694aa7248b5d274caedd6837bbf823b0b83147c /player-android/android/app/src
parent874a305bbc23e9a1e6428b4e87071c3567317545 (diff)
Implement AdminPermissionsScreen, RescanScreen, and TrashScreen (eb)
Add three admin-only screens with routes and navigation tiles: - AdminPermissionsScreen: permission matrix (users × sets) with optimistic grant/revoke checkboxes; admin rows shown as disabled (implicit access). - AdminRescanScreen: trigger library rescan, poll getScanProgress every 2s while running, cancel timer in dispose, show live file/set counters. - AdminTrashScreen: list soft-deleted media with restore + hard-delete (confirmation dialog); optimistic UI with revert-on-error for both actions. All three use generation counters for stale-async cancellation and guard async continuations on mounted. Added error mappers and route constants. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/android/app/src')
0 files changed, 0 insertions, 0 deletions