Add value source card crosslinks and fix scene initial value bias
- Audio value source cards link to the referenced audio source - Adaptive scene cards link to the referenced picture source - Fix SceneValueStream starting at 0.5 regardless of actual scene; first frame now skips smoothing to avoid artificial bias - Add crosslinks guidance to CLAUDE.md card appearance section Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -156,6 +156,7 @@ When creating or modifying entity cards (devices, targets, CSS sources, streams,
|
||||
- Clone (📋) and Edit (✏️) icon buttons in `.template-card-actions`
|
||||
- Delete (✕) button as `.card-remove-btn`
|
||||
- Property badges in `.stream-card-props` with emoji icons
|
||||
- **Crosslinks**: When a card references another entity (audio source, picture source, capture template, PP template, etc.), make the property badge a clickable link using the `stream-card-link` CSS class and an `onclick` handler calling `navigateToCard(tab, subTab, sectionKey, cardAttr, cardValue)`. Only add the link when the referenced entity is found (to avoid broken navigation). Example: `<span class="stream-card-prop stream-card-link" onclick="event.stopPropagation(); navigateToCard('streams','audio','audio-multi','data-id','${id}')">🎵 Name</span>`
|
||||
|
||||
### Modal footer buttons
|
||||
|
||||
|
||||
Reference in New Issue
Block a user