Skip to content

Feature/reservoir history chart#202

Merged
brauliodiez merged 11 commits intomainfrom
feature/reservoir-history-chart
Apr 27, 2026
Merged

Feature/reservoir history chart#202
brauliodiez merged 11 commits intomainfrom
feature/reservoir-history-chart

Conversation

@josemi1189
Copy link
Copy Markdown
Collaborator

Closed #199

@josemi1189 josemi1189 requested a review from manudous April 9, 2026 10:33
Comment thread front/src/pods/embalse/components/chart/history-chart.tsx Outdated
Comment thread front/src/pods/embalse/components/chart/chart-legend.tsx Outdated
Comment thread front/src/pods/embalse/components/reservoir-card-gauge.tsx Outdated
Comment thread front/src/pods/embalse/embalse.component.tsx Outdated
Comment thread front/src/pods/embalse/embalse.mapper.spec.ts
Comment thread packages/db/src/console-runners/historical-seed/historical.mapped.ts Outdated
Comment thread packages/db/src/console-runners/historical-seed/historical.mapped.ts Outdated
meses: monthly.map((month) => ({
mes: month.mes,
año: month.año,
promedio_agua_actual: month.promedio_agua_actual,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create another maper function with this code

generatedAt: metadata.generatedAt,
periodoInicio: metadata.periodoInicio,
periodoFin: metadata.periodoFin,
},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if metadata its null/undefined

@brauliodiez brauliodiez merged commit 16dbf2e into main Apr 27, 2026
1 check passed
@brauliodiez brauliodiez deleted the feature/reservoir-history-chart branch April 27, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Historical chart of reservoirs over the last 10 years

4 participants