feat: phase 5 groundwork (playback format 3, videos contracts, migration 0010, strings)
Lays down every contract the later parcels of owner review 1 phase 5 build on, so they compile against shared types without touching each other's files. - Settings format 3: export.playback (direction, loops, fades, hold), omitted at its default and member by member; RequiredFormat is 3 only while used. - OutputProgram public API with a forward-only body; still-frame job parameters (StillFrame, StillPhoto) routed to format-3 nodes only. - Render.Sha256/Kind, RenderCopy, RenderKind; JobKind.VideoCopy = 24. - Migration 0010 (sqlite, postgres): renders.sha256/kind, ix_renders_created, render_copies without a foreign key. - Videos protocol DTOs, client calls, ServerCapabilities.Videos (declared, not announced yet), ServerSettingsDto.VideosPath. - IVideoLibrary with a NotImplemented stub registered on the server; TrashKind.Videos, VideoTrashNames, VideoErrors. - en and it strings for the whole phase, five icons, decisions 1-22 and the open-question defaults; tests that used format 3 as "newer" now use 4. Refs #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
86aa07c1d7
commit
d472dfdec1
67 files changed
+2233
-244
No files matched your search
@@ -162,6 +162,14 @@ I["Mirror"] = ("M8 1.5 V3 M8 5.5 V7.5 M8 10 V12 M8 14 V14.5 M6 4 V12.5 H1.5 Z",
|
||||
I["Flip"] = ("M1.5 8 H3 M5.5 8 H7.5 M10 8 H12 M14 8 H14.5 M4 6 H12.5 V1.5 Z", "M4 10 L12.5 14.5 V10 Z")
|
||||
I["Straighten"] = ("M1.5 12.5 H14.5 M2.5 12.5 L13 6 "+arc(2.5,12.5,7,58.2,90), None)
|
||||
|
||||
# Owner review 1, phase 5: the Videos section (a clip in front of the stack of the others), Copy to folder, Save frame
|
||||
# (one frame of a filmstrip held), the playback fades (a ramp from black) and the boomerang direction (there and back).
|
||||
I["Videos"] = (rr(1.5,4,11,10,1.5)+" M4.5 1.5 H13 A1.5 1.5 0 0 1 14.5 3 V11.5", "M5.5 6.5 L9.5 9 L5.5 11.5 Z")
|
||||
I["CopyToFolder"] = (I["Folder"][0]+" M8 6.5 V11 M6 9 L8 11 L10 9", None)
|
||||
I["StillFrame"] = (I["Filmstrip"][0], rr(6,5.5,4,5,0.5))
|
||||
I["Fade"] = (rr(1.5,2.5,13,11,1.5), "M3 12 L13 4 V12 Z")
|
||||
I["Boomerang"] = ("M2 5 H11 A3 3 0 0 1 11 11 H3 M5 8.8 L2.8 11 L5 13.2", None)
|
||||
|
||||
# Glyphs that point along the reading direction (arrows, chevrons, start-aligned text lines): mirrored in RTL.
|
||||
# Everything else (clocks, media controls, the ▶ rendered status, symmetric shapes) never mirrors.
|
||||
DIRECTIONAL = {"Back", "Forward", "ChevronLeft", "ChevronRight", "ExternalLink", "Jobs", "Logs", "ViewList"}
|
||||
@@ -206,7 +214,8 @@ WEB = {"dashboard": "Library", "library": "Image", "users": "Users", "archive":
|
||||
"logs": "Logs", "menu": "Menu", "power": "Power", "moon": "Moon", "refresh": "Refresh", "close": "Close", "plus": "Plus",
|
||||
"copy": "Copy", "search": "Search", "grid": "ViewGrid", "list": "ViewList", "trash": "Delete", "upload": "Upload",
|
||||
"download": "Download", "back": "Back", "previous": "ChevronLeft", "next": "ChevronRight", "star": "Star",
|
||||
"starFilled": "StarFilled", "hero": "Hero", "image": "Image", "warning": "Warning"}
|
||||
"starFilled": "StarFilled", "hero": "Hero", "image": "Image", "warning": "Warning", "videos": "Videos",
|
||||
"play": "Play", "copyToFolder": "CopyToFolder", "stillFrame": "StillFrame", "fade": "Fade", "boomerang": "Boomerang"}
|
||||
STROKE = 'fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"'
|
||||
with write(os.path.join(here, "..", "..", "src", "Chronos.Server", "Admin", "web", "icons.js")) as f:
|
||||
f.write("// Generated by branding/ui-icons/icons.py (same 16-px set as the desktop apps). Do not edit by hand.\n")
|
||||
|
||||
Reference in new issue
Block a user