PromucFlow_constructor/app/client
Ayush Pahwa f8752fd9ea
fix: refresh ds config on env switch (#26667)
## Description
Generate Page updates based on env switch
- Whenever env is switched, the schema is refetched. Based on this, the
datasource options for the dropdown have to be refreshed (since that
causes the isValid flag to change)
- Update the selected ds option based on the update of ds options
- Hide searchable columns if the datasource schema is fetching or schema
fetched fails

#### PR fixes following issue(s)
Fixes #26206 

#### Type of change

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

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing

https://github.com/appsmithorg/appsmith/pull/26667#issuecomment-1698704257
>
>
>
## Checklist:
#### Dev activity
- [ ] 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
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [x] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [x] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-09-05 08:49:10 +07:00
..
.husky fix: pre-commit logic (#25324) 2023-07-12 12:37:05 +03:00
.yarn chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
cypress fix: refresh ds config on env switch (#26667) 2023-09-05 08:49:10 +07:00
docker/templates chore: Remove unused NGINX templates (#26426) 2023-08-17 19:54:58 +05:30
generators
packages chore: unit test for bgAccentActive (#26916) 2023-09-04 17:58:25 +03:00
perf
public fix: googleapi script loading for import apps (#26708) 2023-08-29 20:27:23 +01:00
src fix: refresh ds config on env switch (#26667) 2023-09-05 08:49:10 +07:00
test chore: Add SAVE_ACTION analytics event (#25997) 2023-08-07 15:01:45 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.eslintrc.js chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.gitignore test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
.lintstagedrc
.nvmrc chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
build.sh chore: disable cra eslint (#24953) 2023-06-30 12:45:07 +03:00
craco.build.config.js
craco.common.config.js
craco.dev.config.js
cypress_ci_custom.config.ts chore: airtable spec skip (#26895) 2023-09-04 10:57:15 +05:30
cypress_ci_hosted.config.ts test: Downgrade Cypress to v12.17.4 to capture the screenshot & video for reporting (#26802) 2023-08-30 19:25:50 +05:30
cypress_ci-toremove.json test: Cypress | CI Stabilize (Skipped tests fixes) + Cypress upgrade to v13.0.0 (#26583) 2023-08-30 16:24:37 +05:30
cypress_ci.config.ts test: Downgrade Cypress to v12.17.4 to capture the screenshot & video for reporting (#26802) 2023-08-30 19:25:50 +05:30
cypress.config.ts test: Downgrade Cypress to v12.17.4 to capture the screenshot & video for reporting (#26802) 2023-08-30 19:25:50 +05:30
download-assets.js
jest.config.js chore: Add button v2 under feature flag (#25106) 2023-07-26 18:10:44 +05:30
package.json test: Downgrade Cypress to v12.17.4 to capture the screenshot & video for reporting (#26802) 2023-08-30 19:25:50 +05:30
README.md
README.old.md
start-https.sh chore: Detect other NGINX and offer to kill (#25478) 2023-07-19 16:39:11 +05:30
tailwind.config.js
tsconfig.json fix: bump storybook version and move stories to storybook package (#25821) 2023-07-31 19:15:50 +03:00
tsconfig.path.json
vercel.json
yarn.lock chore: WDS color docs (#26754) 2023-09-01 11:31:17 +03:00

Appsmith Client

This project was bootstrapped with Create React App.

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