Skip to content

Remove ARR Force Stop + quota canisters UI, settings collapse, chart tooltip fixes#663

Merged
javi11 merged 3 commits into
javi11:mainfrom
yoshitaka420:ui-cleanup-tooltip-fixes
Jun 5, 2026
Merged

Remove ARR Force Stop + quota canisters UI, settings collapse, chart tooltip fixes#663
javi11 merged 3 commits into
javi11:mainfrom
yoshitaka420:ui-cleanup-tooltip-fixes

Conversation

@yoshitaka420

Copy link
Copy Markdown
Contributor

Summary

Follow-up cleanup on top of #659: removes two features that didn't earn their complexity, brings a couple of config sections in line with the rest of the settings UX, and fixes chart tooltip papercuts on the Health page.

Changes

Removed: ARR Force Stop

Strips the Force Stop brake end to end — API routes (GET/POST/DELETE /api/arrs/pause), the worker's in-memory pause flag and gates, the Service.SetArrsPaused/IsArrsPaused wrappers, the health-worker defer checks (repairOutcomePaused), and the Queue page Cleanup-dropdown UI.

Queue auto-cleanup and the failure circuit breakers are untouched — the shared failure tracker, breaker bump/reset, CleanupStuckQueue, the importer-side breaker (HandleImportFailure), and the indexer history sync all keep working exactly as in #659. Tests updated accordingly (removed the Force Stop gate test + mock method).

Removed: Liquid Quota Canisters panel

Drops the ProviderQuota component and its vial-* CSS / liquid-wave keyframes from the Provider Health page. The backend quota tracking and reset-quota endpoint are retained — they're shared with the Dashboard and the provider config section.

Settings: collapse disabled sections

Failure Masking and Segment Cache sections now collapse their dependent fields when toggled off (same fade-in slide-in-from-top-2 animate-in reveal pattern as the SABnzbd and Arrs sections), instead of graying them out.

Health page polish

  • Stat-card hover highlight is now consistent across all cards (System Health icon, Download Traffic, Total Errors, Active Connections radial) — opacity-45 → group-hover:opacity-85
  • Removed the animate-bounce on the Total Errors icon
  • Chart tooltips: set zIndex on the recharts tooltip wrapper (it's positioned with transform, which creates a stacking context, so the legend painted over the tooltip and clipped the Total row), made the tooltip background fully opaque, disabled tooltip position animation (pie tooltip no longer slides around), and tinted the pie tooltip text with the hovered slice color

Testing

  • go build ./..., go vet, and go test ./internal/arrs/... ./internal/health/... pass
  • bun run check and bun run build pass

…hover polish

- remove Liquid Quota Canisters panel and vial CSS (backend quota APIs kept)
- remove ARR Force Stop end to end (routes, worker pause flag, UI); queue
  auto-cleanup and failure breakers untouched
- collapse Failure Masking and Segment Cache settings when disabled
- normalize stat-card hover highlights; drop Total Errors bounce
- tint pie tooltip text with hovered slice color
- make area-chart hover tooltip fully opaque so the legend doesn't bleed through
- zIndex on the recharts tooltip wrapper (transform creates a stacking
  context, so inner z-50 never lifted it above the legend - Total row
  was painted over)
- disable tooltip position animation (pie text no longer slides)
@javi11 javi11 merged commit 7c01190 into javi11:main Jun 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants