Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0e60340
adds right order tooltip 'Aanbod' section
MariaBee3 Mar 3, 2026
21adf47
Merge branch 'accept-pnh' into update-graph-energy-profile-3-3-26
MariaBee3 Mar 3, 2026
27db518
Merge pull request #40 from witteveenbos/update-graph-energy-profile-…
ashay-shah-WB Mar 4, 2026
a56c2ab
changed timeseriesplot from recharts to plotly in backend
NielsWB May 4, 2026
e3f2b81
excluded x tick labels from plotly graph to avoid redundant informati…
NielsWB May 4, 2026
eff5baf
Commented make_graph_tolevel, since it is not implemented and outdated
NielsWB May 4, 2026
e7dbe64
removes unused libraries and fix vulnerabilities - one remaining in n…
MariaBee3 May 11, 2026
a07039d
adds plotly energy profile chart
MariaBee3 May 12, 2026
0fca23f
adds some values to data (later moved to backend) and adds tooltip
MariaBee3 May 12, 2026
cf7a0fa
styling and order of graph and legend
MariaBee3 May 12, 2026
85e296d
fix bug legend group toggle
MariaBee3 May 13, 2026
a393e94
Back end adjustments timeseries graph
NielsWB Jun 1, 2026
de490c6
remove applyOverrides
NielsWB Jun 1, 2026
b8cd490
fixed curve addition
NielsWB Jun 1, 2026
1001a32
Ungrouped flexibility labels
NielsWB Jun 1, 2026
ff5ff47
Split storage graphcurveelement into charging and discharging
NielsWB Jun 1, 2026
8d9c79c
Fixed single responsibility splitting
NielsWB Jun 1, 2026
a25f05b
plot other flexibility on top
NielsWB Jun 1, 2026
9afaf65
resolved review comments
NielsWB Jun 2, 2026
410d812
implements requested changes frontend
MariaBee3 Jun 3, 2026
5174ec1
resolved comments Ashay and added tests
NielsWB Jun 3, 2026
a9765b6
Merge branch '4-refactor-plotting-to-plotly' of https://github.com/wi…
NielsWB Jun 3, 2026
b080373
Corrected typo
NielsWB Jun 3, 2026
0ccb495
Merge pull request #42 from witteveenbos/4-refactor-plotting-to-plotly
NielsWB Jun 3, 2026
cf6155d
Adds new basemap
MariaBee3 Sep 1, 2026
510b724
Merge pull request #54 from witteveenbos/fix_basemap_accept-pnh
MariaBee3 Sep 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions app/frontend/.storybook/i18n.js

This file was deleted.

32 changes: 0 additions & 32 deletions app/frontend/.storybook/main.js

This file was deleted.

52 changes: 0 additions & 52 deletions app/frontend/.storybook/preview.js

This file was deleted.

14 changes: 0 additions & 14 deletions app/frontend/cli/__Component/__Component.stories.js

This file was deleted.

14 changes: 0 additions & 14 deletions app/frontend/cli/__Container/__Container.stories.js

This file was deleted.

9 changes: 5 additions & 4 deletions app/frontend/components/BaseMap/BaseMap.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { useRef } from 'react';
import { MapContainer, TileLayer } from 'react-leaflet';
import type { LatLngBoundsExpression } from 'leaflet';
const BaseMap = () => {
const mapContainerRef = useRef(null);
const bounds = [
const bounds: LatLngBoundsExpression = [
[51.8, 3.2], // whole of the Netherlands
[53.6, 6.2],
];
Expand All @@ -13,9 +14,9 @@ const BaseMap = () => {
ref={mapContainerRef}
bounds={bounds}
scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
url="https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png"
<TileLayer
attribution='Kaartgegevens &copy; <a href="https://www.kadaster.nl">Kadaster</a>'
url="https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/grijs/EPSG:3857/{z}/{x}/{y}{r}.png"
subdomains="abcd"
maxZoom={20}
/>
Expand Down
14 changes: 0 additions & 14 deletions app/frontend/components/EnergyBalance/EnergyBalance.stories.js

This file was deleted.

7 changes: 4 additions & 3 deletions app/frontend/components/EnergyBalance/EnergyBalanceMap.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useEffect, useRef, useState } from 'react';
import { GeoJSON, MapContainer, TileLayer } from 'react-leaflet';
import type { LatLngBoundsExpression } from 'leaflet';
import {
continuousDevelopmentsChangesStore,
sectoralDevelopmentsChangesStore,
Expand Down Expand Up @@ -243,7 +244,7 @@ export default function EnergyBalanceMap({ geojson }: { geojson: any }) {
}
};

const bounds = [
const bounds: LatLngBoundsExpression = [
[50.5, 3.5], // whole of the Netherlands
[53.5, 7.108],
];
Expand Down Expand Up @@ -272,8 +273,8 @@ export default function EnergyBalanceMap({ geojson }: { geojson: any }) {
bounds={bounds}
scrollWheelZoom={true}>
<TileLayer
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
url="https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png"
attribution='Kaartgegevens &copy; <a href="https://www.kadaster.nl">Kadaster</a>'
url="https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/grijs/EPSG:3857/{z}/{x}/{y}{r}.png"
subdomains="abcd"
maxZoom={20}
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { GraphMetadata } from '@/types/components/EnergyProfileGraph';

interface CustomYAxisLabelProps {
viewBox?: {
x: number;
y: number;
width: number;
height: number;
};
metadata?: GraphMetadata | null;
metadata?: { yLabelText?: string } | null;
// Allow any additional props that Recharts might pass
[key: string]: any;
}
Expand Down
Loading
Loading