heyjaywilson/peakfit

Store an exercise lists sort type and make sure the list applies that sort type

Open

#26 opened on Sep 24, 2024

 (1 comment) (0 reactions) (0 assignees)Swift (10 forks)auto 404
enhancementhacktoberfest

Repository metrics

Stars
 (18 stars)
PR merge metrics
 (PR metrics pending)

Description

The exercise list should know what type of sort is applied to it so that the list opens to the last used sort.

Acceptance criteria

  • Adjust the ExerciseList model to store the sort type
  • Adjust the exercise list view to apply the sort type based on what's stored in the model
  • Write using ExerciseList.Service (I'm trying to keep all writes to the database on a background actor)

Contributor guide