PromucFlow_constructor/app/client/cypress/integration/Regression_TestSuite/ClientSideTests
Anand Srinivasan 73ba3a39c5
feat: peek overlay (#20053)
## Description

Hover over appsmith properties in code to peek data.
<img width="380" alt="image"
src="https://user-images.githubusercontent.com/66776129/217707810-164924c0-36e8-4450-b087-18af333c7547.png">

This right now covers:
- Queries/JsObjects/Apis/Widgets and their properties.
- Note: For query or Api, this'll work only upto `Api.data`. (Not
`Api.data.users[0].id`)
- This is because of the way codemirror renders code and we'll need more
time to see how this is best handled.


Misc:
- added `react-append-to-body` to work with variable height for peek
overlay
- we needed a container that doesn't apply `position: absolute` to
itself
- Because, when a container's `height` is zero with `position: absolute`
(like in bp3-portal), child elements cannot be positioned using just the
`bottom` property
- with `react-append-to-body`, the container won't have `position:
absolute`, instead it is applied to the child element `<div>` directly,
hence we can position using `bottom` property.


Fixes #17507


Media
https://www.loom.com/share/0f17918fcd604805b023c215d57fce43


## Type of change
- New feature (non-breaking change which adds functionality)


## How Has This Been Tested?

- Manual

### Test Plan
https://github.com/appsmithorg/TestSmith/issues/2173
https://github.com/appsmithorg/TestSmith/issues/2178

### Issues raised during DP testing

https://github.com/appsmithorg/appsmith/pull/20053#issuecomment-1420545330

https://github.com/appsmithorg/appsmith/pull/20053#issuecomment-1424427913

## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [x] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [x] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-17 21:33:34 +05:30
..
ActionExecution chore: fix imports to resolve EE conflicts (#20576) 2023-02-13 09:19:20 +05:30
AdminSettings test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
AuditLogs test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Autocomplete feat: Feature/evaluated value window (#19972) 2023-02-09 16:39:54 +05:30
Binding test: fixed flaky tests (#20515) 2023-02-14 12:30:40 +05:30
Branding fix: Brand colors sometimes shows different colors on cloud (#19672) 2023-02-02 11:43:00 +05:30
BugTests fix: Set isMetaPropDirty property on widgets (#20613) 2023-02-15 10:49:32 +01:00
CodeComment test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
DynamicHeight feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
EmbedSettings test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
ExplorerTests test: Fix flaky tests + Add clean up for git repos (#20319) 2023-02-06 13:07:01 +05:30
FormLogin test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
FormNativeToRawTests test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
GenerateCRUD test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Git test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
Github test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Google test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
IDE feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
JSLibrary fix: JSPDF output API crash (#20544) 2023-02-10 13:13:22 +05:30
Linting test: Fix flaky tests + Add clean up for git repos (#20319) 2023-02-06 13:07:01 +05:30
Onboarding chore: Revert "feat: move the widget creation CTA off the Entity explorer (#… (#20335) 2023-02-03 14:47:01 +06:00
OtherUIFeatures test: fixed flaky tests (#20515) 2023-02-14 12:30:40 +05:30
PeekOverlay feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
PropertyPane test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Refactoring test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
SettingsPane test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Templates test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
ThemingTests test: fixed flaky tests (#20515) 2023-02-14 12:30:40 +05:30
VisualTests chore: fix js object flaky tests (#20106) 2023-02-01 20:15:25 +05:30
Widgets feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
Workspace test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30