Repository navigation
v0.23.0
Dashboard look, first start, problem panel, hold to switch, seven languages
Look
- A car-dashboard style:
- a dark gradient background, cards with depth, round icon buttons;
- the app's stop-start symbol on a soft glow: struck through in green for OFF, plain white for ON, a dashed amber ring with "?" for UNKNOWN;
- the state word sits in the ring, with the tag and the time of the last switch under it.
- Shared colours and drawables (
Ui), with animations that honour Android's animation scale (Motion).
Glance while driving
- The symbol shows the state at a glance. It animates once when a switch goes out (sweep, glow pulse), when the car confirms it (an expanding ring), and on failure (red flash and shake).
- Switch stop-start keeps its "Turns it ON/OFF" line, and shows Sending… with an amber bar while a command is out.
Problem panel
- One panel, one fix, in plain language:
- Confirm your car first;
- This car is not supported;
- Cannot reach the car (with Try Beta: reach the car without adb when that applies);
- Automatic switch failed;
- Switch not sent;
- Automatic switching is off;
- Cannot see the ignition.
- The fix opens the exact screen or row (Settings scrolls to it and outlines it). The order follows the existing
Feedback.of. The logic is the pureProblemclass, with tests.
First start
- A short guide: what the app does, then your CAN box (the existing cards), then Switch off at engine start (on) with optional Background start, then the diagnostics question (the same consent text).
- Installs that already confirmed a CAN box never see it.
- The logic is the pure
FirstRunclass, with tests. Background start runs through a sharedBackgroundStarthelper.
Fewer taps
- Hold the symbol for 0.7 s to switch (cancelled if an overlay covers the screen): the same checks as the button, and a short tap does nothing, so a bump can't switch it.
- Settings grouped with the most used first: AUTOMATIC, YOUR CAR, DIAGNOSTICS, UPDATES, BETA.
Languages (from #66)
- English, Català, Español, Français, Deutsch, Italiano, Português. Follows the system language, or the pick in Settings → LANGUAGE. Log and telemetry stay English. See #66.
Checked
sh test.shpasses (27 suites, with the newProblemTestandFirstRunTest).- On the 1920x720 emulator with a simulated PSA car:
- the first start;
- a drive with the automatic switch, a tap (Sending… then ON), UNKNOWN;
- NOT CONNECTED and CAR NOT SUPPORTED panels;
- split screen, Settings, Log and Help;
- the beta card list with the mismatch warning.
- A visual-verdict pass flagged the UNKNOWN hint missing, an unbalanced wide layout and panels overflowing 720 px. All three are fixed. The gauge ring was then replaced by the app's stop-start symbol (user feedback); visual-verdict on the symbol: 87, then 91 after capping the word width.
- All README screenshots are retaken, plus a new one of the first start.
Merging releases v0.23.0 (feat/).
🤖 Generated with Claude Code