PromucFlow_constructor/app/client/src/components/editorComponents
Favour Ohanekwu 2c4ebd8661
fix: Remove custom rendering of sql hints (#24080)
## Description
This PR introduces the following

1. Removes custom rendering of SQL hints (using ReactDom). Uses default
element + custom CSS.
2. SQL Autocompletion hints disappear on mouse down
3. Fixes inconsistency in the style for SQL hint

#### PR fixes following issue(s)
Fixes #24072 
Fixes #24204

#### Type of change
- Bug fix (non-breaking change which fixes an issue)


## Testing
#### How Has This Been Tested?
- [x] Cypress
>
>
#### Test Plan
1. Verify that the SQL autocomplete closes on mouse down event on editor
body(All browser)
2. Verify that the SQL autocomplete closes on click - touchpad event -
on body of editor (All browser)
3. Verify above on both MAC and windows laptop
4. Verify Autocomplete style/colour as per JS autocmplete 
>
>
#### 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
- [ ] 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](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#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
2023-06-08 15:15:16 +01:00
..
ActionCreator chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
ActionRightPane feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CodeEditor fix: Remove custom rendering of sql hints (#24080) 2023-06-08 15:15:16 +01:00
Debugger fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
form fix: Disable run button when there are empty fields (#24031) 2023-06-08 14:39:19 +05:30
GlobalSearch Fix: Snippets overlay renders blurred text (#23820) 2023-05-29 14:40:18 +05:30
HighlightedCode feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LazyCodeEditor chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
LightningMenu feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetNameComponent feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
WidgetQueryGeneratorForm fix: one click binding postgress sorting issue when primary key is no… (#24090) 2023-06-08 16:58:48 +05:30
ActionExecutionInProgressView.tsx feat: add loading spinner for action execution (#24078) 2023-06-06 21:15:00 +05:30
ActionNameEditor.tsx fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
ApiResponseView.tsx fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
AutoResizeTextArea.test.tsx feat: multi-line input and auto-resize textarea (#19141) 2023-01-17 18:46:35 +05:30
AutoResizeTextArea.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
BetaCard.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Button.tsx feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
Checkbox.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
CloseEditor.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ContextDropdown.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Divider.tsx
DraggableComponent.test.tsx feat: Improved App Navigation (#19312) 2023-03-23 17:11:58 +05:30
DraggableComponent.tsx feat: Improved App Navigation (#19312) 2023-03-23 17:11:58 +05:30
DragLayerComponent.test.tsx chore: Remove collaboration pointers from the Editor (#19660) 2023-03-15 22:10:06 +05:30
DragLayerComponent.tsx feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
DropdownComponent.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
DropTargetComponent.tsx fix: List widget issues in Auto Layout (#23252) 2023-05-29 10:06:19 +05:30
DropTargetUtils.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
EditableText.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
EditorContextProvider.test.tsx feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
EditorContextProvider.tsx feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
EntityBottomTabs.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
EntityNameComponent.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ErrorBoundry.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
ErrorTooltip.tsx feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
Form.tsx
FormLabel.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FormRow.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
HelperTooltip.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
InputComponent.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
JSResponseView.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LetterIcon.tsx
LoadingOverlayScreen.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
NavBarItem.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
PageLoader.tsx
PaneWrapper.tsx
PropertyPaneSidebar.tsx chore: Revert Multi pane scale (#23909) 2023-05-31 18:36:34 +05:30
ReadOnlyEditor.tsx fix: UI issues with code editor (#23332) 2023-05-17 10:32:42 +05:30
RequestView.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
ResizableComponent.tsx fix: resizable max height (#23143) 2023-05-22 13:29:29 +05:30
ResizableUtils.test.ts feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
ResizableUtils.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
ResizeStyledComponents.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
SelectComponent.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
Sidebar.tsx chore: Revert Multi pane scale (#23909) 2023-05-31 18:36:34 +05:30
SnipeableComponent.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
Spinner.tsx
StoreAsDatasource.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Tooltip.tsx
utils.test.ts feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
utils.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
WidgetComponentBoundary.tsx fix: clickable containers in the List widget (#21987) 2023-04-14 14:55:44 +01:00