This pull request includes significant changes to the support_sphere project, focusing on renaming classes, adding new methods for handling checklist steps, and updating the UI components to reflect these changes. The most important changes include renaming the Checklist class to UserChecklist, adding methods for updating step status, and modifying UI components to handle step interactions.
This pull request includes significant changes to the
support_sphere
project, focusing on renaming classes, adding new methods for handling checklist steps, and updating the UI components to reflect these changes. The most important changes include renaming theChecklist
class toUserChecklist
, adding methods for updating step status, and modifying UI components to handle step interactions.Class Renaming and Refactoring:
src/support_sphere/lib/data/models/checklist.dart
: RenamedChecklist
class toUserChecklist
and addedstepStateId
toChecklistSteps
class. [1] [2] [3] [4]Repository and Service Updates:
src/support_sphere/lib/data/repositories/checklist.dart
: Updated methods to useUserChecklist
and added methods for updating step status and checking if all steps are completed. [1] [2] [3]src/support_sphere/lib/data/services/checklist_service.dart
: Added methods for updating step status and checking if all steps are completed.UI Component Enhancements:
src/support_sphere/lib/presentation/components/checklist_step_item.dart
: Added newChecklistStepItem
component for displaying individual checklist steps with completion status.src/support_sphere/lib/presentation/pages/main_app/checklist/checklist_main_body.dart
: Updated_ToBeDoneTab
and_CompletedTab
to handle step interactions and navigate to step details. [1] [2] [3] [4] [5] [6]String Constants Update:
src/support_sphere/lib/constants/string_catalog.dart
: Updated string constants to reflect new checklist completion messages.Related Issue
Resolves #141
DEMO