Commit Graph

16 Commits

Author SHA1 Message Date
Dandaedre 33798eeb6e
fix(M9.4): accept unnamed separators and spacers
Allow empty labels in profile validation and the separator popup; retain unique stable IDs and draw unnamed rules without a label gap.

PASS: failing-first empty-label config/TUI regressions; cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default workspace and independent MIDI/Pulse feature checks.
2026-10-16 19:34:19 +02:00
Dandaedre 2e03e8f60c
feat(M9.4): add separator sizes and independent decorations
Edit separator name, Slim/Standard/Thick/Fill size, and Plain/Line/Double/Box decoration in one popup. Persist presentation fields and distribute spare viewport space among Fill separators after fitting faders. Bump IPC to 19.

Verification PASS: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in hardware tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse. Targeted TUI suite passed after final viewport bounds adjustment. Regression coverage includes save/reload, popup cancellation, fill allocation, small displays, and saved-layout swapping.
2026-10-16 19:27:46 +02:00
Dandaedre a7587d45de
fix(M9.4): preserve saved fader order during TOML serialization
Normalize layout table source positions when moving entries or inserting separators. Parsed TOML previously restored old order despite successful edits, causing optimistic swaps to snap back after reload. Cover repeated moves, comments, hidden entries, and IPC refresh/save/server restart.

Verification: reproduced failure with save/reparse regression before fix. PASS: cargo test -p fader-config --test editor; cargo test -p fader_master --lib persisted_layout_reorders; cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features --quiet (2 opt-in hardware tests ignored); cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse.
2026-10-16 19:17:30 +02:00
Dandaedre 4e0d3e99a7
feat: configure pickup status presentation
Rust CI fader_master passed its selected CI mode.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Add persisted Detailed, Compact, Symbol, Color, and Hidden pickup-status modes to the Config page and both mixer layouts.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-16 19:11:40 +02:00
Dandaedre c1f3377914
feat: bootstrap controllers from MIDI discovery
Adopt a sole MIDI input when creating a managed profile, publish other unclaimed inputs to Config, and let the user add them as durable surfaces. Legacy empty profiles can add a safe Master fader, then Save and use the existing MIDI Learn flow without editing TOML.

Tests: cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/midir/pulse cargo checks
2026-10-16 19:05:29 +02:00
Dandaedre c7d2450efb
fix: move coupled feedback with learned controls
When a mute binding's feedback address follows its input message, update the feedback kind, channel, and number with the learned control. Preserve deliberately independent feedback mappings.

Tests: cargo test -p fader-config --test editor changing_a_mute_binding_moves_its_feedback_to_the_new_control --locked
Tests: cargo clippy -p fader-config --all-targets --all-features --locked -- -D warnings
2026-10-16 00:05:10 +02:00
Dandaedre 556e0bdfe1
feat: persist themes with a single save action
Store the selected theme in the validated profile, use it when the TUI starts without an explicit CLI override, and route both T and Config theme changes through revisioned edits. Remove the separate Apply operation so Save persists and activates the prepared configuration in one server-owned action. Bump the local IPC protocol for the new theme field and lifecycle.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 22:29:56 +02:00
Dandaedre c0129cecfa
feat: add configurable default MIDI controller
Persist and validate ui.default_controller, expose it in Config, and inherit it for unassigned volume and mute MIDI learn actions while preserving explicit binding surfaces. Bump the local IPC protocol for the new snapshot and edit fields.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 22:24:07 +02:00
Dandaedre acb0f609cb
feat: add horizontal mixer layout
Persist a vertical or horizontal mixer orientation in the profile and expose it in Config. Horizontal mode packs fader cards into width-aware bands while keeping separators full-width and respecting per-fader density.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:13:44 +02:00
Dandaedre bcba3e96eb
feat: add per-fader display sizes
Persist slim, standard, and thick mixer densities and expose them through the guided fader editor. Render slim faders on one line and make mixer scrolling account for variable row heights.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:02:54 +02:00
Dandaedre 93506e0a67
fix: project editor values from profiles
Publish configured group modes and pickup tolerances through IPC so the TUI renders server-owned draft values. Preserve unrelated group modes and fader tolerances during edits, and document the projection invariant. Protocol version is now 11.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features\nTests: cargo check --workspace --all-targets --no-default-features\nTests: cargo test --workspace --all-targets --no-default-features\nTests: cargo check -p midi --all-targets --no-default-features --features midir\nTests: cargo check -p volume_lib --all-targets --no-default-features --features pulse
2026-10-15 18:02:22 +02:00
Dandaedre 1da6da5da2
feat: add guided mixer fader editor
Open a field-oriented editor from mixer faders for capture selectors, group membership and mode, volume/mute learn or unset, and visibility. Preserve unrelated selectors and bindings, replace learned actions atomically, and publish the richer draft through protocol version 10.\n\nTests: cargo test --locked --workspace --all-targets --all-features\nTests: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:55:19 +02:00
Dandaedre 7790951c22
feat: add mixer layout drafts
Add a validated ordered mixer layout with fader visibility and separators, synthesize compatible entries for existing profiles, and provide comment-preserving reorder, hide/show, and separator edits.\n\nTests: cargo test --locked -p fader-config\nTests: cargo clippy --locked -p fader-config --all-targets -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:42:31 +02:00
Dandaedre 9941a79231
feat(M9.2): validate learned binding drafts
Test: cargo test -p fader-config --test editor

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:15:16 +02:00
Dandaedre b5d7ac9c5f
feat(M9.1): complete transactional profile mutations
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:09:20 +02:00
Dandaedre 9493183365
feat(M9.1): add transactional profile drafts
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:05:39 +02:00