-
Notifications
You must be signed in to change notification settings - Fork 61
[WC-1784] DG: Column drag and drop enhancements #1989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yordan-st
wants to merge
12
commits into
iobuhov_next
Choose a base branch
from
feat/WC-1784_DG-coldrag-enhance
base: iobuhov_next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
0f9af81 to
fb41b35
Compare
6b44437 to
fc9dceb
Compare
5f3b6d2 to
0520f25
Compare
736304d to
e3a4e71
Compare
8e73071 to
7bb9a06
Compare
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/features/column/ColumnHeader.viewModel.ts
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/__tests__/Header.spec.tsx
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/features/column/HeaderDragnDrop.viewModel.ts
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/features/column/HeaderDragnDrop.viewModel.ts
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/ColumnContainer.tsx
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/ColumnContainer.tsx
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/ColumnContainer.tsx
Outdated
Show resolved
Hide resolved
iobuhov
requested changes
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/ColumnHeader.tsx
Outdated
Show resolved
Hide resolved
packages/pluggableWidgets/datagrid-web/src/features/column/HeaderDragnDrop.viewModel.ts
Show resolved
Hide resolved
iobuhov
reviewed
Nov 27, 2025
packages/pluggableWidgets/datagrid-web/src/components/ColumnContainer.tsx
Outdated
Show resolved
Hide resolved
e430570 to
e3a73dd
Compare
7bb9a06 to
fba291a
Compare
…lified architecture
75213b1 to
bb74b16
Compare
iobuhov
reviewed
Nov 28, 2025
packages/modules/data-widgets/src/themesource/datawidgets/web/_datagrid.scss
Show resolved
Hide resolved
iobuhov
reviewed
Nov 28, 2025
packages/pluggableWidgets/datagrid-web/src/model/hooks/injection-hooks.ts
Outdated
Show resolved
Hide resolved
iobuhov
reviewed
Nov 28, 2025
iobuhov
reviewed
Nov 28, 2025
iobuhov
reviewed
Nov 28, 2025
packages/pluggableWidgets/datagrid-web/src/features/column/HeaderDragnDrop.viewModel.ts
Show resolved
Hide resolved
iobuhov
reviewed
Nov 28, 2025
packages/pluggableWidgets/datagrid-web/src/model/containers/Datagrid.container.ts
Outdated
Show resolved
Hide resolved
iobuhov
requested changes
Nov 28, 2025
packages/pluggableWidgets/datagrid-web/src/features/column/HeaderDragnDrop.viewModel.ts
Outdated
Show resolved
Hide resolved
iobuhov
requested changes
Nov 28, 2025
| } | ||
|
|
||
| export const ColumnHeader = observer(function ColumnHeader(): ReactElement { | ||
| const { header, canSort, alignment, toggleSort } = useColumn(); |
Collaborator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toggleSort will break.
replace with this:
const { header, canSort, alignement } = column
...
getSortProps(() => column.toggleSort)
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.
Pull request type
Description
TODO
features/column