Commit 00f54f8
committed
feat(Common/SCM): Extend SCM provider DTO with input box state
Added the `InputBox` field of type `SourceControlInputBoxDTO` to the `SourceControlManagementProviderDTO` in the `Common` crate. This field represents the state of the SCM input box (commit message area) and is optional. Additionally, optimized serialization by adding `#[serde(skip_serializing_if = "Option::is_none")]` to the `Count`, `CommitTemplate`, and new `InputBox` fields to omit `None` values.
This change completes the SCM provider DTO definition in `Common`, enabling full representation of SCM state for the `Vine` gRPC layer. The `InputBox` field allows `Cocoon` to transmit input box state to `Mountain`, which can then propagate it to `Wind` for UI rendering. The serialization optimizations reduce payload size for gRPC communications between `Mountain` and `Cocoon`, improving performance for SCM workflows.
Refs: 4c0cc701 parent 4c0cc70 commit 00f54f8
File tree
1 file changed
+7
-0
lines changed- Source/SourceControlManagement/DTO
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
21 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
0 commit comments