mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-10 04:00:35 +00:00
The set-state-in-effect refactor inlined each initial-fetch effect as a standalone `fetchInitial`, duplicating the logic of the existing reload/fetchOverview/fetchRegistry/loadVersions callbacks instead of reusing them (required, since eslint-plugin-react-hooks v7 flags calling an outside setState-touching function directly from an effect body, even through an async gap - verified via a local lint probe). The duplicates dropped the setError/flashMsg calls the originals had, so a failed initial page load in AlignmentsTab, KGOverviewTab, OntologyManager, and VersionsTab now failed silently instead of showing an error - a regression of the exact bug #767/#790 fixed for these same files. Also fixes LineageDiagram only clearing nodes/edges when the new activeId was falsy, leaving the previous lineage view's stale diagram on screen while switching directly between two ids.