PromucFlow_constructor/app/client/src
Favour Ohanekwu 4b3ef8ebd6
fix: improve autocompletion hints discovery (#28222)
## Description

This PR improves autocompletion hints discovery by

- Taking entities' recency of usage into consideration when sorting
hints
- Showing entity names at the top, before supported functions and
properties
- Deprioritizing the Function constructor and the MainContainer entity

#### PR fixes following issue(s)
Fixes #27870 
Fixes #17684 
Fixes https://github.com/appsmithorg/appsmith/issues/24975


#### Type of change
- New feature (non-breaking change which adds functionality)
 
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
- [x] check for autocomplete results when multiple widgets of the same
type are used
- [x] check for entity renaming behavior
- [x] verify function and mainContainer have been removed
- [x] verify that recent entity changes affects autocomplete ranking
>
>
#### Issues raised during DP testing

https://github.com/appsmithorg/appsmith/pull/28222#issuecomment-1777487126
>
>
>
## 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:
- [x] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [x] 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
- [x] 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-10-25 18:18:45 +01:00
..
actions fix: schema preview data ui changed for sql, postgres, mongo (#28156) 2023-10-25 15:48:05 +05:30
api chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
assets chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
ce fix: improve autocompletion hints discovery (#28222) 2023-10-25 18:18:45 +01:00
components fix: schema preview data ui changed for sql, postgres, mongo (#28156) 2023-10-25 15:48:05 +05:30
constants chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
ee fix: remove deploy messages for environments (#28335) 2023-10-25 21:29:28 +05:30
enterprise
entities fix: schema preview data ui changed for sql, postgres, mongo (#28156) 2023-10-25 15:48:05 +05:30
globalStyles feat: assistive binding (#27070) 2023-09-15 21:23:51 +05:30
icons chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
layoutSystems chore: update highlight logic to disregard empty layouts. (#28339) 2023-10-25 11:16:32 +05:30
mockComponentProps
mockResponses ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
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 fix: remove deploy messages for environments (#28335) 2023-10-25 21:29:28 +05:30
plugins/Linting chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
polyfills
reducers chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
reflow chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
sagas fix: improve autocompletion hints discovery (#28222) 2023-10-25 18:18:45 +01:00
selectors chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +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: improve autocompletion hints discovery (#28222) 2023-10-25 18:18:45 +01:00
WidgetProvider chore: update highlight logic to disregard empty layouts. (#28339) 2023-10-25 11:16:32 +05:30
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets chore: Add MutuationObserver to track changes in positions of widgets and layouts. (#28315) 2023-10-24 07:37:06 -04:00
workers fix: Removes platform functions from autocomplete list in data fields (#28217) 2023-10-24 12:13:37 +05:30
App.css
AppErrorBoundry.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +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 fix: design-system-old fixes (#24421) 2023-06-20 14:34:13 +05:30
index.tsx perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
LandingScreen.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
preload-route-chunks.ts fix: bump storybook version and move stories to storybook package (#25821) 2023-07-31 19:15:50 +03:00
react-app-env.d.ts
RouteChangeListener.tsx chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
RouteParamsMiddleware.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
serviceWorker.js fix: don’t cache icons by the service worker (#23558) 2023-05-24 12:50:26 +05:30
store.ts
wdyr.ts chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00