Potential ordering search issue when using fuzzy search
Description:
It looks like when turning on the fuzzy search is activated the results are no longer ordered by usage.
git status is usually the first one to be returned in my case when fuzzy search is not activated. After activating the fuzzy search it became the number three of the list.
I've been using Fig since its private beta and recently activated the fuzzy search. Could there be like a reset when this feature is activated/deactivated or is it just me?
Details:
| macOS | Fig | Shell |
|---|---|---|
| 13.0.0 | Version 1.0.58 (B472) | /bin/zsh |
fig diagnostic
Version 1.0.58 (B472) [U.S.] UserShell: /bin/zsh Bundle path: /Applications/Fig.app Autocomplete: true Settings.json: true CLI installed: true CLI tool path: /Users/stephanepaquet/.fig/bin/fig Accessibility: true SSH Integration: true Tmux Integration: true iTerm Integration: false Hyper Integration: true VSCode Integration: true Docker Integration: true Symlinked dotfiles: false Only insert on tab: false UNIX Socket Exists: true Installation Script: true PseudoTerminal Path: /var/folders/3_/dtn3r67178nc_9sd4q9jtz2m0000gn/T/frum_76056_1658163751373/bin:/Users/stephanepaquet/Sites/flutter/bin:/opt/homebrew/bin:/usr/local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/stephanepaquet/.fig/bin:/Users/stephanepaquet/.local/bin:/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/stephanepaquet/Library/Android/sdk/emulator:/Users/stephanepaquet/Library/Android/sdk/tools:/Users/stephanepaquet/Library/Android/sdk/tools/bin:/Users/stephanepaquet/Library/Android/sdk/platform-tools SecureKeyboardInput: false SecureKeyboardProcess:Current active process: zsh (76030) - /dev/ttys001 Current terminal session: E38F358B-BBB2-4EF5-B5B2-010BF33DF64C Current working directory: /Users/stephanepaquet/Sites/ask Current window identifier: 1689/% (co.zeit.hyper)
Thanks for reporting this @spaquet. We'll take a look this week.
Practically this is ordering the results that match both prefix and fuzzy search by usage (for the future me😄).
@spaquet This is going to be solved in the next days, the PR has been opened!