PromucFlow_constructor/app/client/src
arunvjn d6e572f2b5
fix: Adjust autocomplete results ranking for function arguments (#28632)
## Description
> Leverage function arguments type generated in #28214 to better rank
autocomplete results for function arguments. Current entity and field
information is passed to the `CodemirrorTernService` at the time of hint
generation. We check to see if the cursor position is next to a function
argument and sort the results based on its type.
>
>
#### PR fixes following issue(s)
Fixes #28107
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
#### Type of change
- Bug fix (non-breaking change which fixes an issue)
>
>
## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [x] Jest
>
>
#### 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
- [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-10 14:18:42 +05:30
..
actions chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
api feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
assets feat: added ui option for start with data (#28760) 2023-11-09 18:30:24 +05:30
ce fix: Adjust autocomplete results ranking for function arguments (#28632) 2023-11-10 14:18:42 +05:30
components fix: Adjust autocomplete results ranking for function arguments (#28632) 2023-11-10 14:18:42 +05:30
constants feat: show additional info for autocomplete results (#28564) 2023-11-10 13:36:10 +05:30
ee chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
enterprise
entities chore: Refactoring create query operation helpers to include modules in the list (#28721) 2023-11-09 17:10:36 +05:30
globalStyles feat: show additional info for autocomplete results (#28564) 2023-11-10 13:36:10 +05:30
icons chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
layoutSystems fix: git branch protection fixes (#28667) 2023-11-07 20:25:02 +05:30
mockComponentProps
mockResponses
mocks chore: Add MutuationObserver to track changes in positions of widgets and layouts. (#28315) 2023-10-24 07:37:06 -04:00
navigation chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
pages chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
plugins/Linting chore: CE changes for linting (#28542) 2023-11-03 16:31:49 +05:30
polyfills
reducers feat: added an intermediary step to enable new create new app flow (#27457) 2023-11-09 09:49:02 +05:30
reflow chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
sagas chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
selectors feat: Added Communication popover for new Sidebar (#28688) 2023-11-09 15:13:11 +05:30
templates
theme
transformers chore: code split for EE PR 2169 (#26669) 2023-09-11 14:09:41 +07:00
usagePulse fix: unhandledRejection error in sentry log (#28091) 2023-10-16 04:01:00 +01:00
utils fix: Adjust autocomplete results ranking for function arguments (#28632) 2023-11-10 14:18:42 +05:30
WidgetProvider fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets feat: WDS Switch Integration (#28725) 2023-11-09 15:28:34 +05:30
workers feat: Add IFrame widget for Custom EChart and support for custom functions in property pane (#28513) 2023-11-08 19:25:44 +05:30
App.css
AppErrorBoundry.tsx
auto-otel-web.js chore: added new relic OTLP exporter (#28480) 2023-11-06 15:05:17 +05:30
config.d.ts
Globals.d.ts chore: Add support for 3D Custom ECharts (#26657) 2023-09-27 16:54:27 +05:30
index.css
index.tsx chore: added new relic OTLP exporter (#28480) 2023-11-06 15:05:17 +05:30
LandingScreen.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
preload-route-chunks.ts fix: Refactor preloads to fix an issue with CDN on EE (#28402) 2023-10-30 13:32:37 +05:30
react-app-env.d.ts
RouteChangeListener.tsx chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
serviceWorker.js
store.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30
wdyr.ts chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00