Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filtering of group name to autocomplete for transactions (#2861)
* Delete packages/desktop-client/e2e directory * Delete packages/desktop-client/e2e directory * Add toggleable option to autoCompleteCategories * Create 2861.md * Fixing typescript error & removing console.log * Added themesetting back in * Added filtering and separation for group name autocomplete * removed typescript error * another typescript error fixed * ts error * removed styling * Update 2861.md * Update prefs.d.ts * Update index.tsx removed toggleable settings * Update index.tsx * removed toggleablesettings * changed test tobe items = screen .getByTestId('autocomplete') .querySelectorAll('[data-testid$="category-item"]'); expect(items.length).toBe(3); }); * removed isChanged passdown * Added string followed by category name capability, moved sorting logic to categoryautocomplete, used toSorted, used Usememo, added TS. * Fix unnecessary changes * Apply suggestions from code review Co-authored-by: Robert Dyer <[email protected]> Co-authored-by: Matiss Janis Aboltins <[email protected]> * Fixed TS, sort, and memo to useCallback * fix tosorted -> sort * Apply suggestions from code review Co-authored-by: Matiss Janis Aboltins <[email protected]> * fix typescript issue --------- Co-authored-by: Robert Dyer <[email protected]> Co-authored-by: Matiss Janis Aboltins <[email protected]>
- Loading branch information