Skip to content

Conversation

RomanPogorov
Copy link
Contributor

@RomanPogorov RomanPogorov commented Aug 20, 2025

Note

Adds DataTable, PatientTable, FHIRStructureView, ButtonDropdown, SegmentControl, and SplitButton; expands CodeEditor (SQL/YAML), TreeView options, Input prefix/suffix, and CopyIcon UX with stories/exports and new deps.

  • Components (new):
    • DataTable with column resizing/reordering/pinning; data-table.stories.tsx.
    • PatientTable demo with configurable columns and actions; stories added.
    • FHIRStructureView and story for structured resource trees.
    • ButtonDropdown with searchable popover; story added.
    • SegmentControl (radio-based segmented switch) and story.
    • SplitButton wrapper and story.
  • Editor:
    • CodeEditor: add sql and yaml modes (custom SQL dialect), expanded highlight styles, isReadOnlyTheme prop; updated stories incl. complex HTTP demo.
  • Tree View:
    • Refactor to named exports; add renaming feature, zebra/horizontal lines/chevron toggles; improved item rendering and styles.
  • UI/UX tweaks:
    • Input: prefix support, refined suffix/prefix/invalid styles.
    • CopyIcon: tooltip/toast, onCopy, customizable behavior.
    • RequestLineEditor: placeholder/autoFocus; custom toast on copy.
    • AlertDialogAction: supports variant/danger.
    • DropdownMenu: padding tweaks; Tabs: inactive text color.
    • New icons (ResourceIcon, BackoneElementIcon, ReferenceIcon, ComplexTypeIcon, TypCodeIcon, UnionIcon); SVG attr fixes.
  • Exports:
    • Re-export new components and toast; expose ui/tree helpers.
  • Config/Deps:
    • Add @codemirror/lang-sql, @codemirror/lang-yaml, @tanstack/react-table, chokidar and lockfile updates.
    • Biome: add a11y linter rules.

Written by Cursor Bugbot for commit 2cac5cf. This will update automatically on new commits. Configure here.

@rublag-hs rublag-hs force-pushed the design-update branch 2 times, most recently from f435e5f to c918ae7 Compare August 26, 2025 12:40
@rublag-hs rublag-hs force-pushed the design-update branch 2 times, most recently from dadec76 to f5fa6e4 Compare September 1, 2025 08:22
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Panthevm and others added 20 commits October 13, 2025 21:03
Issue: HealthSamurai/sansara#6378
Co-authored-by: Andrew Listopadov <[email protected]>
Issue: HealthSamurai/sansara#6378
Co-authored-by: Andrew Listopadov <[email protected]>
cursor[bot]

This comment was marked as outdated.

}
}, [open]);
setOpen(newOpen);
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Focus Timing Issue in Combobox

Removing the setTimeout for input focus when the combobox opens creates a timing issue. The focus() call might execute before the input element is fully rendered, preventing it from receiving focus.

Fix in Cursor Fix in Web

onSelectItem?.(null);
} else {
onSelectItem?.(tree.getItemInstance(newVal));
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Tree Initialization Timing Issue

The tree instance is referenced in treeConfig.setFocusedItem before it's initialized, leading to a ReferenceError when tree.getItemInstance is called. This also causes onSelectItem to be invoked with inconsistent types (null or an item instance).

Fix in Cursor Fix in Web

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.

5 participants