Skip to content

fix: fetch gsheet project id from cs added#21361

Merged
sneha122 merged 9 commits intoreleasefrom
fix/gs-project-id
Mar 21, 2023
Merged

fix: fetch gsheet project id from cs added#21361
sneha122 merged 9 commits intoreleasefrom
fix/gs-project-id

Conversation

@sneha122
Copy link
Copy Markdown
Contributor

@sneha122 sneha122 commented Mar 13, 2023

Description

File picker implementation for Limiting Gsheet Access requires google sheet project id. The changes in this PR gets the gsheet project id from cloud-services and returns it back to client. Client then uses this project id to open file picker and select required files.

Fixes #21298, #21362

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)

How Has This Been Tested?

  • Manual

Test Plan

Add Testsmith test cases links that relate to this PR

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

  • 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:

  • Test plan has been approved by relevant developers
  • Test plan has been peer reviewed by QA
  • Cypress test cases have been added and approved by either SDET or manual QA
  • Organized project review call with relevant stakeholders after Round 1/2 of QA
  • Added Test Plan Approved label after reveiwing all Cypress test

@github-actions github-actions bot added Query & JS Pod Issues related to the query & JS Pod Bug Something isn't working Google Sheets Issues related to Google Sheets Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Release labels Mar 13, 2023
@sneha122 sneha122 requested review from Irongade and sumitsum March 13, 2023 10:18
@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4403790741.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4403790741_1

@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4403821161.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://ce-21361.dp.appsmith.com

@github-actions
Copy link
Copy Markdown

The following are new failures, please fix them before merging the PR
  1. cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js

@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4404927584.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4405032123.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4405032123_1

@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4412784893.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4412784893_1

@sumitsum
Copy link
Copy Markdown
Contributor

Server side changes LGTM.

@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4414142010.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4414142010_1

@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4465887797.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4465887797_1

Irongade
Irongade previously approved these changes Mar 20, 2023
@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4466187299.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://ce-21361.dp.appsmith.com

@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4467015729.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://ce-21361.dp.appsmith.com

@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4467582463.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://ce-21361.dp.appsmith.com

@sneha122
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4468632952.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 21361.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=21361&runId=4468632952_1

@github-actions
Copy link
Copy Markdown

The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitWithJSLibrary/GitwithCustomJSLibrary_spec.js

@sneha122
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview

@github-actions
Copy link
Copy Markdown

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4475948324.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 21361.

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://ce-21361.dp.appsmith.com

@sneha122
Copy link
Copy Markdown
Contributor Author

This PR cannot be tested on DP, as DP generated with build-deploy-preview does not have cloud-services configured correctly. Hence as per this thread, we have decided to merge the PR and test the changes on release. CC: @prapullac @rohan-arthur

@prapullac prapullac added the Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable label Mar 21, 2023
@prapullac
Copy link
Copy Markdown
Contributor

As per above comment adding the label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Google Sheets Issues related to Google Sheets Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Query & JS Pod Issues related to the query & JS Pod Release Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Limit Gsheet Access - selected files are not being seen in the query dropdown

4 participants