Commit graph

5 commits

Author SHA1 Message Date
e12a5ccb32 refactor(release-notes): drop the date field from the release registry
The date was kept in the registry as an authoring reference and never
rendered, but it was still a date sitting in the notes file, and a
date-shaped value can always find its way to a screen. The ReleaseNote
type has no date field at all now, so one cannot be added without a
deliberate change to the contract.

A test walks the registry and fails on any date — a stray property, a
headline or a line of copy — so the popup carries a release number and
a commit and nothing else.

Release 6 also says what it is: Payments and Approvals is in beta. The
schema and the enforcement hooks are live on the PocketBase, but the
backend behind the queue is still being worked on.
2026-11-05 01:19:50 +02:00
de6de3340f feat(whats-new): release 6 covers supplier payments and the theme picker
The payments and approvals queue, the theme rework and the release
number on the popup all landed since release 5, so the office is told
about them in one place.

The entry is the release number and the commit, never a date, and the
popup still renders no date of any kind.
2026-11-05 00:52:59 +02:00
a9e9efecba feat(whats-new): show the release number and commit instead of the date
The popup rendered the day each release went out, which gave the office
a way to ask what was done on a given day. Each release now shows its
number and the short SHA it shipped with, and the date-shaped version
string is gone from the registry.

The date formatter is deleted rather than hidden, so no code path can
put a date on screen, and a test fails the build if one comes back.

The 'seen' marker moves from the version string to the release number,
so the badge lights up once for everyone on this deploy and then
settles.
2026-11-02 20:41:17 +02:00
fd5bb11325 refactor(release-notes): give every release a number and a commit
The version strings are dates ("2026.11.01"), so a release has no
identity that is not a date. Every entry now also carries a release
number and the short SHA of the commit it went out with.

The date-shaped version string is left in place for now — the popup
switches over and drops it in the next commit, so this one stays
green on its own.

A test holds the numbering unique, contiguous and newest-first, and
holds every commit to a real SHA.
2026-11-02 20:35:57 +02:00
139ea259f4 feat(sidebar): What's New button and a Dark Mode section
The sidebar's bottom block gets two new controls:

- A "What's New" button that opens the release-note popup, with a badge
  until the operator has read the latest release.
- A Dark Mode section that replaces the old one-click toggle with an
  explicit Light/Dark switch, so the current mode is always visible
  instead of being inferred from the button's label.

The theme colour picker stays in Settings -> Appearance; the sidebar
carries the mode switch only, so the nav rail is not a strip of 16
coloured squares.
2026-11-02 07:13:51 +02:00