fix: OAuth pageId blocker (#27248)

## Description
> PageId was missing as part of code endpoint. This is because we move
save and authorisse button from DSForm to DSEditor.


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

#### Media
> [Video](https://czqtakk0ok.vmaker.com/record/mf3ietNJek5e0Vxs)
>
>
#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)
>
## 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

Tested the following on CE DP:

1. Tested import from home page with all Datasources - including OAuth
and GSheets
2. Tested fork of the above app into another workspace
3. Tested import from inside the application with Gsheets DS
4. Tested import from inside the application with OAuth DS
5. Tested fork of a GSheets application into a new workspace
6. Tested import from inside the application with multiple Datasources
including OAuth and Gsheets

#### Issues raised during DP testing
>
>
## 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
- [ ] 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
This commit is contained in:
ChandanBalajiBP 2023-09-13 18:00:38 +05:30 committed by GitHub
parent 3b09b562e3
commit 31560cdd74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,6 +960,7 @@ class DatasourceEditorRouter extends React.Component<Props, State> {
isSaving={isSaving}
isTesting={isTesting}
onCancel={() => this.onCancel()}
pageId={pageId}
pluginName={pluginName}
pluginPackageName={pluginPackageName}
pluginType={pluginType as PluginType}