refactor: Update ListDetailPage and listDetailStore for improved type safety and state management #67

Merged
mo merged 1 commits from ph5 into prod 2025-06-09 21:14:21 +02:00
Owner

This commit refactors the ListDetailPage and listDetailStore to enhance type safety and streamline state management. Key changes include:

  • Removed the import of ExpenseCard from ListDetailPage.vue.
  • Introduced specific types for category options and improved type annotations in computed properties.
  • Transitioned listDetailStore to use the Composition API, replacing the previous state management structure with refs and computed properties for better reactivity.
  • Updated the fetchListWithExpenses action to handle errors more gracefully and ensure the current list is correctly populated with expenses.

These changes aim to improve code maintainability and enhance the overall functionality of the application.

This commit refactors the ListDetailPage and listDetailStore to enhance type safety and streamline state management. Key changes include: - Removed the import of ExpenseCard from ListDetailPage.vue. - Introduced specific types for category options and improved type annotations in computed properties. - Transitioned listDetailStore to use the Composition API, replacing the previous state management structure with refs and computed properties for better reactivity. - Updated the fetchListWithExpenses action to handle errors more gracefully and ensure the current list is correctly populated with expenses. These changes aim to improve code maintainability and enhance the overall functionality of the application.
mo added 1 commit 2025-06-09 21:14:18 +02:00
refactor: Update ListDetailPage and listDetailStore for improved type safety and state management
All checks were successful
Deploy to Production, build images and push to Gitea Registry / build_and_push (pull_request) Successful in 1m23s
7ffd4b9a91
This commit refactors the ListDetailPage and listDetailStore to enhance type safety and streamline state management. Key changes include:

- Removed the import of ExpenseCard from ListDetailPage.vue.
- Introduced specific types for category options and improved type annotations in computed properties.
- Transitioned listDetailStore to use the Composition API, replacing the previous state management structure with refs and computed properties for better reactivity.
- Updated the fetchListWithExpenses action to handle errors more gracefully and ensure the current list is correctly populated with expenses.

These changes aim to improve code maintainability and enhance the overall functionality of the application.
mo merged commit 5c57ac8080 into prod 2025-06-09 21:14:21 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mo/mitlist#67
No description provided.