Skip to content

Conversation

riodeuno
Copy link
Contributor

@riodeuno riodeuno commented Mar 29, 2021

Description

Fix issue where table column order list gets duplicate values when reordering from the table headers, with a hidden column in between the start and end index of the dragged column

Fixes #3754 #3743 #3552

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Manually on JARVIS app

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

…ordering from the table headers, with a hidden column in between the start and end index of the dragged column
@riodeuno riodeuno requested a review from hetunandu March 29, 2021 21:33
@github-actions
Copy link

No changes to code coverage between the base branch and the head branch

@github-actions
Copy link

No changes to code coverage between the base branch and the head branch

@github-actions
Copy link

Test coverage results 🧪

Code coverage diff between base branch:release and head branch: fix/table-column-order 
Status File % Stmts % Branch % Funcs % Lines
🟢 total 61.09 (0.12) 42.51 (0.13) 37.82 (0.24) 63.63 (0.11)
🟢 app/client/src/components/designSystems/appsmith/TableComponent/TableHelpers.ts 100 (0) 80 (5) 100 (0) 100 (0)

@mohanarpit
Copy link
Member

/ok-to-test sha=7a58715

mohanarpit
mohanarpit previously approved these changes Apr 1, 2021
kaushik94
kaushik94 previously approved these changes Apr 1, 2021
@riodeuno riodeuno marked this pull request as draft April 5, 2021 08:55
@riodeuno riodeuno dismissed stale reviews from kaushik94 and mohanarpit via bb815da April 6, 2021 09:08
@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Test coverage results 🧪

Code coverage diff between base branch:release and head branch: fix/table-column-order 
Status File % Stmts % Branch % Funcs % Lines
🟢 total 42.46 (0.04) 26.44 (0.04) 20.22 (0.06) 44.91 (0.04)
🟢 app/client/src/components/designSystems/appsmith/TableComponent/TableHelpers.ts 100 (0) 80 (5) 100 (0) 100 (0)

@riodeuno riodeuno marked this pull request as ready for review April 6, 2021 09:17
@riodeuno riodeuno merged commit f5b97e3 into release Apr 7, 2021
@riodeuno riodeuno deleted the fix/table-column-order branch April 7, 2021 01:03
rajatagrawal pushed a commit that referenced this pull request Apr 17, 2024
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.

[Bug] Table primary columns incorrect index
6 participants