Skip to content

feat(ui): SPEC-V0-3-0-SURFACE-MENU-WIRE-001 MS-1 — Surface×3 functional wire (carry from MENU-WIRE-001)#107

Merged
GoosLab merged 1 commit into
mainfrom
feature/SPEC-V0-3-0-SURFACE-MENU-WIRE-001
May 5, 2026
Merged

feat(ui): SPEC-V0-3-0-SURFACE-MENU-WIRE-001 MS-1 — Surface×3 functional wire (carry from MENU-WIRE-001)#107
GoosLab merged 1 commit into
mainfrom
feature/SPEC-V0-3-0-SURFACE-MENU-WIRE-001

Conversation

@GoosLab
Copy link
Copy Markdown
Collaborator

@GoosLab GoosLab commented May 4, 2026

Summary

Scope

  • REQ: 8 (REQ-SMW-001~008) ALL met
  • AC: 7 (AC-SMW-1~7) ALL PASS
  • Tests: +6 (T-SMW block) — 1355 → 1361 (lib unit). 회귀 0
  • 단일 파일 수정: crates/moai-studio-ui/src/lib.rs (+189 / -9)
  • SPEC: .moai/specs/SPEC-V0-3-0-SURFACE-MENU-WIRE-001/{spec.md, progress.md}

Carry

  • Carry-from: SPEC-V0-3-0-MENU-WIRE-001 §6 carry-to "Surface SPEC", SPEC-V0-1-2-MENUS-001 §3.1
  • Carry-to: 별 Pane SPEC (잔존 ClosePane / FocusNextPane / FocusPrevPane)

Test plan

  • cargo test -p moai-studio-ui --lib → 1361 PASS, 0 fail
  • cargo clippy -p moai-studio-ui --all-targets -- -D warnings → clean
  • cargo fmt --check -p moai-studio-ui → no diff
  • AC traceability table (progress.md)
  • 기존 1355 tests 회귀 0 (additive only)

🗿 MoAI email@mo.ai.kr

…al wire (carry from MENU-WIRE-001)

PR #100 carry §6 ("Surface SPEC") 의 첫 후속. View 메뉴의 NewTerminalSurface /
NewMarkdownSurface / NewCodeViewerSurface 3 stub 을 functional 로 변환하여
현재 focused pane 의 leaf_payloads 를 신규 Entity 로 교체한다. dispatch_command
의 surface.new.{terminal,markdown,codeviewer} namespace 도 동일 helper 로 routing
하여 parity 를 보장한다.

핵심 설계: cx-free routing helper (route_surface_new_to_kind) + cx-bound entity
creation 분리. handle_search_open / handle_open_file 와 동일 패턴.

REQ: 8 (REQ-SMW-001~008)
AC : 7 (AC-SMW-1~7) ALL PASS
Tests: +6 (T-SMW block) — 1355 → 1361, 회귀 0
Gates: clippy / fmt / cargo test ALL GREEN

Carry-from: SPEC-V0-3-0-MENU-WIRE-001 §6 carry-to "Surface SPEC"
Carry-to  : 별 Pane SPEC (잔존 ClosePane / FocusNext/PrevPane)

🗿 MoAI <email@mo.ai.kr>
@GoosLab GoosLab enabled auto-merge (squash) May 4, 2026 13:59
@GoosLab GoosLab merged commit 0090c20 into main May 5, 2026
15 of 17 checks passed
@GoosLab GoosLab deleted the feature/SPEC-V0-3-0-SURFACE-MENU-WIRE-001 branch May 5, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant