Eliminate tab reload animation after saving card properties
- CardSection._animateEntrance: skip after first render to prevent card fade-in replaying on every data refresh - automations: use reconcile() on subsequent renders instead of full innerHTML replacement that destroyed and recreated all cards - streams: same reconcile() approach for all 9 CardSections - targets/dashboard/streams: only show setTabRefreshing loading bar on first render when the tab is empty Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -471,7 +471,7 @@ export async function loadTargetsTab() {
|
||||
// Skip if another loadTargetsTab or a button action is already running
|
||||
if (_loadTargetsLock || _actionInFlight) return;
|
||||
_loadTargetsLock = true;
|
||||
setTabRefreshing('targets-panel-content', true);
|
||||
if (!csDevices.isMounted()) setTabRefreshing('targets-panel-content', true);
|
||||
|
||||
try {
|
||||
// Fetch devices, targets, CSS sources, picture sources, pattern templates, and value sources in parallel
|
||||
|
||||
Reference in New Issue
Block a user