|
1 | 1 | # Development History |
2 | 2 |
|
3 | | -**Last Updated:** May 10, 2026 |
| 3 | +**Last Updated:** May 10, 2026 |
4 | 4 | **Note:** Newest entries at top, oldest at bottom. |
5 | 5 |
|
6 | 6 | --- |
7 | 7 |
|
| 8 | +## TRANSCODE Tab UI Cleanup — Workflow Consolidation (May 10, 2026) |
| 9 | + |
| 10 | +**Status:** Complete. No backend changes. |
| 11 | + |
| 12 | +**Motivation:** TRANSCODE tab had a nested horizontal sub-tab row ("ADM to LUSID Scene", "ADM WAV to LUSID Package", "LUSID to ADM Export") creating a visually cluttered stacked-tab appearance. Desired a cleaner Spatial Root-style workflow panel with fewer visual tiers. |
| 13 | + |
| 14 | +**What changed:** |
| 15 | + |
| 16 | +- `source/gui/imgui/src/App.hpp`: |
| 17 | + - Reduced `kTcWorkflowNames[]` from 3 to 2: "ADM/BW64 to LUSID" and "LUSID to ADM/BW64" |
| 18 | + - Added `kTcOutputTypeNames[]` for output type selector: "Scene JSON only", "Full LUSID package" |
| 19 | + - Added `mTcOutputType` state variable to track output type selection |
| 20 | + - Unified the two ADM-to-LUSID workflows (formerly separate tabs) into a single UI with output type dispatch |
| 21 | + |
| 22 | +- `source/gui/imgui/src/App.cpp`: |
| 23 | + - Refactored `renderTranscodeTab()`: removed nested `ImGui::BeginTabBar("##tc_workflow")` sub-tab bar |
| 24 | + - Replaced with button-based workflow selector at the top: `[ADM/BW64 to LUSID]` / `[LUSID to ADM/BW64]` |
| 25 | + - Added top-level description: "Convert ADM, BW64/WAV, and LUSID assets for Spatial Root workflows." |
| 26 | + - Added output type dropdown inside "ADM/BW64 to LUSID" workflow (Scene JSON only vs Full LUSID package) |
| 27 | + - Output type selection routes to appropriate backend command: |
| 28 | + - Scene JSON only → `cult-transcoder transcode` (preserved) |
| 29 | + - Full LUSID package → `cult-transcoder package-adm-wav` (preserved) |
| 30 | + - LUSID to ADM/BW64 workflow uses `cult-transcoder adm-author` (preserved) |
| 31 | + - Updated all form labels to sentence-case: "Source", "Detected format", "Output type", "Output path", "Options", "Keep temp files for debugging" |
| 32 | + - Button labels changed to "Convert" and "Export ADM/BW64" (not all-caps) |
| 33 | + - Status display shows "Status: Idle/Running/Complete/Failed" |
| 34 | + |
| 35 | +- Backend preservation: |
| 36 | + - All three cult-transcoder subcommands remain wired: `transcode`, `package-adm-wav`, `adm-author` |
| 37 | + - All existing state fields retained (though workflow 1 fields now unused in UI but remain in class) |
| 38 | + - File browse behavior, temp-file toggle, format detection, LFE mode all preserved |
| 39 | + |
| 40 | +--- |
| 41 | + |
8 | 42 | ## Runtime Parameter Staging, Reset, and Single-Source Defaults (May 10, 2026) |
9 | 43 |
|
10 | 44 | **Status:** Complete. Covers `EngineSession` API, CLI, GUI, and docs. |
|
0 commit comments