diff --git a/.github/agents/grafana.agent.md b/.github/agents/grafana.agent.md index deeb277..455780f 100644 --- a/.github/agents/grafana.agent.md +++ b/.github/agents/grafana.agent.md @@ -1,7 +1,7 @@ --- description: Analyze and interpret Grafana logs, traces, and metrics using MCP Grafana server tools: ['grafana/*', 'search', 'fetch'] -model: Claude Sonnet 4.5 (copilot) +model: Claude Opus 4.5 (Preview) (copilot) --- # Grafana Log & Trace Analyzer Mode diff --git a/.github/prompts/releasemanager.prompt.md b/.github/prompts/releasemanager.prompt.md index 14f7535..c21a9d9 100644 --- a/.github/prompts/releasemanager.prompt.md +++ b/.github/prompts/releasemanager.prompt.md @@ -1,6 +1,6 @@ --- agent: agent -model: GPT-4.1 (copilot) +model: Claude Opus 4.5 (Preview) (copilot) description: Generate release notes from a GitHub Pull Request URL tools: [runCommands] --- diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 27fa445..567293f 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -58,7 +58,7 @@ jobs: --resource-group deveats-wpc2025-rg \ --settings \ ConnectionStrings__DefaultConnection="${{ secrets.CONNECTION_STRING_TEST }}" \ - ASPNETCORE_ENVIRONMENT="Production" \ + ASPNETCORE_ENVIRONMENT="Test" \ OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp-gateway-prod-eu-central-0.grafana.net/otlp" \ OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf" \ OTEL_RESOURCE_ATTRIBUTES="deployment.environment=test" \ diff --git a/src/DevEats.Web/Shared/MainLayout.razor b/src/DevEats.Web/Shared/MainLayout.razor index f51eb2f..553bd38 100644 --- a/src/DevEats.Web/Shared/MainLayout.razor +++ b/src/DevEats.Web/Shared/MainLayout.razor @@ -1,29 +1,54 @@ @inherits LayoutComponentBase +@inject IWebHostEnvironment Environment DevEats - Recensioni Ristoranti -
+@if (!Environment.IsProduction()) +{ + @* Environment Warning Banner - Only shown in non-production environments *@ +
+ +
+} + +@* Accessibility: Replaced inline style with CSS class for better maintainability *@ +
-
+ @* Accessibility: Main content landmark with ID for skip link *@ +
@Body
@@ -54,7 +80,8 @@ Powered by .NET 8 & Blazor Server
*@
@@ -66,6 +93,69 @@