Skip to content

Conversation

@macteuts
Copy link
Contributor

@macteuts macteuts commented Mar 25, 2025

  • ✨ (LekaApp): Add native Search field to LibraryActivitiesView
  • ⚗️ (LekaApp): Experiment with sorting & filtering

@macteuts macteuts changed the base branch from develop to mathieu/feature/Add-favorites-Analytics-logs-to-library March 25, 2025 12:30
@macteuts macteuts self-assigned this Mar 25, 2025
@macteuts macteuts force-pushed the mathieu/feature/Add-favorites-Analytics-logs-to-library branch from f4fcae0 to 0ea4823 Compare March 26, 2025 10:15
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch from 8d1e4ac to ddcf409 Compare March 26, 2025 10:18
@macteuts macteuts force-pushed the mathieu/feature/Add-favorites-Analytics-logs-to-library branch 2 times, most recently from 5181778 to 4afcc45 Compare March 26, 2025 12:51
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch from ddcf409 to cd8ff32 Compare March 27, 2025 08:10
@macteuts macteuts changed the base branch from mathieu/feature/Add-favorites-Analytics-logs-to-library to develop March 27, 2025 08:14
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch 5 times, most recently from 78fe3c3 to 28aaf5d Compare April 1, 2025 08:57
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch 2 times, most recently from 1bc81ca to 9d2bdbb Compare April 7, 2025 07:31
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 7, 2025

@ladislas ladislas requested a review from Copilot April 22, 2025 11:18
Copy link

Copilot AI left a 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 }

@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch 2 times, most recently from e3729c9 to 44b1055 Compare July 11, 2025 09:08
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch 2 times, most recently from f59eefc to 52ac0d4 Compare July 23, 2025 16:43
@macteuts macteuts force-pushed the mathieu/feature/Add-search-field-to-activities-in-the-library branch from 52ac0d4 to 2c0e95b Compare July 25, 2025 07:31
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants