Go to file
google-labs-jules[bot] 272e5abe41 refactor: Integrate Valerie UI components into Group and List pages
This commit refactors parts of `GroupsPage.vue`, `ListsPage.vue`, and the shared `CreateListModal.vue` to use the newly created Valerie UI components.

Key changes include:

1.  **Modals:**
    *   The "Create Group Dialog" in `GroupsPage.vue` now uses `VModal`, `VFormField`, `VInput`, `VButton`, and `VSpinner`.
    *   The `CreateListModal.vue` component (used by both pages) has been internally refactored to use `VModal`, `VFormField`, `VInput`, `VTextarea`, `VSelect`, `VButton`, and `VSpinner`.

2.  **Forms:**
    *   The "Join Group" form in `GroupsPage.vue` now uses `VFormField`, `VInput`, `VButton`, and `VSpinner`.

3.  **Alerts:**
    *   Error alerts in both `GroupsPage.vue` and `ListsPage.vue` now use the `VAlert` component, with retry buttons placed in the `actions` slot.

4.  **Empty States:**
    *   The empty state displays (e.g., "No Groups Yet", "No lists found") in both pages now use the `VCard` component with `variant="empty-state"`, mapping content to the relevant props and slots.

5.  **Buttons:**
    *   Various standalone buttons (e.g., "Create New Group", "Create New List", "List" button on group cards) have been updated to use the `VButton` component with appropriate props for variants, sizes, and icons.

**Scope of this Refactor:**
*   The focus was on replacing direct usages of custom-styled modal dialogs, form elements, alerts, and buttons with their Valerie UI component counterparts.
*   Highly custom card-like structures such as `neo-group-card` (in `GroupsPage.vue`) and `neo-list-card` (in `ListsPage.vue`), along with their specific "create" card variants, have been kept with their existing custom styling for this phase. This is due to their unique layouts and styling not directly mapping to the current generic `VCard` component without significant effort or potential introduction of overly specific props to `VCard`. Only buttons within these custom cards were refactored.
*   The internal item rendering within `neo-list-card` (custom checkboxes, add item input) also remains custom for now.

This refactoring improves consistency by leveraging the standardized Valerie UI components for common UI patterns like modals, forms, alerts, and buttons on these pages.
2025-06-01 14:26:37 +02:00
.cursor/rules feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
.gitea/workflows feat: Update deployment workflow and enhance ListDetailPage functionality 2025-05-31 14:08:40 +02:00
be Refactor: Polish backend based on review 2025-06-01 14:26:36 +02:00
docs feat: Implement recurring expenses feature with scheduling and management 2025-05-22 16:37:14 +02:00
fe refactor: Integrate Valerie UI components into Group and List pages 2025-06-01 14:26:37 +02:00
docker-compose.prod.yml feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00
docker-compose.yml feat: Implement chore management feature with personal and group chores 2025-05-21 18:18:22 +02:00
env.production.template feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00
mitlist_doc.md feat: Implement recurring expenses feature with scheduling and management 2025-05-22 16:37:14 +02:00
notes.md feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
PRODUCTION.md feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00