Show the version under Settings; fit settings on phones #247

Merged
littlefox merged 4 commits from issue-245-version into main 2026-10-21 21:45:30 +00:00
Owner

Closes #245
Closes #246

  • Settings end with "NeoKOM X.Y.Z (commit) · webb|dator" (D-060). The commit comes from NEOKOM_COMMIT, a build arg passed by tools/web-image.sh and tools/web-image-ci.sh; desktop packages show the version only.
  • The settings screen was 680 px wide on phones; it now fits (grid column minmax(0, 1fr), fieldsets min-width: 0, selects max-width: 100%).

Verified: lint three ways, cargo test -p neokom, settings.spec on desktop, Android and iPhone (9/9), which now also checks the version line and that the screen does not scroll sideways; screenshots looked at.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #245 Closes #246 - Settings end with "NeoKOM X.Y.Z (commit) · webb|dator" (D-060). The commit comes from `NEOKOM_COMMIT`, a build arg passed by `tools/web-image.sh` and `tools/web-image-ci.sh`; desktop packages show the version only. - The settings screen was 680 px wide on phones; it now fits (grid column `minmax(0, 1fr)`, fieldsets `min-width: 0`, selects `max-width: 100%`). Verified: lint three ways, `cargo test -p neokom`, `settings.spec` on desktop, Android and iPhone (9/9), which now also checks the version line and that the screen does not scroll sideways; screenshots looked at. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
It was 680 px wide on a 390 px iPhone and scrolled sideways: the grid's
automatic column and the fieldsets' min-content width grew to the longest
select. Columns are now minmax(0, 1fr), fieldsets may shrink, and selects
stay within them. The settings spec checks for sideways scroll.

Refs #246

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Show the version under Settings
Some checks failed
ci / check (push) Has started running
ci / desktop (push) Has started running
packaging / arch (pull_request) Has started running
packaging / debian (pull_request) Has started running
packaging / fedora (pull_request) Has started running
packaging / nix (pull_request) Has started running
ci / e2e (push) Has been cancelled
packaging / release (pull_request) Has been cancelled
ea18e9f8b4
The user couldn't tell which NeoKOM a deployment runs without making a
post. The last line of Settings now says the version, web or desktop, and
for image builds the commit, so home builds between releases (which carry
the last release's number) can be told apart (D-060).

Refs #245

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Merge remote-tracking branch 'origin/main' into issue-245-version
Some checks failed
packaging / arch (pull_request) Successful in 15m43s
ci / check (push) Successful in 16m14s
ci / desktop (push) Successful in 22m26s
packaging / debian (pull_request) Successful in 28m23s
packaging / fedora (pull_request) Successful in 31m43s
ci / e2e (push) Successful in 38m31s
packaging / nix (pull_request) Failing after 35m32s
packaging / release (pull_request) Has been cancelled
935fed70ee
# Conflicts:
#	docs/DECISIONS.md
Re-run CI: the nix job died without a log (#119)
All checks were successful
ci / check (push) Successful in 9m33s
ci / desktop (push) Successful in 16m7s
packaging / arch (pull_request) Successful in 16m51s
packaging / debian (pull_request) Successful in 17m23s
packaging / nix (pull_request) Successful in 20m18s
packaging / fedora (pull_request) Successful in 28m47s
packaging / release (pull_request) Has been skipped
ci / e2e (push) Successful in 32m24s
4406bd992a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-22 14:11:05 +00:00
Sign in to join this conversation.
No description provided.