Description
All pages in src/renderer/src/pages/ have the same layout structure. Extract common patterns into reusable components.
Current State
Each page likely has duplicated code like:
<PageHeader>
<PageHeaderTitle>...</PageHeaderTitle>
<PageHeaderActions>...</PageHeaderActions>
</PageHeader>
<PageContent>
<DataTable ... />
</PageContent>
<SomeDialog /> // Create/Edit dialog repeated everywhere
Requirements
Identify common patterns
Common components to create
Refactor existing pages
Priority
Effort
Benefits
- Less code duplication
- Easier to maintain
- Consistent UI across pages
- Easier to add new pages
Description
All pages in
src/renderer/src/pages/have the same layout structure. Extract common patterns into reusable components.Current State
Each page likely has duplicated code like:
Requirements
Identify common patterns
Common components to create
PageLayout- wrapper with consistent spacing/structureEntityTable- reusable data table for CRUD entitiesEntityDialog- reusable create/edit dialogEntityForm- reusable form fieldsRefactor existing pages
Priority
Effort
Benefits