summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/filtered_list.go
AgeCommit message (Collapse)Author
2024-03-17Get rid of the retain-sort-order-when-filtering logic againStefan Haller
For die-hard fuzzy-searching fans it's probably in the way, so taking it out makes fuzzy filtering work better. For substring filtering it always retains the sort order anyway.
2024-03-17Default to substring filtering, add option to go back to fuzzy filteringStefan Haller
By default we now search for substrings; you can search for multiple substrings by separating them with spaces. Add a config option gui.filterMode that can be set to 'fuzzy' to switch back to the previous behavior.
2024-02-16Optionally keep sort order stable when filtering listsStefan Haller
For some lists it is useful to keep the same sort order when filtering (rather than sorting by best match like we usually do). Add an optional function to FilteredList to make this possible, and use it whenever we show lists of things sorted by date (branches, stashes, reflog entries), as well as menu items because this allows us to keep the section headers in the keybindings menu, which is useful for understanding what you are looking at when filtering.
2023-10-10When refreshing models, re-apply active filter for the corresponding viewStefan Haller
2023-07-22Use fuzzy search when filtering a viewJesse Duffield
This adds fuzzy filtering instead of exact match filtering, which is more forgiving of typos and allows more efficiency.
2023-07-03Add mutex to filtered list to avoid concurrency issuesJesse Duffield
2023-07-03Support case sensitive filteringJesse Duffield
2023-07-03Scroll to top when filtering and retain selection when cancelling filterJesse Duffield
2023-07-03Case insensitive string comparisonJesse Duffield
2023-07-03Support filtering filesJesse Duffield
2023-07-03Introduce filtered list view modelJesse Duffield
We're going to start supporting filtering of list views