Skip to content

feat: Table experience improvements [AS-582]#38

Open
pigarevaoks wants to merge 7 commits intomainfrom
feature/AS-582-table-experience
Open

feat: Table experience improvements [AS-582]#38
pigarevaoks wants to merge 7 commits intomainfrom
feature/AS-582-table-experience

Conversation

@pigarevaoks
Copy link
Collaborator

Summary

  • Header styling: aligned padding, leading-none, align-top, smaller 16x16 icon buttons for sort/scroll/menu triggers
  • Master cell actions: renderActions / renderMenuForMoreAction via column meta, with hover-revealed action buttons, built-in ellipsis dropdown + tooltip
  • DropdownMenuInput: new reusable component with built-in Search icon, extracted outside scroll area to prevent focus ring clipping
  • Row states: fixed selected+hover overlay to match Figma (primary-hover 8%), added compound CSS selector
  • Scroll bounce: disabled vertical overscroll bounce (overscroll-none on ScrollAreaViewport)
  • Text component: added lineHeight variant (none, tight, snug, normal, relaxed)
  • ButtonBase: moved rounded-8 from base to per-size variants
  • Code quality: extracted shared tableHeaderButtonClass, named action layout constants, added comments for implicit CSS couplings

Test plan

  • Open Storybook → MasterCellWithActions story, verify actions appear on row hover
  • Verify actions stay visible when dropdown is open
  • Verify selected/hover/selected+hover row overlays match Figma
  • Open TableSettingsMenu → verify search input focus ring is not clipped
  • Verify no vertical scroll bounce in table
  • Run npx tsc --noEmit — no type errors
  • Run E2E tests

🤖 Generated with Claude Code

pigarevaoks and others added 7 commits March 12, 2026 14:19
- Restyle table header cells: align-top, py-8, leading-none, gap-0
- Add lineHeight prop to Text component
- Replace xsmall Button usage with custom 16x16 buttons in table
- Add theadRef + ResizeObserver for dynamic settings menu height
- Add per-column renderActions/renderMenuForMoreAction via column meta
- Create TableMasterCellActions component with built-in ellipsis dropdown
- Add MasterCellWithActions story
- Fix Link size in master cell (sm → md)
- Move rounded-8 to per-size variants in ButtonBase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract search input into a reusable DropdownMenuInput that renders
outside the scroll area in DropdownMenuContent (like DropdownMenuFooter),
preventing focus ring clipping. Use it in TableSettingsMenu.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix selected+hover row overlay to use primary-hover (8%) per Figma
- Add compound selector for selected+hover state override
- Remove vertical scroll bounce (overscroll-none on ScrollAreaViewport)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Extract shared tableHeaderButtonClass in classes.ts, used by
  TableSortHandler, TableHeadCellMenu, and TableScrollHandler
- Extract ACTIONS_PL/PR/GAP/ACTION_BUTTON_SIZE constants for
  master cell actions padding calculation
- Add comments to DropdownMenuInput explaining p-3/-m-3 ring space
- Remove stale bg token from TableMasterCellActions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

This PR is included in version 0.7.0-rc-feature-AS-582-table-experience.1

@pigarevaoks pigarevaoks changed the title feat: Table experience improvements (AS-582) feat: Table experience improvements [AS-582] Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant