Repository navigation
Conversation
TrackersProvider already clears a session after a permanent auth failure, but the user only sees a disconnected account in Services. Persist a separate reconnect marker for the affected tracker and profile. Restore the warning with that profile, and clear it after a successful connection or deliberate disconnect. Keep the existing generation guards so callbacks from an old profile cannot mark the new profile. Extend AuthErrorBanner with the service name and its existing login flow. Reuse translated text and focus controls, disable conflicting connect actions, and let the new action fit narrow screens with enlarged text. The existing clients retain ownership of failure detection; this adds no requests, polling, settings, playback notices, or shared queue changes. Local validation with Flutter 3.47.1: 118 tests passed across nine focused suites, including all five tracker bindings, persisted warning scope, stale callbacks, recovery, cancellation, temporary failures, existing connection launchers, and banner layout. Project analyzer, formatting, icon consistency, strict translation hygiene, and scripts/codegen.sh --check passed.
|
This is the smaller followup to #2677, rebuilt from main to follow the maintainer’s feedback: The goal is unchanged: make a lost tracker login visible and easy to reconnect. Plezy already detects permanent login failures, so this PR adds the missing notice to that existing path. This version keeps:
It leaves out the previous startup and resume account checks, periodic polling, interval settings, playback toast, dismissal controls, and SerialFutureQueue changes. It adds no automatic account checks or translation keys. The new PR contains three application files and three test files. Opening a separate PR keeps the review focused on the smaller change requested. The warning appears when normal tracker activity discovers a permanent login failure. This improves visibility and recovery without claiming to fix the underlying cause of an unexpected signout. |
… banner Upstream proposal: edde746#3058
TrackersProvider already clears a session after a permanent auth failure, but the user only sees a disconnected account in Services.
Persist a separate reconnect marker for the affected tracker and profile. Restore the warning with that profile, and clear it after a successful connection or deliberate disconnect. Keep the existing generation guards so callbacks from an old profile cannot mark the new profile.
Extend AuthErrorBanner with the service name and its existing login flow. Reuse translated text and focus controls, disable conflicting connect actions, and let the new action fit narrow screens with enlarged text. The existing clients retain ownership of failure detection; this adds no requests, polling, settings, playback notices, or shared queue changes.
Local validation with Flutter 3.47.1:
118 tests passed across nine focused suites, including all five tracker bindings, persisted warning scope, stale callbacks, recovery, cancellation, temporary failures, existing connection launchers, and banner layout. Project analyzer, formatting, icon consistency, strict translation hygiene, and scripts/codegen.sh --check passed.
AI assistance: OpenAI Codex (GPT 6).