Skip to content

Feature/shared select component#66

Merged
fedorovvvv merged 3 commits into
developfrom
feature/shared-select-component
May 6, 2026
Merged

Feature/shared select component#66
fedorovvvv merged 3 commits into
developfrom
feature/shared-select-component

Conversation

@fedorovvvv
Copy link
Copy Markdown
Collaborator

No description provided.

fedorovvvv and others added 2 commits May 7, 2026 01:52
Clicking the cluster −/+ toggle previously reset the radial view's
zoom and pan because (1) toggleClusterCollapse forced didFit=false
and (2) the shape-tracking effect treated collapse-induced layout
changes identically to filter changes, retriggering fitToView().

Now: drop the explicit didFit reset on collapse, and gate the
shape-effect's didFit reset on collapsedSig stability so only
filter/data-driven shape changes refit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace the native <select> in PaneFrame with a bits-ui-based Select
component that lives in shared/ui and renders a Lucide icon next to
each of the 7 graph views (force, tree, radial, matrix, lanes, sankey,
sunburst). Trigger and listbox share the same iconography so the
active view is recognisable at a glance without reading the label.

The component is headless (bits-ui handles ARIA semantics and keyboard
navigation), styled exclusively with the existing CSS-variable design
tokens (no Tailwind, no inline styles), and exposed via @/shared/ui
for future consumers. The drag-handle in PaneFrame is updated to
ignore the new trigger and the portal-rendered listbox so picking a
view no longer fights the swap-pane gesture.

Adds two runtime deps to template/package.json: bits-ui and
@lucide/svelte. Build, svelte-check, and live render all green.

Refs: PRD-017
@fedorovvvv fedorovvvv merged commit 580f0db into develop May 6, 2026
3 checks passed
@fedorovvvv fedorovvvv deleted the feature/shared-select-component branch May 6, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant