Skip to content

feat: Integrate one click binding to sourceData of select and multi select widget#25750

Merged
somangshu merged 22 commits intoreleasefrom
feat/select-one-click-binding
Aug 10, 2023
Merged

feat: Integrate one click binding to sourceData of select and multi select widget#25750
somangshu merged 22 commits intoreleasefrom
feat/select-one-click-binding

Conversation

@sbalaji1192
Copy link
Copy Markdown
Contributor

@sbalaji1192 sbalaji1192 commented Jul 26, 2023

Description

We have changed the property control of sourceData of select and multi select widget to dropdowns which has one click-binding items.

PR fixes following issue(s)

Fixes #24780

Type of change

  • New feature (non-breaking change which adds functionality)

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

Test Plan

(https://github.com/appsmithorg/TestSmith/issues/2472)

Issues raised during DP testing

(#25750 (comment))

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

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview skipTests=true

@github-actions
Copy link
Copy Markdown

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

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview skipTests=true

@github-actions
Copy link
Copy Markdown

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

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview skipTests=true

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview skipTests=true

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions bot added Widgets Product This label groups issues related to widgets Enhancement New feature or request MultiSelect Widget Issues related to MultiSelect Widget One-click Binding Issues related to the One click binding epic Select Widget Select or dropdown widget and removed Enhancement New feature or request labels Jul 31, 2023
@github-actions github-actions bot added the Enhancement New feature or request label Aug 1, 2023
@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 1, 2023

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 1, 2023

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

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

  2. cypress/e2e/Regression/ClientSide/Binding/Widgets_Default_data_validation_spec.js
  3. cypress/e2e/Regression/ClientSide/Debugger/Widget_property_navigation_spec.ts
  4. cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/mongoDB_spec.ts
  5. cypress/e2e/Regression/ClientSide/Widgets/Dropdown/Dropdown_onOptionChange_spec.js
  6. cypress/e2e/Regression/ClientSide/Widgets/Dropdown/Dropdown_spec.js
  7. cypress/e2e/Regression/ClientSide/Widgets/ListV2/Childwigets/List_Select_Widgets_spec.js
  8. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect1_spec.js
  9. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect2_spec.js
  10. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect4_spec.js
  11. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect_label_value.ts
  12. cypress/e2e/Regression/ClientSide/Widgets/Select/Select_label_value.ts
  13. cypress/e2e/Regression/ClientSide/Widgets/Select/Select_widget1_spec.js
  14. cypress/e2e/Regression/ClientSide/Widgets/Select/select_Widget_Bug_spec.js
  15. cypress/e2e/Regression/ServerSide/OnLoadTests/JsOnLoad3_Spec.ts
  16. cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts
To know the list of identified flaky tests - Refer here

balajisoundar added 2 commits August 1, 2023 21:27
@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@laveena-en
Copy link
Copy Markdown
Contributor

/build-deploy-preview skipTests=true

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2023

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2023

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

  1. cypress/e2e/Regression/ClientSide/Debugger/Widget_property_navigation_spec.ts

  2. cypress/e2e/Regression/ClientSide/Git/GitSync/GitSyncedApps_spec.js
  3. cypress/e2e/Regression/ClientSide/SettingsPane/EmbedSettings_spec.ts
  4. cypress/e2e/Regression/ClientSide/Widgets/Dropdown/Dropdown_spec.js
  5. cypress/e2e/Regression/ClientSide/Widgets/ListV2/Childwigets/List_Select_Widgets_spec.js
  6. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect1_spec.js
  7. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect2_spec.js
  8. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect4_spec.js
  9. cypress/e2e/Regression/ClientSide/Widgets/Select/Select_widget1_spec.js
  10. cypress/e2e/Regression/ClientSide/Widgets/Select/select_Widget_Bug_spec.js
  11. cypress/e2e/Regression/Enterprise/AdminSettings/Admin_settings_spec.js
  12. cypress/e2e/Regression/ServerSide/LoginTests/LoginFailure_spec.js
  13. cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts
To know the list of identified flaky tests - Refer here

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2023

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

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 8, 2023

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 8, 2023

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

  1. cypress/e2e/Regression/ClientSide/BugTests/GitBugs_Spec.ts

  2. cypress/e2e/Regression/ClientSide/Debugger/Widget_property_navigation_spec.ts
  3. cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js
  4. cypress/e2e/Regression/ClientSide/Widgets/Dropdown/Dropdown_spec.js
  5. cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect1_spec.js
To know the list of identified flaky tests - Refer here

@laveena-en
Copy link
Copy Markdown
Contributor

Tested and verified this PR. LGTM
Test plan for coverage: #25750

Raised a separate issue for the last callout that needed design input here

Issues with suggested widgets requires BE's intervention. Discussion here

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 8, 2023

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

  1. cypress/e2e/BugTests/GitBugs_Spec.ts

  2. cypress/e2e/Debugger/Widget_property_navigation_spec.ts
  3. cypress/e2e/Widgets/Dropdown/Dropdown_spec.js
  4. cypress/e2e/Widgets/Multiselect/MultiSelect1_spec.js
To know the list of identified flaky tests - Refer here

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 8, 2023

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 8, 2023

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

  1. cypress/e2e/Regression/ClientSide/Debugger/Widget_property_navigation_spec.ts

  2. cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts
To know the list of identified flaky tests - Refer here

berzerkeer
berzerkeer previously approved these changes Aug 8, 2023
},
{
key: "formData.sortBy.data",
dynamicBindingPathList: [],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious , why have we removed these ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have added these items conditionally below

@sbalaji1192
Copy link
Copy Markdown
Contributor Author

/ok-to-test

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 9, 2023

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

@sbalaji1192 sbalaji1192 requested a review from berzerkeer August 9, 2023 07:44
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 9, 2023

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

@laveena-en laveena-en added the Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable label Aug 9, 2023
@somangshu somangshu merged commit 727d30a into release Aug 10, 2023
@somangshu somangshu deleted the feat/select-one-click-binding branch August 10, 2023 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request MultiSelect Widget Issues related to MultiSelect Widget One-click Binding Issues related to the One click binding epic Select Widget Select or dropdown widget Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable Widgets Product This label groups issues related to widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Select and multi select one click binding

4 participants