PromucFlow_constructor/app/client
Rahul Barwal 3552e47ae0
feat: enhance infinite scroll column merging in TableWidgetV2 (#40610)
## Description
<ins>Problem</ins>  
Existing columns could be lost during data updates when infinite scroll
was enabled, leading to inconsistent table display.

<ins>Root cause</ins>  
New column data from paginated responses was replacing the existing
column state instead of merging with it.

<ins>Solution</ins>  
This PR handles enhancing the column merging logic in infinite scroll
mode by combining new columns with existing ones, ensuring consistent
and complete column display across paginated data updates.

Fixes #40457
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Table"


### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14905173364>
> Commit: cb86d0f940cc97d8823b521ddd454e72eeb25f32
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14905173364&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table`
> Spec:
> <hr>Thu, 08 May 2025 11:53:39 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved handling of table columns when infinite scroll is enabled,
ensuring columns remain consistent and preventing data issues as new
pages are loaded.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-12 12:55:10 +05:30
..
.husky chore: adds depandabot.yml (#40521) 2025-05-01 05:44:04 +00:00
.yarn
config fix: sourcemaps (#39301) 2025-02-16 20:05:50 +03:00
cypress fix: update visibility condition for infinite scroll in TableWidgetV2 (#40474) 2025-04-30 10:14:35 +05:30
docker/templates
generators
packages chore: fix container query bug in ai chat widget (#40607) 2025-05-08 13:37:58 +05:30
public chore: add maximum-scale to avoid zoom on inputs in iOS (#40171) 2025-04-08 19:16:31 +05:30
scripts chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
src feat: enhance infinite scroll column merging in TableWidgetV2 (#40610) 2025-05-12 12:55:10 +05:30
test chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
typings
.babelrc chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
.dockerignore
.editorconfig
.eslintrc.base.json
.eslintrc.js
.fork-ts-checkerrc
.gitignore
.lintstagedrc.json chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml
build.sh fix: sourcemaps (#39301) 2025-02-16 20:05:50 +03:00
cypress_ci_custom.config.ts
cypress_ci_hosted.config.ts
cypress_ci.config.ts
cypress-add-tags.js
cypress.config.ts
download-assets.js
jest.config.js
knip.json chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
package.json chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
README.md
README.old.md
start-caddy.sh
start-https.sh chore: convert consolidated api etag to a weak one (#38939) 2025-01-31 16:35:20 +05:30
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock chore: downgrade tinymce from 7.7.1 to 6.8.3 in package.json (#40465) 2025-04-29 10:24:01 +05:30

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide