Skip to content

feat: peek overlay nested properties + perf improvements#23414

Merged
eco-monk merged 59 commits intoreleasefrom
feat/peek-overlay-phase-2
May 26, 2023
Merged

feat: peek overlay nested properties + perf improvements#23414
eco-monk merged 59 commits intoreleasefrom
feat/peek-overlay-phase-2

Conversation

@eco-monk
Copy link
Copy Markdown
Contributor

@eco-monk eco-monk commented May 16, 2023

Fixes #23057
Fixes #23054

Description

TL;DR Added support for peeking on nested properties. e.g. Api1.data[0].id.

This won't work when:

  • local variables are involved in the expression.
    e.g. Api1.data[x].id won't support peeking at the variable [x] or anything after that.
  • library code is involved e.g. moment, _ etc...
  • when functions are called. e.g. Api1.data[0].id.toFixed()

Because these cases requires evaluation.

image

Media (old vs new)

https://www.loom.com/share/dedcf113439c4ee2a19028acca54045e

Performance improvements:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Testing

How Has This Been Tested?

  • Manual
  • Jest
  • Cypress

Test Plan

https://github.com/appsmithorg/TestSmith/issues/2402

Issues raised during DP testing

#23414 (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

@eco-monk
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/4993520084.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23414.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23414&runId=4993520084_1

@eco-monk
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/4993872765.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23414.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23414&runId=4993872765_1

@eco-monk
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/4997774286.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23414.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23414&runId=4997774286_1

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4997774286.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts

  2. cypress/integration/Regression_TestSuite/ClientSideTests/PeekOverlay/PeekOverlay_Spec.ts
  3. cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Others/IconButton_spec.js
  4. cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/False_Spec.ts
  5. cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/S3_1_spec.js
To know the list of identified flaky tests - Refer here

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4997774286.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/PeekOverlay/PeekOverlay_Spec.ts

To know the list of identified flaky tests - Refer here

@eco-monk
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview env=release skip-tests=true

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://appsmith-mton5vimp-get-appsmith.vercel.app

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5064992106.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ServerSide/JsFunctionExecution/JSFunctionExecution_spec.ts

To know the list of identified flaky tests - Refer here

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5064992106.
Commit: ``.
All cypress tests have passed 🎉

@eco-monk
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/5068323702.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23414.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23414&runId=5068323702_1

@eco-monk
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/5068359549.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 23414.
recreate: .

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5068323702.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ServerSide/JsFunctionExecution/JSFunctionExecution_spec.ts

  2. cypress/e2e/Sanity/Datasources/Airtable_Basic_Spec.ts
To know the list of identified flaky tests - Refer here

@eco-monk
Copy link
Copy Markdown
Contributor Author

/build-deploy-preview env=release skip-tests=true

@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

Deploy-Preview-URL: https://appsmith-iahkncx92-get-appsmith.vercel.app

@ramsaptami
Copy link
Copy Markdown
Contributor

LGTM
cc: @eco-monk

@ramsaptami ramsaptami added the Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable label May 25, 2023
@eco-monk
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/5087533415.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23414.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23414&runId=5087533415_1

@github-actions
Copy link
Copy Markdown

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5087533415.
Commit: ``.
All cypress tests have passed 🎉

@eco-monk eco-monk requested a review from hetunandu May 26, 2023 10:03
@eco-monk eco-monk merged commit 9dd015a into release May 26, 2023
@eco-monk eco-monk deleted the feat/peek-overlay-phase-2 branch May 26, 2023 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable

Projects

None yet

3 participants