Torsten Schulz torsten
  • Joined on 2025-12-19
torsten pushed to main at torsten/yourpart3 2026-01-30 09:54:58 +01:00
ddefc2737b Adjust dashboard grid row height in LoggedInView for improved layout: Change grid-auto-rows from 420px to 200px to enhance responsiveness and better accommodate dynamic content.
torsten pushed to main at torsten/yourpart3 2026-01-30 09:26:02 +01:00
05868d8a09 Update DashboardWidget and LoggedInView styles: Adjust min-height and max-height properties for better layout flexibility. Enhance dashboard grid cell styling to support dynamic content display and improve overall UI responsiveness.
torsten pushed to main at torsten/yourpart3 2026-01-30 09:05:58 +01:00
b3afb988a3 Improve AppNavigation item handling: Update the logic to only expand items with non-empty children, enhancing user experience by preventing unnecessary interactions on items without submenus.
torsten pushed to main at torsten/yourpart3 2026-01-30 08:18:56 +01:00
3b8e0573f2 Enhance DashboardWidget functionality: Integrate Vuex state management for socket connections, enabling real-time updates for Falukant widgets. Refactor computed properties and methods to handle socket events and improve data fetching logic. Update localization for age representation and adjust styles for better UI presentation.
torsten pushed to main at torsten/yourpart3 2026-01-30 07:31:39 +01:00
4779a6e4af Refactor dashboard widget management: Update dashboardService to handle user-specific widget configurations with create and update logic. Enhance LoggedInView to support adding the same widget type and display error messages for save operations. Ensure effective endpoint handling for widgets and improve UI interactions.
torsten pushed to main at torsten/yourpart3 2026-01-29 17:29:00 +01:00
39ac149430 Enhance character name display in DashboardWidget: Refactor character name construction logic in FalukantService to include title handling and create a new computed property for display name in DashboardWidget. Update styles for gender display and ensure proper localization for age representation.
torsten pushed to main at torsten/yourpart3 2026-01-29 17:26:47 +01:00
8ec7db031b Refactor DashboardWidget and LoggedInView: Update DashboardWidget to display a single news article instead of a list, enhancing user experience. Remove logout button and related functionality from LoggedInView to streamline the interface.
torsten pushed to main at torsten/yourpart3 2026-01-29 17:22:55 +01:00
25b5b91a19 Fix conditional rendering in DashboardWidget: Change v-else-if to v-if for newsDataResults to ensure proper display of news articles when data is available.
torsten pushed to main at torsten/yourpart3 2026-01-29 17:20:08 +01:00
e8c6f6ffb9 Add news widget functionality: Integrate newsRouter for fetching news data, update initializeWidgetTypes to include news endpoint, and enhance DashboardWidget component to display news articles with pagination support. Update LoggedInView to manage widget request counters for unique endpoint handling.
torsten pushed to main at torsten/yourpart3 2026-01-29 17:03:35 +01:00
62d8cd7b05 Add dashboard widget functionality: Implement getDashboardWidget method in FalukantService to retrieve compact user data for the dashboard. Update FalukantController and router to expose the new endpoint, and enhance DashboardWidget component to display user-specific information including character name, gender, age, money, unread notifications, and children count.
torsten pushed to main at torsten/yourpart3 2026-01-29 16:57:15 +01:00
c09159d6ce Add widget management functionality: Implement getAvailableWidgets method in dashboardService to retrieve widget types, and create corresponding API endpoint in dashboardRouter. Update LoggedInView to allow users to select and add widgets dynamically, enhancing dashboard customization options.
torsten pushed to main at torsten/yourpart3 2026-01-29 16:52:56 +01:00
8d2db95540 Add dashboard functionality: Integrate dashboardRouter and UserDashboard model, enabling user-specific dashboard configurations. Update LoggedInView to support dynamic widget management, including adding, removing, and saving widget configurations, enhancing user experience and interactivity.
torsten pushed to main at torsten/yourpart3 2026-01-29 16:44:05 +01:00
9519846489 Refactor inventory handling in FalukantService: Update product transport logic to retrieve all stocks for a branch, improving inventory checks and ensuring accurate transport cost calculations. Implement locking during inventory updates to maintain data integrity during transactions.
torsten pushed to main at torsten/yourpart-daemon 2026-01-29 16:10:36 +01:00
c24aa63f97 Fix SQL query parameter order in inventory update: Swap parameters in the execute call to correctly update inventory quantity based on the new quantity and inventory ID. Add comment for clarity on SQL operation.
torsten pushed to main at torsten/yourpart3 2026-01-29 16:04:45 +01:00
f7a977df33 Enhance FalukantService with character caching and optimized city retrieval: Introduce caching for cities with branch types to reduce database queries, and streamline character retrieval logic. Update product and knowledge fetching to improve performance and maintainability.
torsten pushed to main at torsten/yourpart3 2026-01-29 15:58:34 +01:00
f1717920b6 Add batch processing for product price retrieval: Implement getProductPricesInCitiesBatch method in FalukantService for handling multiple product price requests in a single API call. Update FalukantController and router to support new endpoint, and refactor RevenueSection and SaleSection components to utilize batch processing for improved performance and reduced API calls.
torsten pushed to main at torsten/yourpart3 2026-01-29 15:20:40 +01:00
c5ab17ad99 Refactor FalukantService and SaleSection components: Optimize product and knowledge retrieval by using Promise.all for concurrent database queries, improving performance. Additionally, reorganize the speedLabel method for better readability and maintainability, ensuring accurate localization handling for transport speed values.
torsten pushed to main at torsten/yourpart3 2026-01-29 15:12:16 +01:00
1839c3c57b Refactor price loading logic in RevenueSection and SaleSection components: Replace for-loops with Promise.all for concurrent API requests, improving performance and responsiveness. This change enhances the handling of loading states and ensures better management of price data retrieval.
torsten pushed to main at torsten/yourpart3 2026-01-29 15:11:19 +01:00
ba63b3504f Refactor SaleSection component: Introduce methods section to organize component logic, enhancing readability and maintainability. This change improves the structure of the component by clearly separating computed properties and methods.
torsten pushed to main at torsten/yourpart3 2026-01-29 15:06:40 +01:00
032e336b65 Add synchronous price calculation method: Introduce calcRegionalSellPriceSync for improved performance in price calculations when worthPercent is known. Refactor getAllProductPricesInRegion to utilize this new method, enhancing efficiency by reducing database calls. Update BranchView to manage product prices cache with regionId for better data handling.