Commit Graph

10 Commits

Author SHA1 Message Date
Nils-Johan Gynther c57f4bde19 feat: integrate authFetch for API calls in InventoryView and PantryView, and add pantry route with authentication 2026-04-21 14:49:20 +02:00
Nils-Johan Gynther 81b63b3fdb feat: implement inventory and pantry management views with CRUD functionality and user-friendly interfaces 2026-04-21 14:43:18 +02:00
Nils-Johan Gynther 87eab4d0ca feat: add functionality for managing deleted products, including restoration and permanent deletion 2026-04-21 13:30:44 +02:00
Nils-Johan Gynther a0eaef2992 fix(ForslagTab): correct relative import path for auth-headers 2026-04-19 20:09:23 +02:00
Nils-Johan Gynther 31b7da82cd feat(Navigation): update navigation links and rename 'Matplan' to 'Matsedel'
feat(matsedel): add MealPlanClient and page for meal planning
feat(profil): add AI and suggestion tabs for admin users
2026-04-19 20:06:33 +02:00
Nils-Johan Gynther f12e673af5 refactor(DatabsTab): remove unnecessary product fetching and pass empty props to components 2026-04-19 18:23:36 +02:00
Nils-Johan Gynther 054a19ed7c MAJOR UPPDATE: "First Ai"
feat: add AI categorization for products and enhance user management

- Integrated AI service for category suggestions in receipt import and product management.
- Added premium subscription feature for users with corresponding API endpoints.
- Implemented admin interface for managing pending product suggestions.
- Enhanced user management to include premium status and corresponding UI updates.
- Updated database schema to support new fields for premium status and product status.
2026-04-19 10:34:21 +02:00
Nils-Johan Gynther 0598e027ac fix(profil): update user ID retrieval and improve fetch request error handling 2026-04-18 14:58:52 +02:00
Nils-Johan Gynther 537a4f8ab6 feat: Implement admin user management features
- Added adminCreateUser endpoint and corresponding DTO for creating users.
- Implemented deleteUser and resetPassword functionalities for admin users.
- Introduced updateEmail functionality for admin users.
- Updated UsersService to handle user creation, deletion, password reset, and email updates.
- Modified UsersController to include new admin routes with appropriate role checks.
- Refactored frontend navigation to link to user management under profile.
- Created new profile tabs for user management and database management.
- Developed AnvandareClient component for user management, including user creation, deletion, role changes, and password resets.
- Added DatabsTab for managing product listings and merging duplicates.
- Enhanced MinProfilTab for user profile management with form handling.
2026-04-18 14:49:02 +02:00
Nils-Johan Gynther a9e83544c5 feat(profile): add user profile management with first and last name fields 2026-04-17 20:44:23 +02:00