feat: peek overlay nested properties + perf improvements#23414
feat: peek overlay nested properties + perf improvements#23414
Conversation
|
/ok-to-test |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4993520084. |
|
/ok-to-test |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4993872765. |
|
/ok-to-test |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4997774286. |
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4997774286.
|
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4997774286.
To know the list of identified flaky tests - Refer here |
|
/build-deploy-preview env=release skip-tests=true |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5064992106. |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5064994508. |
|
Deploy-Preview-URL: https://appsmith-mton5vimp-get-appsmith.vercel.app |
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5064992106.
To know the list of identified flaky tests - Refer here |
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5064992106. |
|
/ok-to-test |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5068323702. |
|
/build-deploy-preview |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5068359549. |
|
Deploy-Preview-URL: https://ce-23414.dp.appsmith.com |
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5068323702.
|
|
/build-deploy-preview env=release skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5076863594. |
|
Deploy-Preview-URL: https://appsmith-iahkncx92-get-appsmith.vercel.app |
|
LGTM |
|
/ok-to-test |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5087533415. |
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5087533415. |
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:
e.g.
Api1.data[x].idwon't support peeking at the variable[x]or anything after that.moment,_etc...Because these cases requires evaluation.
Media (old vs new)
https://www.loom.com/share/dedcf113439c4ee2a19028acca54045e
Performance improvements:
Use AST to identify expressions instead marking text manually.
This reduces the number of markers we process (~ half).
Before

After

AST logs
https://www.loom.com/share/ddde93233cc8470ea04309d8a8332240
Type of change
Testing
How Has This Been Tested?
Test Plan
https://github.com/appsmithorg/TestSmith/issues/2402
Issues raised during DP testing
#23414 (comment)
Checklist:
Dev activity
QA activity:
Test Plan Approvedlabel after Cypress tests were reviewedTest Plan Approvedlabel after JUnit tests were reviewed