T11a: Skeleton loading fade-out fixes
- Remove duplicate @keyframes shimmer (CSS conflict resolution) - Remove dead .skeleton/.shimmer-stat/.shimmer-bar CSS classes - Add hideSkeletons() fade-out to renderAssetList, renderCustList, renderActivity - Dashboard and reports already had restore*Content() fade-out
This commit is contained in:
+3
-3
@@ -4568,7 +4568,7 @@
|
|||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify(payload),
|
body: JSON.stringify(payload),
|
||||||
});
|
});
|
||||||
showToast('Asset created!');
|
showSuccessFeedback('Asset created!');
|
||||||
document.getElementById('ocrCreateCard').style.display = 'none';
|
document.getElementById('ocrCreateCard').style.display = 'none';
|
||||||
document.getElementById('ocrResult').style.display = 'none';
|
document.getElementById('ocrResult').style.display = 'none';
|
||||||
setOcrStatus('Ready — take another photo', 'success');
|
setOcrStatus('Ready — take another photo', 'success');
|
||||||
@@ -4874,7 +4874,7 @@
|
|||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify(payload),
|
body: JSON.stringify(payload),
|
||||||
});
|
});
|
||||||
showToast('Asset created!');
|
showSuccessFeedback('Asset created!');
|
||||||
clearDraft();
|
clearDraft();
|
||||||
AppState.currentAssetId = asset.id;
|
AppState.currentAssetId = asset.id;
|
||||||
autoCheckin(asset.id);
|
autoCheckin(asset.id);
|
||||||
@@ -6056,7 +6056,7 @@
|
|||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify(payload),
|
body: JSON.stringify(payload),
|
||||||
});
|
});
|
||||||
showToast('Asset updated!');
|
showSuccessFeedback('Asset updated!');
|
||||||
viewAsset(AppState.currentAssetId);
|
viewAsset(AppState.currentAssetId);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
showToast(e.message, true);
|
showToast(e.message, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user