ui: finish css state cleanup
This commit is contained in:
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
## Current
|
## Current
|
||||||
|
|
||||||
### `feat/frontend-css-state-cleanup`
|
### `feat/frontend-performance-polish`
|
||||||
|
|
||||||
Status: in_progress
|
Status: in_progress
|
||||||
|
|
||||||
DoD:
|
DoD:
|
||||||
- UI state visuals are driven by classes or semantic attributes instead of ad-hoc inline style mutation
|
- repeated derived views are cached or precomputed instead of recalculated per render path
|
||||||
- button disabled/loading states do not rely on manual style toggles
|
- UI interaction handlers avoid unnecessary full rerenders for small state changes
|
||||||
- wizard and workspace flows keep current behavior after state-class migration
|
- performance changes keep current page behavior and pass existing smoke checks
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ function bindSectionNavigation() {
|
|||||||
}, { threshold: 0.3 });
|
}, { threshold: 0.3 });
|
||||||
|
|
||||||
document.querySelectorAll('[id^="section-"]').forEach(function (section) {
|
document.querySelectorAll('[id^="section-"]').forEach(function (section) {
|
||||||
if (section.style.display !== 'none') {
|
if (!section.hidden) {
|
||||||
observer.observe(section);
|
observer.observe(section);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user