Commit 4c0cc70
committed
feat(Common/SCM): Add DTO for SCM input box state
Introduce `SourceControlInputBoxDTO` to represent the commit message input box state in the SCM workflow. This DTO includes:
- `Value` for current text content
- Optional `Placeholder` for empty state hint
- `Visible` flag for UI state (defaulting to `false`)
As part of the Common crate, this serializable struct enables type-safe communication between Mountain's SCM handlers and Wind's UI services via Tauri events. It completes the foundational DTO set for SCM operations (building on recent commits) and directly supports the implemented SCM workflow where Mountain manages git operations and provides UI state updates.
Refs #SCM-workflow1 parent f9c37e8 commit 4c0cc70
File tree
1 file changed
+20
-0
lines changed- Source/SourceControlManagement/DTO
1 file changed
+20
-0
lines changedLines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments