-
Notifications
You must be signed in to change notification settings - Fork 0
mathieu/feature/Add search field to activities in the library #1795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
mathieu/feature/Add search field to activities in the library #1795
Conversation
f4fcae0 to
0ea4823
Compare
8d1e4ac to
ddcf409
Compare
5181778 to
4afcc45
Compare
ddcf409 to
cd8ff32
Compare
78fe3c3 to
28aaf5d
Compare
1bc81ca to
9d2bdbb
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a native search field for the library activities view while also adding sorting and filtering capabilities.
- Added SortOption and FilterOption enums with computed label properties
- Integrated SwiftUI's .searchable modifier and menus for sort and filter options
- Updated the activities list to use filtering and sorting based on user input
Comments suppressed due to low confidence (1)
Apps/LekaApp/Sources/Views/PersonalLibrary/Library+ActivitiesView.swift:130
- When sorting by dateAdded, the code sorts the 'results' array but later returns 'mapped', which remains unsorted. Consider sorting 'mapped' instead to ensure the sorted order is reflected in the returned data.
results.sort { $0.addedAt.compare($1.addedAt) == .orderedAscending }
e3729c9 to
44b1055
Compare
f59eefc to
52ac0d4
Compare
52ac0d4 to
2c0e95b
Compare
|



Uh oh!
There was an error while loading. Please reload this page.