-
Notifications
You must be signed in to change notification settings - Fork 31
fixed the sorting key having same key #839
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
base: develop
Are you sure you want to change the base?
fixed the sorting key having same key #839
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
This PR needs some extensive testing before merging. Will take some time |
User description
Issue Tracking
JIRA:
Issue Type: BUG/ FEATURE
https://aottech.atlassian.net/browse/FWF-5331
Changes
PR Type
Bug fix
Description
Fix sorting when keys duplicate
Persist actual sort key in state
Disambiguate headers with unique keys
Prevent checkbox id collisions
Diagram Walkthrough
File Walkthrough
DragandDropSort.tsx
Unique checkbox ids to prevent collisionsforms-flow-components/src/components/CustomComponents/DragandDropSort.tsx
TaskList.tsx
Store and use actualSortKey; robust sort optionsforms-flow-review/src/components/TaskList/TaskList.tsx
TasklistTable.tsx
Unique sortable keys and persisted actualSortKeyforms-flow-review/src/components/TaskList/TasklistTable.tsx
taskHelper.ts
Build payload with actualSortKey to avoid clashesforms-flow-review/src/helper/taskHelper.ts