PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Autocomplete
arunvjn 24b93ebfd4
feat: Added hints for function arguments (#28214)
## Description
Adds a tooltip that shows the function signatures when the cursor is
between ( ) to help complete function arguments.

https://www.figma.com/file/5QitVVvqgEc6nhR7SbdinY/ADS2.0---Tokens?type=design&node-id=7639-124926&mode=dev



#### PR fixes following issue(s)
Fixes #4789
>
#### Media
<img width="483" alt="Screenshot 2023-11-06 at 12 10 42"
src="https://github.com/appsmithorg/appsmith/assets/32433245/efbe1aba-9067-4d1e-b9df-72a24f4f8c64">

#### Type of change
- New feature (non-breaking change which adds functionality)
>
>
## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [x] Cypress
>
>
#### Test Plan
- [x] Function signature tooltip should show when the cursor is in
between `( )`.
- [x] Tooltip should disappear when the cursor is moved outside '( )`.
- [x] Tooltip should disappear when peek over popover is triggered.
- [x] Tooltip appear as soon as a function is selected from autocomplete
results.
- [x] Evaluated Value popover should disappear when tooltip popover is
open.


#### 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
- [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:
- [ ] [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

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-11-07 11:30:32 +05:30
..
Autocomplete_setters_spec.ts feat: Added hints for function arguments (#28214) 2023-11-07 11:30:32 +05:30
autocomplete_spec.js feat: Added hints for function arguments (#28214) 2023-11-07 11:30:32 +05:30
BracketNotation_AC_spec.ts test: Cypress - Flaky fix BracketNotation_AC_spec.ts (#25576) 2023-07-21 17:23:24 +05:30
Bug23641_Spec.ts test: Cypress | Few specs import updates (#24583) 2023-06-18 15:57:35 +05:30
Bugs_AC_Spec.ts test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
JS_AC1_spec.ts fix: Removes platform functions from autocomplete list in data fields (#28217) 2023-10-24 12:13:37 +05:30
JS_AC2_spec.ts fix: Removes platform functions from autocomplete list in data fields (#28217) 2023-10-24 12:13:37 +05:30
PropertyPaneSuggestion_spec.ts fix: improve autocompletion hints discovery (#28222) 2023-10-25 18:18:45 +01:00
Sql_AC_Spec.ts feat: query creation dumb templates replaced with smart templates (#24234) 2023-06-19 15:23:34 +05:30