Gesendet-Status, Agentur-Check, Rückgängig und Spieltag-Assistent
- Gesendet-Status pro Bild: Upload-Historie (FTP + Immich) mit Ziel und Zeit, grünes Abzeichen im Kontaktabzug, Anzeige in Lupe und IPTC-Fenster, Filter Gesendet/Nicht gesendet, bereits gesendete beim Upload überspringen, 'Als nicht gesendet markieren' - Agentur-Check vor dem FTP-Upload: Pflichtfelder, offene Variablen und Codes, Datum aus alter Vorlage, IIM-Längen, offene Trikot-Vorschläge, Mindestgröße; Prüffenster mit Bearbeiten/Erneut prüfen/ Nur fehlerfreie senden; Einstellungsseite und Schalter pro Server - Rückgängig/Wiederholen (⌘Z/⇧⌘Z) für Sterne, Farben, Tags, IPTC und Vorlagen, Schreibvorgänge serialisiert, in Textfeldern bleibt ⌘Z beim Text - Spieltag-Assistent (⌘⇧N, auch im Ingest und in der Matchday-Ansicht): Teams, Wettbewerbe und Muster werden gespeichert; erzeugt Vorlage im Aufbau der Basis-Vorlage, Ingest-Ordner, Trikot-Teams und aktive Code-Teams; Trikotfarben aus der Erkennung fließen ins Team zurück; Matchday nimmt die Teams aus dem Ereignis des Bildes - Tests für Spieltag-Generator, Agentur-Check und Gesendet-Log, README ergänzt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
22b2611228
commit
93ecdf03fc
22 files changed
+2119
-49
No files matched your search
@@ -117,6 +117,8 @@ struct AppSettings: Codable {
|
||||
/// PM ▾ drop-down lists per IPTC field (imported from PM + recently used values)
|
||||
var fieldLists: [String: [String]] = [:]
|
||||
var jersey = JerseySettings()
|
||||
/// Agentur-Check rules
|
||||
var preflight = PreflightOptions()
|
||||
|
||||
init() {}
|
||||
|
||||
@@ -142,6 +144,7 @@ struct AppSettings: Codable {
|
||||
lastTemplateID = try? c.decode(UUID.self, forKey: .lastTemplateID)
|
||||
fieldLists = (try? c.decode([String: [String]].self, forKey: .fieldLists)) ?? [:]
|
||||
jersey = (try? c.decode(JerseySettings.self, forKey: .jersey)) ?? JerseySettings()
|
||||
preflight = (try? c.decode(PreflightOptions.self, forKey: .preflight)) ?? PreflightOptions()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,6 +159,8 @@ enum Storage {
|
||||
static var templatesURL: URL { appSupport.appendingPathComponent("templates.json") }
|
||||
static var codesURL: URL { appSupport.appendingPathComponent("codes.json") }
|
||||
static var codeLibraryURL: URL { appSupport.appendingPathComponent("codelibrary.json") }
|
||||
static var sentLogURL: URL { appSupport.appendingPathComponent("sent-log.json") }
|
||||
static var spieltagURL: URL { appSupport.appendingPathComponent("spieltag.json") }
|
||||
|
||||
static func load<T: Decodable>(_ type: T.Type, from url: URL) -> T? {
|
||||
guard let d = try? Data(contentsOf: url) else { return nil }
|
||||
|
||||
Reference in new issue
Block a user