Torsten Schulz torsten
  • Joined on 2025-12-19
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.
torsten pushed to main at torsten/yourpart3 2026-01-29 14:22:28 +01:00
474e46837a Refactor speedLabel method across components: Enhance localization handling for speed values by adding support for object types and improving fallback logic. This change ensures more accurate translations and better user experience in displaying transport speed information.
torsten pushed to main at torsten/yourpart3 2026-01-29 14:06:46 +01:00
e7052636ba Remove unused logging for queries in check-knowledge-pkey.js to streamline output and enhance clarity in database performance diagnostics.
torsten pushed to main at torsten/yourpart3 2026-01-29 14:05:27 +01:00
cb2631061e Enhance database performance diagnostics: Add detailed logging for unused primary key index and implement error handling for query statistics retrieval. Additionally, automate ANALYZE execution for affected tables after index creation to ensure PostgreSQL optimizes query performance. This improves clarity on index usage and enhances overall database performance management.
torsten pushed to main at torsten/yourpart3 2026-01-29 14:03:18 +01:00
d1ddfe7d31 Refactor database performance diagnostics: Update connection pool diagnostics in diagnose-db-performance.js to improve error handling and enhance console output clarity. This change ensures more accurate user feedback regarding database connection pooling.
torsten pushed to main at torsten/yourpart3 2026-01-29 13:56:48 +01:00
59cad22183 Refactor connection pool diagnostics in diagnose-db-performance.js: Update pool configuration retrieval to use Sequelize config, improve error handling, and enhance console output for better clarity on pool status. This change ensures more accurate diagnostics and user feedback regarding database connection pooling.