feat(ui): pattern modes, bundles, and zone content kind
Add profile/preset/sequence JSON import and export; map preset mode to wire n6 with a mode dropdown for multi-mode patterns; zone edit shows presets or sequences only with content_kind on save; update catalogue and tests for merged pattern names. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -598,6 +598,39 @@ body.preset-ui-run .edit-mode-only {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.preset-mode-field {
|
||||
margin-top: 0.75rem;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.preset-mode-field label {
|
||||
display: block;
|
||||
font-weight: 500;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.preset-mode-input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0.5rem 0.6rem;
|
||||
background-color: #3a3a3a;
|
||||
color: #fff;
|
||||
border: 1px solid #4a4a4a;
|
||||
border-radius: 4px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.preset-mode-input:focus {
|
||||
outline: none;
|
||||
border-color: #6a9fff;
|
||||
}
|
||||
|
||||
#preset-editor-modal .preset-mode-field {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.n-input {
|
||||
flex: 0 0 var(--n-input-width, 5ch);
|
||||
width: var(--n-input-width, 5ch);
|
||||
@@ -1383,6 +1416,22 @@ body.preset-ui-run .edit-mode-only {
|
||||
min-width: 8rem;
|
||||
}
|
||||
|
||||
.zone-content-kind-row {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin: 0.35rem 0 0.75rem;
|
||||
}
|
||||
|
||||
.zone-content-kind-row label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.zone-devices-label {
|
||||
display: block;
|
||||
margin-top: 0.75rem;
|
||||
|
||||
Reference in New Issue
Block a user