Skip to content

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 14:43
2435c5a

New main screen, log in Settings, CAN box cards

Main screen

  • The log is gone from the main screen.
  • Two columns:
    • the stop-start state on the left: OFF green (the goal), ON white, UNKNOWN amber;
    • the switch on the right, with "Turns it ON/OFF" under it, and quieter when stop-start is already off.
  • The time of the last switch sits next to the tag ("14:18 · automatic", "14:18 · tap").
  • The link state is a pill: NOT CONNECTED and CAR NOT SUPPORTED are filled; SET UP YOUR CAR is tappable.
  • Switch off at engine start is a full-width row at the bottom, with the version and credit in a small footer.
  • Split screen keeps the state and the switch above the fold.

Log

  • Settings → DATA → Show log opens a Log screen:
    • the last 200 lines, the newest at the bottom;
    • it follows new lines while you are at the bottom;
    • failures and errors are amber;
    • the file path is at the foot.
  • The diagnostics line (sending, sent, send failed) is at the top of the Log screen and under Show log.
  • The main screen shows only a send failure, in the footer, which opens Settings.

CAN box

  • The setup is a list of cards, replacing the dropdown and its light dialog. Each card has a title, a sub-line and tags: MATCHES THIS HEAD UNIT, TESTED, UNTESTED.
  • A stable release shows two cards. A beta build groups them under BETA · UNTESTED and TESTED, with "not listed" last.
  • A box that is not what the head unit reports shows a warning beside the buttons, and Confirm becomes Use anyway. There is no second dialog.
  • When it asks again, it says why, for example "the head unit changed from profile 961 to profile 111".
  • Settings → CAR shows the confirmed box with its tags and a Change CAN box button that opens the same screen.

Fixed along the way

  • After a CAN pick in Settings, every switch showed Off.
  • Static hooks were cleared without checking whose they were.
  • The Log screen no longer re-reads an unchanged file.
  • Touches are filtered when another app draws over the setup buttons, the switch or "Change CAN box".

Reviews

  • UI/UX design and analyst before; architect, security and test after. All findings were fixed.
  • New tests: LogLine, CarSetup.matches, chips, confirmLabel, choiceTitle/choiceSub, Feedback.idle. sh test.sh passes.
  • Checked on the 1920x720 emulator with a simulated PSA car:
    • setup, drive, automatic switch, tap;
    • narrow layout, Settings, Log, Help;
    • the beta card list and the mismatch.
  • All screenshots are retaken.

Merging releases v0.22.0 (feat/).

🤖 Generated with Claude Code