mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-12 04:01:35 +00:00
1. Prevent active-but-disabled Focused button by only disabling when viewMode is not already "focused" (viewMode !== "focused" && !canActivateFocusedMode). 2. Generalize inspector fallback copy — stale/invalid node IDs are not necessarily grouped items, so remove the misleading "Activate Focused mode" hint. 3. Move pluginRuntimeRef.current read out of render by converting canActivateFocusedMode from useMemo to useState + useEffect, resolving two ESLint "cannot access refs during render" errors and the missing toolbar-memo dependency warning. Co-authored-by: Sameer6305 <sskadam6305@gmail.com> Co-authored-by: KaifAhmad1 <kaifahmad087@gmail.com>