fix ontology explorer active parent nav#27461
Conversation
🟡 Playwright Results — all passed (17 flaky)✅ 3668 passed · ❌ 0 failed · 🟡 17 flaky · ⏭️ 89 skipped
🟡 17 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
…adata/OpenMetadata into ontology-sidebar-active
…adata/OpenMetadata into ontology-sidebar-active
Code Review ✅ Approved 2 resolved / 2 findingsFixes ontology explorer active parent navigation by extracting duplicate style-stripping logic and restoring baked positions in the data mode branch. ✅ 2 resolved✅ Bug: Asset/metric nodes lose baked positions in data mode branch
✅ Quality: Duplicated style-stripping logic should be extracted to helper
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
* fix ontology explorer active parent nav * fix data mode position issue * Addreesed comments * Refactor code * fix lint issue (cherry picked from commit ec556d5)



Describe your changes:
When navigating to the Ontology Explorer, "Govern" is not highlighted in the parent sidebar
Screen.Recording.2026-04-17.at.2.40.21.PM.mov
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
useOntologyExploreranduseOntologyGraphDerivedhooks for better state management.graphBuildersutility to encapsulate graph generation and metric integration logic.GraphEmptyStateto handle various empty graph scenarios with clearer user feedback.ONTOLOGY_EXPLORERroute to sidebar navigation for easier access.This will update automatically on new commits.