Improve the frontend 5

This commit is contained in:
Urtzi Alfaro
2025-11-02 20:24:44 +01:00
parent 0220da1725
commit 5adb0e39c0
90 changed files with 10658 additions and 2548 deletions

View File

@@ -1,6 +1,108 @@
{
"title": "Event Log",
"description": "Monitor system activity and important events",
"title": "Event Registry",
"description": "Tracking of all system activities and events",
"showFilters": "Show Filters",
"hideFilters": "Hide Filters",
"clearFilters": "Clear Filters",
"exportCSV": "Export CSV",
"exportJSON": "Export JSON",
"table": {
"timestamp": "Timestamp",
"service": "Service",
"user": "User",
"action": "Action",
"resource": "Resource",
"severity": "Severity",
"description": "Description",
"actions": "Actions",
"view": "View"
},
"filters": {
"title": "Filters",
"dateRange": "Date Range",
"startDate": "Start Date",
"endDate": "End Date",
"severity": "Severity",
"all": "All",
"action": "Action",
"resourceType": "Resource Type",
"search": "Search in Description",
"applyFilters": "Apply Filters",
"clear": "Clear"
},
"severity": {
"low": "Low",
"medium": "Medium",
"high": "High",
"critical": "Critical",
"info": "Information",
"warning": "Warning",
"error": "Error",
"success": "Success"
},
"services": {
"sales": "Sales",
"inventory": "Inventory",
"orders": "Orders",
"production": "Production",
"recipes": "Recipes",
"suppliers": "Suppliers",
"pos": "POS",
"training": "Training",
"notification": "Notifications",
"external": "External",
"forecasting": "Forecasting"
},
"actions": {
"create": "Create",
"update": "Update",
"delete": "Delete",
"approve": "Approve",
"reject": "Reject",
"view": "View",
"sync": "Sync"
},
"stats": {
"totalEvents": "Total Events",
"criticalEvents": "Critical Events",
"mostCommonAction": "Most Common Action",
"period": "Period",
"summary": "Summary"
},
"detail": {
"title": "Event Detail",
"eventInfo": "Event Information",
"changes": "Changes",
"requestMetadata": "Request Metadata",
"additionalMetadata": "Additional Metadata",
"eventId": "Event ID",
"endpoint": "Endpoint",
"httpMethod": "HTTP Method",
"ipAddress": "IP Address",
"userAgent": "User Agent",
"copyId": "Copy ID",
"export": "Export Event",
"close": "Close",
"copy": "Copy"
},
"pagination": {
"showing": "Showing",
"to": "to",
"of": "of",
"events": "events",
"page": "Page",
"previous": "Previous",
"next": "Next"
},
"empty": {
"title": "No events found",
"message": "No audit logs match your current filters"
},
"error": {
"title": "Error loading events",
"message": "An error occurred while fetching audit logs",
"retry": "Retry"
},
"categories": {
"all": "All",
"sales": "Sales",
@@ -15,11 +117,5 @@
"stock_updated": "Stock Updated",
"customer_registered": "Customer Registered",
"system_alert": "System Alert"
},
"severity": {
"info": "Information",
"warning": "Warning",
"error": "Error",
"success": "Success"
}
}
}

View File

@@ -84,5 +84,21 @@
"trends": "Trends",
"top_products": "Top products",
"top_customers": "Top customers"
},
"patterns": {
"title": "Customer Patterns",
"hourly_traffic": "Hourly Traffic",
"weekly_traffic": "Weekly Traffic",
"peak_hours": "Peak Hours",
"busiest_days": "Busiest Days",
"hourly_description": "Transaction patterns by hour of day based on sales data",
"weekly_description": "Distribution of transactions by day of the week",
"no_hourly_data": "No hourly traffic data for this period",
"no_weekly_data": "No weekly traffic data for this period",
"no_peak_hours": "Not enough data to show peak hours",
"no_busiest_days": "Not enough data to show busiest days",
"transactions": "transactions",
"peak_hour_label": "Peak hour",
"active_day_label": "Active day"
}
}

View File

@@ -1,45 +0,0 @@
{
"title": "Traffic Analysis",
"description": "Monitor customer flow and optimize service hours",
"metrics": {
"total_visitors": "Total Visitors",
"peak_hour": "Peak Hour",
"avg_duration": "Average Duration",
"busy_days": "Busy Days",
"conversion_rate": "Conversion Rate"
},
"periods": {
"week": "Week",
"month": "Month",
"year": "Year"
},
"days": {
"monday": "Monday",
"tuesday": "Tuesday",
"wednesday": "Wednesday",
"thursday": "Thursday",
"friday": "Friday",
"saturday": "Saturday",
"sunday": "Sunday",
"mon": "Mon",
"tue": "Tue",
"wed": "Wed",
"thu": "Thu",
"fri": "Fri",
"sat": "Sat",
"sun": "Sun"
},
"sources": {
"walking": "Walk-in",
"local_search": "Local Search",
"recommendations": "Recommendations",
"social_media": "Social Media",
"advertising": "Advertising"
},
"segments": {
"morning_regulars": "Morning Regulars",
"weekend_families": "Weekend Families",
"lunch_office": "Lunch Office Workers",
"occasional_customers": "Occasional Customers"
}
}

View File

@@ -1,149 +0,0 @@
{
"title": "Weather Data",
"description": "Integrate weather information to optimize production and sales",
"current": {
"title": "Current Conditions",
"temperature": "Temperature",
"humidity": "Humidity",
"wind": "Wind",
"pressure": "Pressure",
"uv": "UV",
"visibility": "Visibility",
"favorable_conditions": "Favorable conditions"
},
"forecast": {
"title": "Extended Forecast",
"next_week": "Next Week",
"next_month": "Next Month",
"rain": "Rain"
},
"conditions": {
"sunny": "Sunny",
"partly_cloudy": "Partly cloudy",
"cloudy": "Cloudy",
"rainy": "Rainy"
},
"days": {
"saturday": "Saturday",
"sunday": "Sunday",
"monday": "Monday",
"tuesday": "Tuesday",
"wednesday": "Wednesday",
"thursday": "Thursday",
"friday": "Friday"
},
"impact": {
"title": "Weather Impact",
"high_demand": "High Demand",
"comfort_food": "Comfort Food",
"moderate": "Moderate Demand",
"normal": "Normal Demand",
"recommendations": "Recommendations"
},
"impacts": {
"sunny_day": {
"condition": "Sunny Day",
"impact": "25% increase in cold drinks",
"recommendations": [
"Increase ice cream production",
"More refreshing drinks",
"Salads and fresh products",
"Extended terrace hours"
]
},
"rainy_day": {
"condition": "Rainy Day",
"impact": "40% increase in hot products",
"recommendations": [
"More soups and broths",
"Hot chocolates",
"Freshly baked bread",
"Pastry products"
]
},
"cold_day": {
"condition": "Intense Cold",
"impact": "Preference for comfort food",
"recommendations": [
"Increase baked goods",
"Special hot drinks",
"Energy products",
"Indoor promotions"
]
}
},
"seasonal": {
"title": "Seasonal Trends",
"spring": {
"name": "Spring",
"period": "Mar - May",
"avg_temp": "15-20°C",
"trends": [
"Increase in fresh products (+30%)",
"Higher demand for salads",
"Popular natural drinks",
"Effective extended hours"
]
},
"summer": {
"name": "Summer",
"period": "Jun - Aug",
"avg_temp": "25-35°C",
"trends": [
"Peak of ice cream and slushies (+60%)",
"Light products preferred",
"Critical morning hours",
"Higher tourist traffic"
]
},
"autumn": {
"name": "Autumn",
"period": "Sep - Nov",
"avg_temp": "10-18°C",
"trends": [
"Return to traditional products",
"Increase in pastries (+20%)",
"Popular hot drinks",
"Regular schedules"
]
},
"winter": {
"name": "Winter",
"period": "Dec - Feb",
"avg_temp": "5-12°C",
"trends": [
"Maximum hot products (+50%)",
"Critical freshly baked bread",
"Festive chocolates and sweets",
"Lower general traffic (-15%)"
]
},
"impact_levels": {
"high": "High",
"positive": "Positive",
"comfort": "Comfort",
"stable": "Stable"
}
},
"alerts": {
"title": "Weather Alerts",
"heat_wave": {
"title": "Heat wave expected",
"description": "Temperatures above 30°C expected for the next 3 days",
"recommendation": "Increase stock of cold drinks and ice cream"
},
"heavy_rain": {
"title": "Heavy rain on Monday",
"description": "80% chance of precipitation with strong winds",
"recommendation": "Prepare more hot products and shelter items"
},
"recommendation_label": "Recommendation"
},
"recommendations": {
"increase_ice_cream": "Increase ice cream and cold drinks production",
"standard_production": "Standard production",
"comfort_foods": "Increase soups, hot chocolates and freshly baked bread",
"indoor_focus": "Focus on indoor products",
"fresh_products": "Increase fresh products and salads"
}
}