Skip to content

feat: complete dashboard UI integration (#88)#154

Open
kaluxxx wants to merge 11 commits intomainfrom
feature/dashboard-ui-integration-issue-88
Open

feat: complete dashboard UI integration (#88)#154
kaluxxx wants to merge 11 commits intomainfrom
feature/dashboard-ui-integration-issue-88

Conversation

@kaluxxx
Copy link
Collaborator

@kaluxxx kaluxxx commented Sep 24, 2025

Summary

• Complete dashboard feature implementation with collection items management
• Add new dashboard UI components and layouts
• Integrate dashboard functionality with existing admin interface
• Add translations for dashboard in English and French
• Update database schema with author field for collection items

Features Added

Database & Schema

  • Added author field to CollectionItem model with migration

Dashboard UI Components

  • CardListLayout - Reusable layout for admin list pages
  • CollectionItemTable - Table component for displaying collection items
  • CollectionItemSearchBar - Search functionality for collection items
  • CollectionItemSortSelector - Sorting controls for collection items
  • CollectionItemActionButton - Bulk actions (delete, duplicate)
  • CollectionItemPagination - Pagination controls

Dashboard Feature Module

  • Complete feature module with stores, queries, and actions
  • Collection item management (CRUD operations)
  • Search and sorting functionality
  • Bulk operations support
  • Context provider for state management

Translations

  • Added comprehensive dashboard translations for EN/FR
  • Search, sorting, status, and action labels
  • Error messages and success notifications

Component Enhancements

  • Enhanced ActionButton component with flexible mutation types
  • Improved ActionsDropdown with better action configuration
  • Updated useGenericTable hook for better table functionality

Technical Implementation

  • Follows feature-first modular architecture
  • Uses Zustand for state management
  • Implements React Query for data fetching
  • Server actions for CRUD operations
  • Fully typed with TypeScript
  • Follows project code style guidelines

close #88

🤖 Generated with Claude Code

@kaluxxx kaluxxx requested a review from JMauclair September 24, 2025 09:08
Comment on lines +171 to +177
<Input
id="author"
onChange={(e) => setAuthor(e.target.value)}
placeholder="Author name"
required
value={author}
/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be replace by a select element with search (link in github assign)

Copy link
Contributor

@JMauclair JMauclair Sep 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing quick action
#156

@JMauclair JMauclair linked an issue Sep 24, 2025 that may be closed by this pull request
@JMauclair JMauclair assigned JMauclair and kaluxxx and unassigned JMauclair Sep 25, 2025
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.

Missing quick action in collection item table Integrate dashboard UI

2 participants