chore(labels): park the label designer and printing on feature/labels

The feature needs more rounds than the next release can wait for, so main goes
back to before it: the packages, bindings, migration, UI and i18n all move to
the feature/labels branch, which holds every commit. The 0.26.23 block keeps
only the Station column.

The 0031 migration may already have run on a machine that launched a dev build;
the two label tables it created are inert and the recorded migration row is
harmless — the runner only applies filenames it has, so re-adding the migration
when the branch merges will skip cleanly there and apply everywhere else.
This commit is contained in:
2026-08-28 21:35:50 +02:00
parent de3a115ca6
commit 73cae855ed
21 changed files with 4 additions and 2631 deletions
@@ -1,30 +0,0 @@
-- Label designer: printable labels for paper QSL work.
--
-- Two tables because the two things have different lifetimes. A STOCK is the
-- physical roll in the printer (width, height, margins) — one per label size,
-- shared by every design printed on it. A TEMPLATE is one design (what goes on
-- the label) and points at the stock it was drawn for. Deleting a design must
-- never take the roll definition of the other designs with it.
--
-- kind separates the two families the operator designs: 'qso' (the label glued
-- on the QSL card, with its repeating QSO table) and 'address' (destination or
-- return address). is_default is per (kind, profile scope) — printing wants
-- "the QSO label" and "the address label" without asking every time.
CREATE TABLE label_stocks (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
json TEXT NOT NULL,
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now')),
updated_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))
);
CREATE TABLE label_templates (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
kind TEXT NOT NULL,
profile_id INTEGER REFERENCES station_profiles(id) ON DELETE SET NULL,
stock_id INTEGER REFERENCES label_stocks(id) ON DELETE SET NULL,
json TEXT NOT NULL,
is_default INTEGER NOT NULL DEFAULT 0,
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now')),
updated_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))
);
-2
View File
@@ -51,8 +51,6 @@ var settingsTables = []string{
"operating_stations_new",
"award_references",
"qsl_templates",
"label_stocks",
"label_templates",
"cluster_servers",
"integrations_udp",
"callsign_cache",