PromucFlow_constructor/app/client
sneha122 a963581222 fix: gsheet issue with import and redirection fixed (#27588)
## Description
This PR fixes issue with gsheet import and redirection. When an
application containing a couple of datasources like mysql, postgres and
gsheet are imported, we are shown reconnect datasource modal, suppose we
first configure all datasources except gsheet, lastly we select gsheet
datasource and save and authorise, we are not being redirected to
authorisation.

The issue occurred because after saving each datasource, that datasource
was disappearing from the list of datasources shown on left panel in
reconnect datasource modal, so if we configure gsheet datasource at
last, it would remove datasource from the list and lose all the context.
So the request sent to `/oauth` endpoint would be cancelled.

This PR essentially solves 2 issues:
- datasource disappearing from left panel in reconnect datasource modal
- gsheet datasource not being redirected to authorisation


#### PR fixes following issue(s)
Fixes #27520 
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### 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
Covered the following areas manually:
- workspace import with app containing multiple DS
- fork of above imported app into another workspace
- app level import with multiple DS
- importing an app without any datasources

>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] 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

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2023-09-26 12:07:23 +05:30
..
.husky chore: Updating pre-commit hook for staged files to not run spotless check if its a merge commit (#27170) 2023-09-15 19:33:25 +05:30
.yarn chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
cypress test: Cypress | CodeScanner1_spec from js to ts (#27487) 2023-09-20 14:31:22 +05:30
docker/templates chore: Remove unused NGINX templates (#26426) 2023-08-17 19:54:58 +05:30
generators chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
packages fix: Active color of primary buttons broken after ADS 2.0 migration (#26958) 2023-09-22 16:19:14 +05:30
perf
public fix: googleapi script loading for import apps (#26708) 2023-08-29 20:27:23 +01:00
src fix: gsheet issue with import and redirection fixed (#27588) 2023-09-26 12:07:23 +05:30
test chore: Rename and cleanup of editor components (#26944) 2023-09-12 19:44:02 +05:30
typings feat: enable CSS Modules fro WDS (#26162) 2023-09-15 10:17:06 +03:00
.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
craco.build.config.js
craco.common.config.js feat: enable CSS Modules fro WDS (#26162) 2023-09-15 10:17:06 +03:00
craco.dev.config.js
cypress_ci_custom.config.ts test: Cypess | Oracle DS validations added (Part 1) + CI Stabilize (#27161) 2023-09-13 22:33:14 +05:30
cypress_ci_hosted.config.ts test: Cypess | Oracle DS validations added (Part 1) + CI Stabilize (#27161) 2023-09-13 22:33:14 +05:30
cypress_ci.config.ts test: Cypress | CI Stabilize (#27202) 2023-09-12 17:33:51 +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 fix: bump postcss version (#27429) 2023-09-19 16:01:20 +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: add TextInput component and InputWidgetV3 (#26775) 2023-09-20 09:56:46 +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