fix: restore WeatherAverageBar component in session header and adjust styling
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 6m12s

Reintroduced the WeatherAverageBar component in the WeatherSessionPage to display team averages. Updated the styling of the WeatherAverageBar for improved spacing. Enhanced the EvolutionIndicator component to use dynamic background colors for better visibility of status indicators.
This commit is contained in:
2026-02-25 07:55:01 +01:00
parent 73219c89fb
commit 74b1b2e838
4 changed files with 61 additions and 17 deletions

View File

@@ -72,9 +72,6 @@ export default async function WeatherSessionPage({ params }: WeatherSessionPageP
</span>
</div>
</div>
{/* team average — auto-refreshes via router.refresh() from useLive */}
<WeatherAverageBar entries={session.entries} />
</div>
{/* Info sur les catégories */}
@@ -90,6 +87,7 @@ export default async function WeatherSessionPage({ params }: WeatherSessionPageP
canEdit={session.canEdit}
userTeams={userTeams}
>
<WeatherAverageBar entries={session.entries} />
<WeatherBoard
sessionId={session.id}
currentUserId={authSession.user.id}