feat(table): preview drawer with toggle button [AS-801]#69
Merged
pigarevaoks merged 2 commits intomainfrom Apr 1, 2026
Merged
Conversation
- Add `renderPreviewContent` prop to Table — auto-generates preview toggle button in master cell and renders non-modal Drawer - Add `TablePreviewDrawer` with smooth content swap (no close/open animation when switching rows) and lastPreviewRef for clean close - Add `TablePreviewToggle` with `PanelRightAnimated` icon (SVG width transition 3px↔6px) - Add `data-preview-active` on rows for active row highlight - Actions visible on active row via `group-data-[preview-active]/row` - Add `modal` prop to Drawer component (non-blocking mode) - `DrawerPositioner` uses `modal` for pointer-events passthrough - Remove deprecated `renderActions` and `renderPreviewAction` - Keep only `renderMenuAction` in column meta Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
This PR is included in version 0.17.0-rc-fix-AS-801-breadcrumb-navigation-attack-drawer.1 |
DrawerHeader is only rendered when title is provided. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
This PR is included in version 0.17.0-rc-fix-AS-801-breadcrumb-navigation-attack-drawer.2 |
Contributor
|
This PR is included in version 0.17.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
renderPreviewContentprop to<Table>— auto-generates preview toggle button in master cell and non-modal DrawerTablePreviewTogglewith animatedPanelRightAnimatedicon (SVG width transition)TablePreviewDrawerwith smooth content swap between rows (no open/close animation)data-preview-activeattributemodalprop toDrawercomponent for non-blocking moderenderActions/renderPreviewAction, keeprenderMenuActionTest plan
MasterCellWithActionsstory🤖 Generated with Claude Code