-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
📝 Documentation Update Needed
A pull request was recently merged that may require documentation updates.
Source PR
- Repository: kubestellar/ui
- PR: refactor(treeView): implement fixed node styling ui#2295
- Merged: 2026-01-02T09:49:25Z
PR Summary
This PR refactors the TreeView component to implement fixed node styling, replacing the previous dynamic zoom-based scaling system. The changes simplify the codebase by removing zoom-dependent calculations and establishing consistent, fixed dimensions for tree view nodes across all zoom levels.
Changes Overview
- Refactored TreeViewNodes component - Removed dependency on
useZoomStoreand replaced dynamic scaling with fixed node styling - Updated useTreeViewData hook - Removed zoom-based scaling from layout engine (dagre) and replaced with fixed node dimensions (146px × 30px)
- Simplified NodeLabel component - Replaced dynamic width/height calculations with fixed values
- Removed zoom store dependencies from the tree view system
- Standardized node dimensions across the tree view
Files Changed
Multiple files changed in the tree view component system, including TreeViewNodes, useTreeViewData hook, and NodeLabel component
Action Required: The technical documentation writer agent will review this PR and identify specific documentation pages that need updates, then create a PR with the necessary changes.
/cc @technical-doc-writer
AI generated by scan-merged-prs
Metadata
Metadata
Assignees
Labels
No labels