Skip to content

refactor: extract mesh state - #85

Merged
zatevakhin merged 1 commit into
refactor/componentsfrom
refactor/mesh-state
Aug 20, 2026
Merged

refactor: extract mesh state#85
zatevakhin merged 1 commit into
refactor/componentsfrom
refactor/mesh-state

Conversation

@zatevakhin

Copy link
Copy Markdown
Collaborator

what changed

  • extract the complete 15-field mesh UI/application slice into private MeshState
  • move mesh focus/invite form types and pure transitions into src/mesh_state.rs
  • retain exactly eight cross-state App coordinators for popup, diagnostics, commands, remote identity/cwd, and attach behavior
  • migrate ACP, handler, and UI callers without compatibility forwards
  • add focused owner and cross-boundary characterization coverage

behavior preserved

  • valid node cursor and stale per-node session lists survive node replacement
  • remote session cursor, offset/limit, invite validation/errors, and fallback consumption remain unchanged
  • remote create keeps cwd: None; attach keeps load-then-subscribe and detached refresh ordering
  • remote location/cwd, opaque attach snapshot/config, and reconnect attach-first behavior remain session/runtime-owned and unchanged

validation

  • cargo fmt --all -- --check
  • cargo check --all-targets --all-features
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo build --all-targets --all-features
  • cargo test --all-targets --all-features -- --quiet (816 passed; 3.09s harness, 3.294s wall)
  • git diff --check

@zatevakhin
zatevakhin merged commit a3b5d2f into refactor/components Aug 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant