Torsten Schulz (local)
78eba6b1fb
Refactor feedback handling across components: Replace alert and confirm calls with centralized feedback functions for improved user experience. Update various components to utilize showError, showSuccess, and confirmAction for consistent messaging and confirmation dialogs. Enhance UI responsiveness and maintainability by streamlining feedback logic.
2026-03-19 16:18:51 +01:00
Torsten Schulz (local)
b0c8f01fde
Refactor backend CORS settings to include default origins and improve error handling in chat services: Introduce dynamic CORS origin handling, enhance RabbitMQ message sending with fallback mechanisms, and update WebSocket service to manage pending messages. Update UI components for better accessibility and responsiveness, including adjustments to dialog and navigation elements. Enhance styling for improved user experience across various components.
2026-03-19 14:44:04 +01:00
Torsten Schulz (local)
70ee17a48a
Enhance backend configuration and error handling: Update CORS settings to allow dynamic origins, improve RabbitMQ connection handling in chat services, and adjust API server host configuration. Refactor environment variables for better flexibility and add fallback mechanisms for WebSocket and chat services. Update frontend environment files for consistent API and WebSocket URLs.
2026-03-18 22:45:22 +01:00
Torsten Schulz (local)
bd44b66faa
Normalisiere eingehende API-Daten: Akzeptiere sowohl camelCase als auch snake_case für die Eigenschaften des Falukant-Datenobjekts.
2026-02-14 16:41:14 +01:00
Torsten Schulz (local)
332946261b
Entferne Debug-Logs für Alters- und Geschlechtsbezeichnungen in FalukantWidget
2026-02-09 17:29:10 +01:00
Torsten Schulz (local)
06e614f0c0
Verbessere die Handhabung von Altersgruppen in FalukantWidget: Lese Rohwerte direkt aus i18n-Nachrichten, um Plural/Choice-Format zu vermeiden.
2026-02-09 17:26:36 +01:00
Torsten Schulz (local)
8f35f749cc
Füge Debug-Logs für Alters- und Geschlechtsbezeichnungen in FalukantWidget hinzu
2026-02-09 17:18:44 +01:00
Torsten Schulz (local)
0621889a2e
Korrigiere Altersgruppenlogik in FalukantWidget: Überarbeite die Altersberechnung und passe die Kommentare für Klarheit an.
2026-02-09 17:06:30 +01:00
Torsten Schulz (local)
7641f9b953
Aktualisiere die Altersberechnung in FalukantWidget: Ändere die Umrechnung von Tagen in Jahre und runde auf das nächste Jahr für eine erwartbare Anzeige.
2026-02-09 17:02:41 +01:00
Torsten Schulz (local)
0f65cd86b5
Refactor code structure for improved readability and maintainability
2026-02-09 16:50:25 +01:00
Torsten Schulz (local)
a0b7bb1c04
Revert "Refactor DirectorInfo and SaleSection components to unify speedLabel logic and remove unnecessary watch properties"
...
This reverts commit ba4e85a60b .
2026-02-09 15:56:48 +01:00
Torsten Schulz (local)
da275061bf
Implement age-based gender labels in FalukantWidget and update translations: Added logic to determine gender labels based on age groups and updated locale files for German and English.
2026-02-09 15:16:51 +01:00
Torsten Schulz (local)
c351bad45a
Enhance FalukantWidget gender label logic and add age-based labels: Updated gender label computation to include age-based distinctions for children and adults. Added new translation key for "years" in both German and English locale files.
2026-02-09 15:12:23 +01:00
Torsten Schulz (local)
ba4e85a60b
Refactor DirectorInfo and SaleSection components to unify speedLabel logic and remove unnecessary watch properties
...
- Simplified speedLabel method in DirectorInfo.vue and SaleSection.vue to handle null values and translations more efficiently.
- Removed the watch property for branchId in DirectorInfo.vue as it was not needed.
- Cleaned up the code by eliminating redundant checks and improving readability.
Update translations in falukant.json files
- Removed unused keys and cleaned up the structure in both German and English translation files.
- Ensured that all necessary translations are still present while removing obsolete entries.
Refactor BranchView and PoliticsView components for improved performance and clarity
- Removed caching logic for product prices in BranchView.vue to simplify the loading process.
- Streamlined the loadCurrentPositions method in PoliticsView.vue by eliminating unnecessary character ID checks and logging.
- Enhanced the user experience by ensuring that the application submission process is clearer and more efficient.
Clean up MoneyHistoryView and FamilyView components
- Removed the graph section from MoneyHistoryView.vue to simplify the UI.
- Adjusted the mood display logic in FamilyView.vue to ensure proper translation handling.
2026-02-09 11:44:26 +01:00
Torsten Schulz (local)
e18bd6f51e
Update z-index values in DialogWidget and OverviewView components to improve layout stacking context and ensure proper element visibility.
2026-02-05 10:46:16 +01:00
Torsten Schulz (local)
e724fde5b7
Update z-index values in DialogWidget and StatusBar components, and remove negative z-index in OverviewView component for improved layout and stacking context.
2026-02-05 08:41:15 +01:00
Torsten Schulz (local)
a10334e891
Add watcher for branchId in DirectorInfo component: Implemented a watcher to trigger loadDirector method when branchId changes, enhancing data responsiveness in the UI.
2026-02-04 15:44:16 +01:00
Torsten Schulz (local)
fcf0d36902
Implement noBackground prop in Character3D component: Add functionality to conditionally render the background and background image based on the noBackground prop. Update OverviewView to utilize the new prop, enhancing the character display logic and improving visual customization options.
2026-02-02 08:46:12 +01:00
Torsten Schulz (local)
e442b5dca7
Refactor trigger creation logic: Update the created_at and updated_at fields to use the election date instead of the current timestamp, ensuring accurate term end calculations. Enhance socket event handling in StatusBar component by implementing setup and teardown methods for improved event management and user notifications.
2026-02-02 07:48:53 +01:00
Torsten Schulz (local)
4b1554757e
Add widget functionality for birthdays, upcoming events, and mini calendar: Implement new API endpoints in calendarController and calendarService to retrieve upcoming birthdays and events, as well as mini calendar data. Update calendarRouter to include widget routes and enhance DashboardWidget to dynamically render new widget components. This update improves user experience by providing quick access to important calendar information.
2026-01-30 15:14:37 +01:00
Torsten Schulz (local)
b2b42d1eec
Refactor DashboardWidget to use dynamic widget components: Replace static slot content with a dynamic component rendering based on the endpoint prop. This change simplifies the widget structure and enhances flexibility by allowing different widget types to be displayed. Additionally, update error handling to provide more specific error messages.
2026-01-30 13:42:22 +01:00
Torsten Schulz (local)
68bc7590fa
Refactor age display logic in DashboardWidget: Simplify age representation to always show years, removing the conditional check for days. This change streamlines the age display functionality.
2026-01-30 13:34:02 +01:00
Torsten Schulz (local)
9525ecbb07
Enhance drag-and-drop experience in DashboardWidget: Implement a visual drag ghost image during widget dragging for improved user feedback. Adjust dragging state styles, including opacity and border, to better indicate active dragging. This update aims to refine the overall interaction and visual cues during widget rearrangement.
2026-01-30 11:13:51 +01:00
Torsten Schulz (local)
8963e31690
Refine DashboardWidget and LoggedInView styles: Adjust transition effects and dragging state in DashboardWidget for improved visual feedback. Update grid row height in LoggedInView for better responsiveness and enhance drop indicator styling for a more polished user experience.
2026-01-30 10:44:46 +01:00
Torsten Schulz (local)
9da4f7dca1
Enhance drag-and-drop functionality in Dashboard: Update styles for dragging state in DashboardWidget, including opacity and box-shadow adjustments. Improve LoggedInView by adding drop indicators for better user experience during widget rearrangement. Refactor drag-and-drop logic to maintain visual cues and ensure smoother interactions.
2026-01-30 10:30:07 +01:00
Torsten Schulz (local)
75ee2fdbd0
Update age representation in DashboardWidget: Modify falukantAgeLabel computed property to display age in days if less than a year, otherwise show in years. Add localization for "days" in both German and English language files to support the new age format.
2026-01-30 10:05:30 +01:00
Torsten Schulz (local)
fd758da93d
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.
2026-01-30 09:26:00 +01:00
Torsten Schulz (local)
595f6e3a7a
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.
2026-01-30 09:05:55 +01:00
Torsten Schulz (local)
b1f0938b81
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.
2026-01-30 08:18:50 +01:00
Torsten Schulz (local)
797bcac94d
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.
2026-01-29 17:28:58 +01:00
Torsten Schulz (local)
2ba32a4a7f
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.
2026-01-29 17:26:43 +01:00
Torsten Schulz (local)
75051322d5
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.
2026-01-29 17:22:53 +01:00
Torsten Schulz (local)
084bacc20d
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.
2026-01-29 17:20:06 +01:00
Torsten Schulz (local)
ab5620dea8
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.
2026-01-29 17:03:32 +01:00
Torsten Schulz (local)
3769f95f63
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.
2026-01-29 16:52:54 +01:00
Torsten Schulz (local)
d0f98cdb81
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.
2026-01-29 15:58:31 +01:00
Torsten Schulz (local)
a7c159a4af
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.
2026-01-29 15:20:38 +01:00
Torsten Schulz (local)
c16574d9e2
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.
2026-01-29 15:12:13 +01:00
Torsten Schulz (local)
bbd0b731a4
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.
2026-01-29 15:11:16 +01:00
Torsten Schulz (local)
769b2b788a
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.
2026-01-29 15:06:38 +01:00
Torsten Schulz (local)
a32af9a8e4
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.
2026-01-29 14:22:25 +01:00
Torsten Schulz (local)
822ac5984b
Refactor StatusBar component: Improve status item rendering by enhancing icon and label display, and update CSS for better alignment and styling. This change enhances the visual clarity and user experience of the status bar.
2026-01-29 11:58:15 +01:00
Torsten Schulz (local)
ee3dda9476
Refactor SaleSection component: Simplify sell item and sell all logic, remove unnecessary state management, and improve UI feedback. Update translations and clean up unused code in i18n files. Optimize price loading in BranchView and remove legacy product loading in MoneyHistoryView. Streamline PoliticsView by removing own character ID handling and related logic.
2026-01-26 16:03:48 +01:00
Torsten Schulz (local)
25ee3cbbb6
Add RelationshipChangeLog model and enhance character loading logic
2026-01-26 09:54:40 +01:00
Torsten Schulz (local)
c1773ac9c7
Update color scheme across components to use new primary orange variable
...
- Replaced hardcoded orange color values with the new CSS variable for primary orange in multiple components, ensuring consistency in styling.
- Updated styles in DialogWidget, MessageboxWidget, SettingsWidget, SimpleTabs, and various Falukant components to enhance maintainability and readability.
2026-01-23 13:56:19 +01:00
Torsten Schulz (local)
9e2ccf1a62
Refactor model path handling in Character3D component
...
- Introduced a constant for the models API path to streamline model path construction.
- Updated modelPath method to utilize the new constant, improving code clarity and maintainability.
- Adjusted fallback model path logic to ensure consistent API usage.
2026-01-22 13:42:27 +01:00
Torsten Schulz (local)
6b01625f56
Implement model optimization and caching for 3D characters
...
- Added a new modelsProxyRouter to handle requests for optimized 3D character models.
- Introduced modelsProxyService to manage GLB file optimization using gltf-transform with Draco compression.
- Updated app.js to include the new modelsProxyRouter for API access.
- Enhanced .gitignore to exclude model cache files.
- Added scripts for optimizing GLB models and updated README with optimization instructions.
- Integrated DRACOLoader in Character3D.vue for loading compressed models.
- Updated FamilyView.vue to streamline character rendering logic.
2026-01-22 13:24:47 +01:00
Torsten Schulz (local)
086ceee502
Update color scheme in AppHeader and AppNavigation components for visual consistency
...
- Changed background color in AppHeader.vue and AppNavigation.vue to a new shade for improved aesthetics.
- Adjusted hover states and submenu background colors in AppNavigation.vue to match the updated theme.
- Refactored FamilyView.vue to enhance layout with additional padding for better alignment of elements.
2026-01-22 12:56:53 +01:00
Torsten Schulz (local)
e6441c891b
Update AppHeader and FamilyView components for improved styling and layout
...
- Changed background color in AppHeader.vue for enhanced visual appeal.
- Refactored FamilyView.vue to improve layout by introducing a flexbox structure for better alignment of relationship details and 3D character models.
- Added new CSS classes to support the updated layout and ensure responsive design.
2026-01-22 12:49:48 +01:00
Torsten Schulz (local)
d956ccca36
Enhance deployment scripts and frontend components for improved functionality and styling
...
- Added dependency installation step in deploy-frontend.sh and update-frontend.sh to ensure all required packages are available before building the frontend.
- Updated AppNavigation.vue to change background color for better visual appeal.
- Refactored FamilyView.vue to include 3D character models for both the user and their relationships, enhancing the visual representation of family dynamics.
- Modified OverviewView.vue to switch from 3D character rendering to a 2D avatar display, improving loading performance and user experience.
2026-01-22 12:39:24 +01:00