Commit Graph
35 Commits
Author SHA1 Message Date
theis.gaedigk 9c17b2a495 major changes to docker and npm config 2026-10-26 16:29:17 +01:00
theis.gaedigk 1db4e69322 Remove unused components and files from the frontend, including Form4, Header, LoginForm, Object, Sidebar, and related utility functions. Clean up the project structure by deleting unnecessary CSS, TypeScript configuration files, and Vite configuration. This refactor aims to streamline the codebase and improve maintainability. 2025-10-27 20:40:53 +01:00
theis.gaedigk b99f52f09a feat: Initialize FrontendV2 project with React, Vite, and Tailwind CSS
- Add package.json with dependencies and scripts for development and build
- Include Vite logo and React logo SVGs in public/assets
- Set up Tailwind CSS in App.css and index.css
- Create main App component with routing for Home and Login pages
- Implement LoginPage with authentication logic and error handling
- Add HomePage component as a landing page
- Create MyAlert component for displaying alerts using Chakra UI
- Implement color mode toggle functionality with Chakra UI
- Set up global state management using Jotai for authentication
- Create ProtectedRoutes component to guard routes based on authentication
- Add utility components for Toaster and Tooltip using Chakra UI
- Configure Tailwind CSS and TypeScript settings for the project
- Implement AddLoan component for selecting loan periods and fetching available items
2025-10-24 20:21:32 +02:00
theis.gaedigk 86af1a5edf implemented jotai atoms 2025-10-22 21:44:05 +02:00
theis.gaedigk 6ea1ff799c added .env link function 2025-10-04 00:26:02 +02:00
theis.gaedigk c0ae12185a redesgined header 2025-09-03 14:52:36 +02:00
theis.gaedigk 68f13f369c add password change functionality with frontend integration 2025-09-03 14:50:35 +02:00
theis.gaedigk 99810d2b7d fixed bug/issue: #9 2025-09-03 13:40:55 +02:00
theis.gaedigk 478f03452d added take and return setter buttons 2025-08-28 21:12:58 +02:00
theis.gaedigk 7faf95188d added source code button 2025-08-21 18:53:33 +02:00
theis.gaedigk 79df00a17e added footer component 2025-08-21 18:53:18 +02:00
theis.gaedigk a8377e5ec3 added help section 2025-08-21 12:48:03 +02:00
theis.gaedigk 8f1d401aa1 enhance sidebar item descriptions for clarity 2025-08-21 12:44:15 +02:00
theis.gaedigk 2cf82c8dcb fixed bug: error handeling 2025-08-20 18:09:33 +02:00
theis.gaedigk bcf3cc08bb added improved error handeling 2025-08-20 18:06:59 +02:00
theis.gaedigk c779a31bfa updated toastify design 2025-08-20 13:38:54 +02:00
theis.gaedigk c33f3e1101 refactor Layout component for improved sidebar responsiveness 2025-08-20 13:17:23 +02:00
theis.gaedigk 67dd74d3d3 refactor Sidebar component layout for improved responsiveness 2025-08-20 13:09:32 +02:00
theis.gaedigk d82cde55cc deleted unnecessary imports 2025-08-20 13:06:46 +02:00
theis.gaedigk 2b7f6e8e17 fixed sidebar displaying bug 2025-08-20 13:06:22 +02:00
theis.gaedigk ccceb5840c fixed sidebar display bug 2025-08-20 12:42:29 +02:00
theis.gaedigk ff219d850b fixed bug: Now you dont have to reload the page twice, after creating a loan 2025-08-20 12:30:37 +02:00
theis.gaedigk 8291968e7a maked ui simpler 2025-08-20 01:07:00 +02:00
theis.gaedigk 2480bfab89 feat: update UI components and styles for improved user experience
- Removed obsolete PDF file from the mock directory.
- Updated index.html to change the favicon and title for the application.
- Deleted unused vite.svg file and replaced it with shapes.svg.
- Enhanced App component layout and styling.
- Refined Form1 component with better spacing and updated styles.
- Improved Form2 component to enhance item selection UI and responsiveness.
- Updated Form4 component to improve loan display and interaction.
- Enhanced Header component styling for better visibility.
- Refined LoginForm component for a more modern look.
- Updated Object component styles for better text visibility.
- Improved Sidebar component layout and item display.
- Updated global CSS for better touch target improvements.
- Enhanced Layout component for better responsiveness and structure.
- Updated main.tsx to change toast notification theme.
- Updated tailwind.config.js to include index.html for Tailwind CSS processing.
2025-08-19 23:32:14 +02:00
theis.gaedigk d1494473ef fixed display bug in the table 2025-08-19 21:37:32 +02:00
theis.gaedigk cbcf282ca3 removed unnesesarry function 2025-08-19 21:26:48 +02:00
theis.gaedigk c389b38cf5 added new log column "take_date"
Also removed unnesesarry code notes
2025-08-19 21:24:41 +02:00
theis.gaedigk 9287c949ca feat: Implement loan management features including fetching, creating, and deleting loans
- Added database functions for managing loans: getLoans, getUserLoans, deleteLoan, and createLoan.
- Updated frontend to include new Form4 for displaying user loans and handling loan deletions.
- Replaced Form3 with Form4 in App component.
- Enhanced Form1 to set borrowing dates and fetch available items.
- Improved Form2 to display borrowable items and allow selection for loans.
- Introduced utility functions for handling loan creation and deletion in userHandler.
- Added event listeners for local storage updates to keep UI in sync.
- Updated fetchData utility to retrieve loans and user loans from the backend.
2025-08-19 19:13:52 +02:00
theis.gaedigk 8fbcd069b5 Added improved login and logout route for the frontend. The frontend page now doesn't have to reload. 2025-08-19 14:21:30 +02:00
theis.gaedigk 06f84cddc4 fixed sidebar and backend for sidebar 2025-08-19 14:00:00 +02:00
theis.gaedigk 298bc81435 implement user authentication with login functionality and database integration 2025-08-18 21:47:20 +02:00
theis.gaedigk 817a1efcdd added final frontend with full responsive style but without any logic 2025-08-18 18:41:52 +02:00
theis.gaedigk 913aace27f Added Layout and Header component 2025-08-18 16:08:18 +02:00
theis.gaedigk 98c6545bae implemented docker compose 2025-08-18 16:02:11 +02:00
theis.gaedigk 8d3d83a83f initial commit 2025-08-18 15:21:55 +02:00