Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Transform API/Query data based on widget's expected data type after 1-click binding #28890

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

ohansFavour
Copy link
Contributor

@ohansFavour ohansFavour commented Nov 16, 2023

Description

In this PR, transformed API/Query data ( based on the widget's expected data type) is used after 1-click binding. This is aimed at improving 1-click binding success.

PR fixes following issue(s)

Fixes #28731

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
  • JUnit
  • 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 have been covered
  • Test plan covers all impacted features and 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

@github-actions github-actions bot added Enhancement New feature or request FE Coders Pod Issues related to users writing javascript in appsmith JS Evaluation Issues related to JS evaluation on the platform labels Nov 16, 2023
@ohansFavour
Copy link
Contributor Author

/ok-to-test

@ohansFavour
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6886815996.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28890.

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6886816594.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28890.
recreate: .

Copy link

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

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6886815996.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Binding/ButtonWidgets_NavigateTo_validation_spec.js

  2. cypress/e2e/Regression/ClientSide/BugTests/Bug18035_Spec.ts
  3. cypress/e2e/Regression/ClientSide/OtherUIFeatures/GlobalSearch_spec.js
  4. cypress/e2e/Regression/ServerSide/QueryPane/GoogleSheets_spec.ts
To know the list of identified flaky tests - Refer here

@ohansFavour
Copy link
Contributor Author

/ok-to-test

Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6887683341.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28890.

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6887683341.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Binding/ButtonWidgets_NavigateTo_validation_spec.js

  2. cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckBoxGroupTest.ts
To know the list of identified flaky tests - Refer here

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6887683341.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Binding/ButtonWidgets_NavigateTo_validation_spec.js

To know the list of identified flaky tests - Refer here

@ohansFavour ohansFavour force-pushed the feat/use-suggested-binding-in-one-click-binding branch from 8438701 to 0be7b61 Compare November 16, 2023 16:35
@ohansFavour
Copy link
Contributor Author

/ok-to-test

Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6893725902.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28890.

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6893725902.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Binding/ButtonWidgets_NavigateTo_validation_spec.js

  2. cypress/e2e/Regression/ClientSide/Git/GitSync/GitSyncedApps_spec.js
  3. cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Json_Spec.ts
To know the list of identified flaky tests - Refer here

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6893725902.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Binding/ButtonWidgets_NavigateTo_validation_spec.js

To know the list of identified flaky tests - Refer here

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6893725902.
Commit: ``.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

@ohansFavour ohansFavour merged commit dae3645 into release Nov 17, 2023
15 of 16 checks passed
@ohansFavour ohansFavour deleted the feat/use-suggested-binding-in-one-click-binding branch November 17, 2023 11:21
ohansFavour added a commit that referenced this pull request Nov 17, 2023
…fter 1-click binding (#28890)

## Description

In this PR, transformed API/Query data ( based on the widget's expected
data type) is used after 1-click binding. This is aimed at improving
1-click binding success.

#### PR fixes following issue(s)
Fixes #28731 
> 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
- [ ] JUnit
- [ ] 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/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] 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
- [ ] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request FE Coders Pod Issues related to users writing javascript in appsmith JS Evaluation Issues related to JS evaluation on the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Transform API/Query data based on widget's expected data type after 1-click binding
2 participants