diff options
author | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2020-06-30 16:19:01 +0200 |
---|---|---|
committer | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2020-07-03 15:06:23 +0200 |
commit | 85ced4746fd11af82cdd9d4bc78879715733d2a3 (patch) | |
tree | d936aa566efe76de79f0dde87b3d7954ebd68961 /modules/theora | |
parent | c069f5f5ca1168213632fd6cc3262878f04cc1b9 (diff) |
Improve Create Dialog search ranking and refactor calculation.
Code changes:
- Improved search ranking with various features (position in type string, string length proportion, in favorite list, in recent list).
- Recent items are now stored in an ItemList (no visual change).
- Removed results that had a parent that matched the search term to improve clarity.
Performance:
- Reduce types to process upon opening the dialog (instead of every search change), reduces number of types by 4~5.
- Clear arrays after closing dialog instead of keeping them.
- Various other optimizations.
Diffstat (limited to 'modules/theora')
0 files changed, 0 insertions, 0 deletions