feat: enhance user input and rules panel components
- Updated dark-light mode button styles for improved responsiveness. - Enhanced rules panel with additional buttons for moving rules up and down, and updated styles for better layout. - Added active rule count display in the rules panel header. - Improved user input component layout with section headings and updated button styles. - Refactored day input component to use grid layout for better alignment and responsiveness. - Added new translations for user input and rules panel features. - Implemented tests for new functionality in rules panel and day input components. - Added application routes test to ensure correct routing configuration.
This commit is contained in:
1 parent
31314f3969
commit
609b3dece9
30 files changed
+870
-382
No files matched your search
+16
-4
@@ -5,13 +5,17 @@
|
||||
"description": "Optimize your vacation days based on holidays and weekends!"
|
||||
},
|
||||
"userInput": {
|
||||
"addVacationDay": "Add a vacation day",
|
||||
"calculate": "Calculate",
|
||||
"title": "Configure your leave",
|
||||
"description": "Add each leave balance and its validity period.",
|
||||
"addVacationDay": "Add leave balance",
|
||||
"calculate": "Calculate plan",
|
||||
"remainingDaysWarning": "{count} vacation day{plural} not placed:",
|
||||
"remainingDaysManualPlace": "Please place them manually.",
|
||||
"deleteEntry": "Delete entry",
|
||||
"chooseDate": "Choose a date",
|
||||
"chooseDate": "Expires on",
|
||||
"availableDate": "Available from",
|
||||
"days": "Days",
|
||||
"type": "Leave type",
|
||||
"daySuffix": "day",
|
||||
"daysSuffix": "days",
|
||||
"expires": "exp.",
|
||||
@@ -43,8 +47,11 @@
|
||||
"selectLanguage": "Language"
|
||||
},
|
||||
"rules": {
|
||||
"title": "Custom Rules",
|
||||
"title": "Planning rules",
|
||||
"subtitle": "Manage optimization rules",
|
||||
"active": "active",
|
||||
"moveRuleUp": "Move rule up",
|
||||
"moveRuleDown": "Move rule down",
|
||||
"priorityInfo": "The order of rules defines their execution priority (from top to bottom). Drag and drop to reorder.",
|
||||
"ifThenTemplate": "If a holiday falls on a <strong>{day}</strong>, place <strong>{placeDays}</strong> day(s) <strong>{placeType}</strong> <strong>{placement}</strong> and get <strong>{rewardDays}</strong> day(s) <strong>{rewardType}</strong> as a bonus.",
|
||||
"timeWindowTemplate": "Place <strong>{placeDays}</strong> day(s) <strong>{placeType}</strong> between <strong>{startDate}</strong> and <strong>{endDate}</strong>.",
|
||||
@@ -88,6 +95,11 @@
|
||||
}
|
||||
},
|
||||
"planning": {
|
||||
"title": "Your optimized year",
|
||||
"daysPlaced": "Leave days placed",
|
||||
"daysGained": "Non-working days gained",
|
||||
"longestWorkSequence": "Longest work sequence",
|
||||
"legend": "Calendar legend",
|
||||
"invalidInput": "The planning input is invalid.",
|
||||
"conflict": "The obligations cannot be satisfied together.",
|
||||
"incomplete": "Calculation stopped before all quality stages completed.",
|
||||
|
||||
Reference in new issue
Block a user