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
-23
View File
@@ -21,7 +21,6 @@ import {solar} from '../models';
import {tunergenius} from '../models';
import {webpub} from '../models';
import {winkeyer} from '../models';
import {labels} from '../models';
import {alerts} from '../models';
import {audio} from '../models';
import {contest} from '../models';
@@ -726,28 +725,6 @@ export function KenwoodSendCW(arg1:string):Promise<void>;
export function KenwoodStopCW():Promise<void>;
export function LabelDeleteStock(arg1:number):Promise<void>;
export function LabelDeleteTemplate(arg1:number):Promise<void>;
export function LabelGetTemplate(arg1:number):Promise<string>;
export function LabelListStocks():Promise<Array<labels.Stock>>;
export function LabelListTemplates():Promise<Array<main.LabelTemplateInfo>>;
export function LabelOpenPDF(arg1:Array<main.LabelPDFPage>):Promise<string>;
export function LabelPaperQueue():Promise<Array<qso.QSO>>;
export function LabelSampleQSOs(arg1:number):Promise<Array<main.LabelSampleQSO>>;
export function LabelSaveStock(arg1:labels.Stock):Promise<number>;
export function LabelSaveTemplate(arg1:number,arg2:string,arg3:string,arg4:boolean):Promise<number>;
export function LabelSetDefaultTemplate(arg1:number):Promise<void>;
export function LaunchAutostartProgram(arg1:string):Promise<main.AutostartLaunchResult>;
export function LaunchAutostartPrograms():Promise<Array<main.AutostartLaunchResult>>;
-44
View File
@@ -1390,50 +1390,6 @@ export function KenwoodStopCW() {
return window['go']['main']['App']['KenwoodStopCW']();
}
export function LabelDeleteStock(arg1) {
return window['go']['main']['App']['LabelDeleteStock'](arg1);
}
export function LabelDeleteTemplate(arg1) {
return window['go']['main']['App']['LabelDeleteTemplate'](arg1);
}
export function LabelGetTemplate(arg1) {
return window['go']['main']['App']['LabelGetTemplate'](arg1);
}
export function LabelListStocks() {
return window['go']['main']['App']['LabelListStocks']();
}
export function LabelListTemplates() {
return window['go']['main']['App']['LabelListTemplates']();
}
export function LabelOpenPDF(arg1) {
return window['go']['main']['App']['LabelOpenPDF'](arg1);
}
export function LabelPaperQueue() {
return window['go']['main']['App']['LabelPaperQueue']();
}
export function LabelSampleQSOs(arg1) {
return window['go']['main']['App']['LabelSampleQSOs'](arg1);
}
export function LabelSaveStock(arg1) {
return window['go']['main']['App']['LabelSaveStock'](arg1);
}
export function LabelSaveTemplate(arg1, arg2, arg3, arg4) {
return window['go']['main']['App']['LabelSaveTemplate'](arg1, arg2, arg3, arg4);
}
export function LabelSetDefaultTemplate(arg1) {
return window['go']['main']['App']['LabelSetDefaultTemplate'](arg1);
}
export function LaunchAutostartProgram(arg1) {
return window['go']['main']['App']['LaunchAutostartProgram'](arg1);
}
-107
View File
@@ -1617,39 +1617,6 @@ export namespace kpa {
}
export namespace labels {
export class Stock {
id?: number;
name: string;
w_mm: number;
h_mm: number;
margin_top_mm: number;
margin_right_mm: number;
margin_bottom_mm: number;
margin_left_mm: number;
dpi: number;
static createFrom(source: any = {}) {
return new Stock(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.name = source["name"];
this.w_mm = source["w_mm"];
this.h_mm = source["h_mm"];
this.margin_top_mm = source["margin_top_mm"];
this.margin_right_mm = source["margin_right_mm"];
this.margin_bottom_mm = source["margin_bottom_mm"];
this.margin_left_mm = source["margin_left_mm"];
this.dpi = source["dpi"];
}
}
}
export namespace lookup {
export class Result {
@@ -2969,78 +2936,6 @@ export namespace main {
this.samples = source["samples"];
}
}
export class LabelPDFPage {
png: string;
w_mm: number;
h_mm: number;
static createFrom(source: any = {}) {
return new LabelPDFPage(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.png = source["png"];
this.w_mm = source["w_mm"];
this.h_mm = source["h_mm"];
}
}
export class LabelSampleQSO {
callsign: string;
qso_date: string;
time_on: string;
band: string;
freq: string;
mode: string;
rst_sent: string;
rst_rcvd: string;
name: string;
qth: string;
country: string;
static createFrom(source: any = {}) {
return new LabelSampleQSO(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.callsign = source["callsign"];
this.qso_date = source["qso_date"];
this.time_on = source["time_on"];
this.band = source["band"];
this.freq = source["freq"];
this.mode = source["mode"];
this.rst_sent = source["rst_sent"];
this.rst_rcvd = source["rst_rcvd"];
this.name = source["name"];
this.qth = source["qth"];
this.country = source["country"];
}
}
export class LabelTemplateInfo {
id: number;
name: string;
kind: string;
stock_id: number;
profile_id?: number;
is_default: boolean;
updated_at: string;
static createFrom(source: any = {}) {
return new LabelTemplateInfo(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.name = source["name"];
this.kind = source["kind"];
this.stock_id = source["stock_id"];
this.profile_id = source["profile_id"];
this.is_default = source["is_default"];
this.updated_at = source["updated_at"];
}
}
export class ModePreset {
name: string;
default_rst_sent?: string;
@@ -5243,7 +5138,6 @@ export namespace qso {
band?: string;
mode?: string;
station_callsign?: string;
qsl_sent_in?: string[];
limit?: number;
offset?: number;
@@ -5257,7 +5151,6 @@ export namespace qso {
this.band = source["band"];
this.mode = source["mode"];
this.station_callsign = source["station_callsign"];
this.qsl_sent_in = source["qsl_sent_in"];
this.limit = source["limit"];
this.offset = source["offset"];
}