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
-3
View File
@@ -44,7 +44,6 @@ import (
"hamlog/internal/gridcache"
"hamlog/internal/integrations/udp"
"hamlog/internal/kpa"
"hamlog/internal/labels"
"hamlog/internal/lookup"
"hamlog/internal/lotwusers"
"hamlog/internal/netctl"
@@ -736,7 +735,6 @@ type App struct {
uls *uls.Store // US callsign→county/grid (offline FCC ULS), lazily opened
awardRefs *awardref.Repo
qslTemplates *qslcard.Repo
labelRepo *labels.Repo // label designer (stocks + templates)
operating *operating.Repo
udp *udp.Manager
udpRepo *udp.Repo
@@ -1187,7 +1185,6 @@ func (a *App) startup(ctx context.Context) {
}
a.awardRefs = awardref.NewRepo(conn)
a.qslTemplates = qslcard.NewRepo(conn)
a.labelRepo = labels.NewRepo(conn)
a.migrateAwardDefs() // upgrade legacy award definitions (enable + new fields)
a.seedBuiltinReferences() // first-run: populate built-in award reference lists
a.mirrorAwards() // keep <data>/awards/*.json in step with the database