PromucFlow_constructor/app/client/src/pages/Editor
Aman Agarwal 246e32255b fix: google sheet datasource is incorrectly marked as unauthorised by reconnect modal logic. (#23888)
## Description
This PR constitues
- The "reconnect" modal logic was modified to use the
"isDatasourceAuthorizedForQueryCreation" function in the
"editorContextUtils.ts" file to verify the authorization state of the
Google Sheets plugin.
- Added a functionality to determine whether or not the plugin is Google
Sheets.

#### PR fixes following issue(s)
Fixes #23881
Fixes #23861
> 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
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## 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
- [ ] Manual
- [ ] Jest
- [ ] Cypress
>
>
#### 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:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] 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: manish kumar <manish@appsmith.com>
Co-authored-by: Ayush Pahwa <ayushpahwa96@gmail.com>
2023-06-01 15:40:34 +05:30
..
__tests__ feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
APIEditor fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
AppSettingsPane chore: Switch environment CE BE code split (#23755) 2023-05-26 21:50:59 +05:30
CanvasLayoutConversion feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CanvasPropertyPane feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
DataSourceEditor fix: google sheet datasource is incorrectly marked as unauthorised by reconnect modal logic. (#23888) 2023-06-01 15:40:34 +05:30
EditorAppName feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Explorer chore: Send orgId and instanceId on page create analytic events (#23489) 2023-05-29 18:05:38 +05:30
FirstTimeUserOnboarding feat: onboarding flow revamp for first time admin users: ce (#23581) 2023-05-25 23:51:56 +05:30
GeneratePage fix: google sheet datasource is incorrectly marked as unauthorised by reconnect modal logic. (#23888) 2023-06-01 15:40:34 +05:30
gitSync fix: google sheet datasource is incorrectly marked as unauthorised by reconnect modal logic. (#23888) 2023-06-01 15:40:34 +05:30
GlobalHotKeys feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
GuidedTour feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
IntegrationEditor fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
JSEditor fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
MultiSelectPropertyPane feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
PropertyPane fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
QueryEditor fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
SaaSEditor fix: google sheet datasource is incorrectly marked as unauthorised by reconnect modal logic. (#23888) 2023-06-01 15:40:34 +05:30
ThemePropertyPane feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetsEditor chore: Clean up unused and completed feature flags (#23062) 2023-05-25 10:58:41 +05:30
ActionSettings.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Canvas.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
CanvasPane.tsx feat: Multi Pane IDE: Phase 1 (#19261) 2023-01-09 10:54:41 +05:30
EditorHeader.tsx fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
EditorSaveIndicator.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
EntityNotFoundPane.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FormConfig.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FormControl.test.tsx feat: Maintain Focus and Context Phase 1 (#16317) 2022-10-17 20:46:38 +05:30
FormControl.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
HelpButton.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
index.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
loader.tsx
MainContainer.test.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
MainContainer.tsx chore: Switch environment CE BE code split (#23755) 2023-05-26 21:50:59 +05:30
MainContainerLayoutControl.test.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MainContainerLayoutControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MultiPaneContainer.tsx chore: Switch environment CE BE code split (#23755) 2023-05-26 21:50:59 +05:30
Popper.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
PropertyPaneHelpButton.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
RealtimeAppEditors.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
RequestConfirmationModal.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
routes.tsx feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
ShareApplicationForm.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
TabsPane.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
ToggleModeButton.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
utils.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetCard.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetCardsPane.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
WidgetSidebar.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetsMultiSelectBox.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30