feat(elixir): category managing w/ filtering &CRUD
This commit is contained in:
14
README.md
14
README.md
@@ -36,6 +36,7 @@ A modern, idiomatic Elixir/Phoenix port of the original PHP-based component inve
|
||||
- **Inventory Tracking**: Monitor component quantities with increment/decrement buttons
|
||||
- **Search & Filter**: Fast search across component names, descriptions, and keywords
|
||||
- **Category Organization**: Hierarchical category system for better organization
|
||||
- **Category Management**: Add, edit, delete categories through the web interface with hierarchical support
|
||||
- **Datasheet Links**: Direct links to component datasheets
|
||||
- **Position Tracking**: Track component storage locations
|
||||
- **Real-time Updates**: All changes are immediately reflected in the interface
|
||||
@@ -97,6 +98,7 @@ The application uses a simple password-based authentication system:
|
||||
### Live Views
|
||||
- **`ComponentsElixirWeb.LoginLive`**: Authentication interface
|
||||
- **`ComponentsElixirWeb.ComponentsLive`**: Main component management interface
|
||||
- **`ComponentsElixirWeb.CategoriesLive`**: Category management interface
|
||||
|
||||
### Key Features
|
||||
- **Real-time updates**: Changes are immediately reflected without page refresh
|
||||
@@ -113,18 +115,18 @@ The application uses a simple password-based authentication system:
|
||||
| `addItem.php` | `Inventory.create_component/1` | Built-in validation, changesets |
|
||||
| Manual editing | `Inventory.update_component/2` | **NEW**: Full edit functionality with validation |
|
||||
| `changeAmount.php` | `Inventory.update_component_count/2` | Atomic operations, constraints |
|
||||
| Manual category management | `CategoriesLive` + `Inventory.create_category/1` | **NEW**: Full category CRUD with web interface |
|
||||
| `imageUpload.php` | (Future: Phoenix file uploads) | Planned improvement |
|
||||
| Session management | Phoenix sessions + LiveView | Built-in CSRF protection |
|
||||
|
||||
## Future Enhancements
|
||||
|
||||
1. **Image Upload**: Implement Phoenix file uploads for component images
|
||||
2. **Category Management UI**: Add/edit/delete categories through the web interface
|
||||
3. **Bulk Operations**: Import/export components via CSV
|
||||
4. **API Endpoints**: REST API for external integrations
|
||||
5. **User Management**: Multi-user support with roles and permissions
|
||||
6. **Advanced Search**: Filters by category, stock level, etc.
|
||||
7. **Barcode/QR Codes**: Generate and scan codes for quick inventory updates
|
||||
2. **Bulk Operations**: Import/export components via CSV
|
||||
3. **API Endpoints**: REST API for external integrations
|
||||
4. **User Management**: Multi-user support with roles and permissions
|
||||
5. **Advanced Search**: Filters by category, stock level, etc.
|
||||
6. **Barcode/QR Codes**: Generate and scan codes for quick inventory updates
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user