PromucFlow_constructor/app/client/src/utils
Ravi Kumar Prasad 8e7d2024fe
fix: cursor position not between parenthesis for function autocomplete (#22694)
## Description
When using autocomplete suggestion, earlier on selecting a function the
cursor was placed at the end of the parenthesis forcing the user to
press one more key (left arrow) before filling the arguments. Now the
cursor is placed right between the parenthesis.

Fixes #20449 

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


## How Has This Been Tested?
- Cypress

### Test Plan
> Add Testsmith test cases links that relate to this PR

### 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
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] 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-04-28 15:33:12 +05:30
..
autocomplete fix: cursor position not between parenthesis for function autocomplete (#22694) 2023-04-28 15:33:12 +05:30
autoHeight 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
autoLayout fix: Remove excess padding on right side and fix widget drop in nested containers (#22533) 2023-04-26 13:39:11 -04:00
CallbackHandler 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
DSLConversions feat: Vertical alignment and row gaps for Auto Layout (#21888) 2023-04-20 10:44:37 +05:30
editor feat: merge GraphQL plugin to release (#16554) 2022-09-09 21:29:47 +05:30
formControl 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
hooks fix: Remove excess padding on right side and fix widget drop in nested containers (#22533) 2023-04-26 13:39:11 -04:00
migrations fix: add select options field to new row (#22003) 2023-04-06 23:58:24 +05:30
NavigationSelector chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
validation 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
AnalyticsUtil.tsx feat: file upload instrumentation (#22417) 2023-04-26 23:41:26 +07:00
ApiPaneUtils.test.ts fix: Action Selector menu goes out of viewport (#16878) 2022-09-23 10:46:26 +05:30
ApiPaneUtils.tsx fix: Return undefined for nonexistent action headers (#18724) 2023-01-18 15:31:08 +05:30
AppsmithConsole.ts feat: Error Navigation (#21753) 2023-04-10 18:29:14 +05:30
AppsmithUtils.test.ts fix: Include port number while constructing blob url in camera widget and plugin action execution (#22458) 2023-04-19 23:59:56 +05:30
AppsmithUtils.tsx fix: Include port number while constructing blob url in camera widget and plugin action execution (#22458) 2023-04-19 23:59:56 +05:30
AppUtils.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
bootIntercom.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
boxHelpers.test.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
boxHelpers.ts feat: (Internal Change) Add auto height computation functions (#17962) 2022-11-20 11:42:32 +05:30
BrandingUtils.ts feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
canvasStructureHelpers.test.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
canvasStructureHelpers.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
configTree.ts fix: Improving performance of JS evaluations by splitting the data tree (#21547) 2023-03-20 16:34:02 +05:30
DatasourceSagaUtils.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
DSLMigration.test.ts fix: add select options field to new row (#22003) 2023-04-06 23:58:24 +05:30
DSLMigrations.ts fix: add select options field to new row (#22003) 2023-04-06 23:58:24 +05:30
DSLMigrationsUtils.test.ts feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
DynamicBindingUtils.test.ts fix: combineDynamicBindings function (#22600) 2023-04-26 23:58:17 +05:30
DynamicBindingUtils.ts fix: combineDynamicBindings function (#22600) 2023-04-26 23:58:17 +05:30
editorContextUtils.ts feat: gsheet disable new query when no files selected (#21912) 2023-04-06 19:42:34 +05:30
formhelpers.test.ts
formhelpers.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
GenerateCrudUtil.ts
generators.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
getPathAndValueFromActionDiffObject.ts
getQueryParamsObject.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
helpers.test.ts feat: Action selector (#21582) 2023-04-06 22:19:12 +05:30
helpers.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
history.ts fix: Do not set widget ancestry if selection happens via canvas (#22069) 2023-04-10 12:55:14 +05:30
JSPaneUtils.test.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
JSPaneUtils.tsx feat: Action selector (#21582) 2023-04-06 22:19:12 +05:30
klona.test.ts fix: Refactoring to replace all usages of isEqual method from lodash with equal method from fast-deep-equal/es6 (#16439) 2022-09-02 14:46:30 +05:30
layoutPropertiesUtils.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
localStorage.test.ts fix: welcome tour ending on page refresh (#16079) 2022-09-02 18:45:48 +05:30
localStorage.tsx feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
MessageUtil.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
metaWidgetState.ts feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
PerformanceTracker.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
PropertyControlFactory.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
PropertyControlRegistry.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
ReducerUtils.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
reflowHookUtils.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
replayHelpers.test.js 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
replayHelpers.tsx feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
storage.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
SuccessfulBindingsMap.ts fix: ENTITY_BINDING_SUCCESS event added which is fired whenever there is a successful binding created by the user. (#21227) 2023-03-24 15:45:11 +05:30
testDSLs.ts feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
testPropertyPaneConfig.test.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
treeUtils.ts
TypeHelpers.ts fix: fixed broken file downloads for urls containing "(" or ")" (#21752) 2023-04-03 23:23:10 +05:30
URLUtils.ts feat: Change navigate to UI (#14856) 2022-09-16 10:00:16 +05:30
UseComposeRef.ts feat: multi-line input and auto-resize textarea (#19141) 2023-01-17 18:46:35 +05:30
WidgetBlueprintUtils.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
widgetEvalUtils.ts fix: Improving performance of JS evaluations by splitting the data tree (#21547) 2023-03-20 16:34:02 +05:30
WidgetFactory.tsx chore: Move autocomplete suggestions from entityDefinitions to individual widget components (#21818) 2023-04-14 11:57:49 +05:30
WidgetFactoryHelpers.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
WidgetFeatures.test.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
WidgetFeatures.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
WidgetLoadingStateUtils.test.ts fix: Improving performance of JS evaluations by splitting the data tree (#21547) 2023-03-20 16:34:02 +05:30
WidgetLoadingStateUtils.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
WidgetMigrationUtils.test.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
WidgetMigrationUtils.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
WidgetPropsUtils.test.tsx feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
WidgetPropsUtils.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
WidgetQueryGeneratorRegistry.test.ts chore: [one click binding] Create a registry to maintain the list of the widget query generators (#21764) 2023-03-28 20:03:29 +05:30
WidgetQueryGeneratorRegistry.ts chore: [one click binding] Property pane control to generate query for a widget (#22172) 2023-04-13 16:39:24 +05:30
WidgetRegisterHelpers.tsx chore: Move autocomplete suggestions from entityDefinitions to individual widget components (#21818) 2023-04-14 11:57:49 +05:30
WidgetRegistry.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
widgetRenderUtils.test.ts fix: Improving performance of JS evaluations by splitting the data tree (#21547) 2023-03-20 16:34:02 +05:30
widgetRenderUtils.tsx fix: Improving performance of JS evaluations by splitting the data tree (#21547) 2023-03-20 16:34:02 +05:30
WidgetSizeUtils.test.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
WidgetSizeUtils.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
WorkerUtil.test.ts chore: corrections for eslint and prettier (#21543) 2023-03-17 19:50:51 +05:30
WorkerUtil.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