Torsten Schulz (local)
cb4aa4d895
Refactor code structure for improved readability and maintainability
2026-02-09 16:50:25 +01:00
Torsten Schulz (local)
849b5747aa
Revert "Refactor DirectorInfo and SaleSection components to unify speedLabel logic and remove unnecessary watch properties"
...
This reverts commit b0ff0dafea .
2026-02-09 15:56:48 +01:00
Torsten Schulz (local)
92b4163044
Add Spanish locale files and initial translations
2026-02-09 15:55:04 +01:00
Torsten Schulz (local)
75ec945b2e
Update gender age labels in locale files: Adjusted age group definitions and refined translations for gender terms in both German and English locale files.
2026-02-09 15:21:41 +01:00
Torsten Schulz (local)
e8649d9a1f
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)
951ad5ee06
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)
70a0d0edfa
Add error handling for nobility advancement in NobilityView: Implemented specific error messages for cooldown and unmet requirements, enhancing user feedback during advancement attempts.
2026-02-09 12:03:59 +01:00
Torsten Schulz (local)
b0ff0dafea
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)
dd5853dab4
Enhance VocabService and VocabLessonView for improved vocabulary review: Updated VocabService to load previous lesson vocabulary for both review and mixed training modes. Added new computed properties and methods in VocabLessonView to manage vocabulary from previous lessons, including a mixed pool for enhanced training. Updated UI to reflect current lesson and mixed review status in the vocabulary trainer.
2026-02-09 11:17:04 +01:00
Torsten Schulz (local)
f487564cb6
Add TitleBenefit model and integrate benefits into FalukantService: Introduced TitleBenefit for managing title-related advantages, including tax exemptions and office eligibility. Updated service methods to utilize these benefits for character reputation, tax distribution, and allowed office types, enhancing gameplay mechanics and user experience.
2026-02-06 09:50:31 +01:00
Torsten Schulz (local)
ec964106a1
Refactor FalukantService and update UI components: Removed debug logging from FalukantService, added age requirement messages in i18n files, and improved age validation display in PoliticsView. This enhances user experience and code clarity regarding age eligibility for political applications.
2026-02-06 00:14:16 +01:00
Torsten Schulz (local)
e52ca9e124
Refactor politics routes and service: Removed duplicate route for open politics in falukantRouter, updated falukantService to enhance logging for age validation in political applications, and ensured proper handling of open politics data in PoliticsView. This improves code clarity and debugging capabilities.
2026-02-06 00:04:49 +01:00
Torsten Schulz (local)
db92fa6d94
Implement age validation for political applications in FalukantService: Added MIN_AGE_POLITICS_DAYS constant and logic to check user age before allowing applications. Updated PoliticsView to reflect age eligibility and display appropriate hints. Enhanced error handling for age-related restrictions.
2026-02-06 00:00:11 +01:00
Torsten Schulz (local)
3e4df127ee
Enhance OverviewView component: Added daemonSocket handling for WebSocket events, improved event processing, and removed deprecated production_ready event handling. This update ensures better responsiveness to socket messages and maintains data integrity in the UI.
2026-02-05 23:37:17 +01:00
Torsten Schulz (local)
03286ce57d
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)
4009dcb2a5
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)
413c27da14
Update CSS styles in OverviewView component: Added relative positioning and z-index to enhance layout control and ensure proper stacking of elements.
2026-02-05 08:19:29 +01:00
Torsten Schulz (local)
4403dfd4d8
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)
fb26062c04
Refactor user and relationship data retrieval in FalukantService: Update loading logic to use separate queries for UserHouse and relationships, improving reliability and preventing EagerLoadingError. Enhance heir selection UI with new translations in German and English, providing better user guidance during character selection.
2026-02-04 14:12:25 +01:00
Torsten Schulz (local)
f3f9f64e84
Enhance Bisaya course content creation: Update SQL query to include owner user ID and improve exercise handling logic. Implement checks for existing exercises and placeholder replacements for review lessons, ensuring better management of lesson content and user feedback.
2026-02-02 09:58:35 +01:00
Torsten Schulz (local)
ccd63134f7
Adjust character positioning in OverviewView: Change the bottom offset of the character foreground from 10px to -15px to improve visual alignment within the user interface.
2026-02-02 09:35:16 +01:00
Torsten Schulz (local)
6b71c3b1c0
Update character styling in OverviewView: Adjust character positioning and dimensions by changing the bottom offset to 10px and increasing width and height to 55%. This enhances the visual representation of characters in the user interface.
2026-02-02 09:03:33 +01:00
Torsten Schulz (local)
3512cbf96f
Add avatar display logic in OverviewView: Introduce dynamic avatar styling based on user gender and age, enhancing character representation. Implement age group categorization for precise avatar positioning and dimensions, improving visual consistency in the user interface.
2026-02-02 08:53:47 +01:00
Torsten Schulz (local)
f280f5ed0a
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)
67dfc6e92e
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)
92e8c2c918
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)
588d8e3b08
Add friends' birthdays feature: Implement API endpoint to retrieve friends' birthdays for a specified year, enhance calendar service to handle visibility checks, and update CalendarView to display birthday events with distinct styling. This update improves user experience by allowing users to view important dates of their friends.
2026-01-30 14:59:32 +01:00
Torsten Schulz (local)
e72723abb6
Add all-day event functionality to CalendarView: Introduce a new section for displaying all-day events in both week and day views. Update localization files to include translations for 'All Day' in English and German. Enhance event handling methods to support all-day events, improving the overall calendar experience.
2026-01-30 14:43:07 +01:00
Torsten Schulz (local)
a0108e9e9b
Improve date handling in CalendarView: Add comments to clarify the logic for setting the date to the first of the month to prevent overflow issues when navigating between months. This enhancement aids in maintaining accurate date transitions in the calendar view.
2026-01-30 14:41:02 +01:00
Torsten Schulz (local)
b002f701df
Refactor date handling in CalendarView: Update date formatting to use local timezone instead of UTC, enhancing accuracy in date representation. Introduce a new helper method for consistent date formatting across the component. This change improves the overall user experience by ensuring dates are displayed correctly.
2026-01-30 14:35:08 +01:00
Torsten Schulz (local)
da3ac9bf91
Add calendar feature: Integrate calendarRouter and CalendarEvent model, enhance CalendarView with API interactions for event management, and update localization files for error handling in both English and German. This update improves the calendar functionality and user experience.
2026-01-30 14:29:11 +01:00
Torsten Schulz (local)
ae0fd040c7
Update calendar localization and enhance CalendarView: Add new entries, edit options, selection info, and form fields in both English and German localization files. Improve CalendarView component with new event dialog and selection handling for a better user experience.
2026-01-30 14:17:04 +01:00
Torsten Schulz (local)
88182e84fb
Enhance calendar functionality in personal section: Implement detailed calendar views (month, week, workweek, day) in CalendarView component. Update localization files for English and German to include translations for calendar features such as views, weekdays, and months. This update improves user experience by providing a comprehensive calendar interface.
2026-01-30 14:07:28 +01:00
Torsten Schulz (local)
e885574ee9
Implement personal section in navigation: Add a new 'personal' menu item with sub-items for language learning and calendar. Update localization files for English and German to include translations for the new section. Integrate personal routes into the router configuration for navigation.
2026-01-30 13:53:27 +01:00
Torsten Schulz (local)
c41ef3f544
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)
989f764e3e
Remove unused drag-and-drop indicators in LoggedInView: Eliminate placeholder elements and associated styles for drop zones to streamline the widget rearrangement interface. This change simplifies the code and enhances clarity in the drag-and-drop functionality.
2026-01-30 13:38:35 +01:00
Torsten Schulz (local)
66715f15b2
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)
35957b504c
Enhance drag-and-drop functionality in LoggedInView: Update event handling to include event parameters for improved debugging and clarity. Add console logs to track drag-and-drop actions, enhancing the user experience during widget rearrangement.
2026-01-30 13:29:01 +01:00
Torsten Schulz (local)
4e5b3b6045
Refine drag-and-drop functionality in LoggedInView: Simplify event handling for drag-and-drop actions by removing unnecessary parameters and updating placeholder comments for clarity. This change aims to enhance user experience during widget rearrangement.
2026-01-30 13:15:03 +01:00
Torsten Schulz (local)
d1649a5ab3
Refine drag-and-drop behavior in LoggedInView: Update drop event handling to prevent event propagation and improve widget insertion logic. Adjust drop target determination to enhance user experience during widget rearrangement.
2026-01-30 12:03:12 +01:00
Torsten Schulz (local)
5eaa51c2d4
Improve drag-and-drop indicators in LoggedInView: Enhance visual cues for widget insertion by updating placeholder comments and adding event handlers for drag-and-drop actions. This update aims to provide clearer instructions for users during widget rearrangement.
2026-01-30 11:44:08 +01:00
Torsten Schulz (local)
786cdc7956
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)
6dd8c37244
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)
3ef4ef9893
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)
ee6b5a8e7f
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)
a48c63b355
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.
2026-01-30 09:54:55 +01:00
Torsten Schulz (local)
84bbe03d66
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)
5e0406e5e1
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)
4b45967f51
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)
d1dfb887a6
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.
2026-01-30 07:31:38 +01:00