Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
5530be6
chore: multiple updates
joshuaunity Jan 23, 2026
2123746
chore: stabilized leeft side of modal and kicked off work onteh right…
joshuaunity Jan 26, 2026
a8d722d
chore: completed left side of graph modal
joshuaunity Jan 27, 2026
ca1e01f
Merge branch 'feat/allow-Ssensorstoshow-schema' of github.com:FlexMea…
joshuaunity Jan 27, 2026
f7966b0
Merge branch 'feat/allow-Ssensorstoshow-schema' of github.com:FlexMea…
joshuaunity Jan 30, 2026
79a1c8a
chore: work in progress
joshuaunity Feb 2, 2026
4b75e82
refactor: more stabilization work as well as reactivation of broken f…
joshuaunity Feb 2, 2026
3e03eed
Merge branch 'feat/allow-Ssensorstoshow-schema' of github.com:FlexMea…
joshuaunity Feb 2, 2026
b5f7700
Merge branch 'feat/allow-Ssensorstoshow-schema' of github.com:FlexMea…
joshuaunity Feb 3, 2026
9b08119
chore: reorder tabs
joshuaunity Feb 6, 2026
502554d
fix: fixed bug whre options keep gettgin added teh configType dropdow…
joshuaunity Feb 9, 2026
ce0a984
fix: fixed error where graph cant be removed
joshuaunity Feb 9, 2026
d6d75d8
fix: ixed issue with graph titles not being editable
joshuaunity Feb 9, 2026
b5b9876
fix: fixed broken units dropdown as well as some other refactoring to…
joshuaunity Feb 11, 2026
f878460
refactor: Major refactor phase 1
joshuaunity Feb 16, 2026
6ff2570
refactor: Major refactor phase 2
joshuaunity Feb 19, 2026
f9823c0
feat; new util function to find an asset site_asset
joshuaunity Feb 20, 2026
a96ca2b
chore: add extra info icon to form elements
joshuaunity Feb 20, 2026
9419875
chore: update writeup
joshuaunity Feb 20, 2026
66fe145
fix: fix failing util function due to wrong formatting allowing trail…
joshuaunity Feb 23, 2026
5eca7e8
Merge branch 'feat/allow-Ssensorstoshow-schema' into feat/sensortosho…
joshuaunity Feb 24, 2026
88b0449
fix: fixed bug where a new sensor cant be added to an existing graph
joshuaunity Feb 24, 2026
5552322
refactor: Fixed graphs to properly display subcharts and mixed charts…
joshuaunity Feb 26, 2026
25326dd
chore: removed unused code
joshuaunity Feb 26, 2026
1c4635d
Merge branch 'feat/allow-Ssensorstoshow-schema' into feat/sensortosho…
joshuaunity Feb 26, 2026
9582d27
refactor: post resolving conflicts refactoring
joshuaunity Feb 26, 2026
63b4539
tests: remove unsupported edgecase
joshuaunity Feb 26, 2026
cafc05b
fix: fix issue where unsuppoerted flexocntext fields are sent to API,…
joshuaunity Mar 2, 2026
c77f718
feat: up to date asset data for graph modals
joshuaunity Mar 2, 2026
b437123
fix: Fix bug where you cant remove sensors from a grpah with multiple…
joshuaunity Mar 3, 2026
5ee01b4
chore: amek all asset ref inputs equal size
joshuaunity Mar 3, 2026
2850567
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 3, 2026
eb47a6f
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 3, 2026
d02c738
fix: fixed error when trying to remove polts thats not a array of sen…
joshuaunity Mar 3, 2026
5a79e24
fix: Fixed bug where the options to select a felxConfig field disable…
joshuaunity Mar 3, 2026
d63a6aa
refactor: imporve fuction to improve readability and also fix edgecas…
joshuaunity Mar 3, 2026
c791f5a
fix: Fixed bug where sensors filter sectoin doesnt change after a sel…
joshuaunity Mar 3, 2026
d83587c
chore: udpate temp sensor naming sceme
joshuaunity Mar 5, 2026
69a1c9a
chore: persisten root asset selection
joshuaunity Mar 5, 2026
a5398cc
chore: implement new data format in toy data for testing
joshuaunity Mar 9, 2026
f1e03b7
chore: removed unused values
joshuaunity Mar 9, 2026
1402395
chore: rename util function name
joshuaunity Mar 9, 2026
0014710
chore: adding comments
joshuaunity Mar 9, 2026
7c21ebd
feat: dynamically render graph title on 'add plot' button
joshuaunity Mar 9, 2026
1255149
chore: remvoed duplicate asset name in graph ledgend
joshuaunity Mar 9, 2026
3036479
chore: fetch sensors based on site asset instead of current asset
joshuaunity Mar 10, 2026
7f2d7e7
Dynamically change ledgen titles
joshuaunity Mar 11, 2026
9dec791
chore: little change to wording
joshuaunity Mar 11, 2026
54f6b01
refactor: transfer initialization check into component for rendering …
joshuaunity Mar 12, 2026
13c6e7e
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
0162e3f
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
a7596bd
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
f4172db
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
557bd4a
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
d1c48e0
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
9fdec92
Update flexmeasures/ui/templates/assets/asset_graph.html
joshuaunity Mar 13, 2026
526c06c
chore: name change
joshuaunity Mar 13, 2026
db0b902
refactor: backward compatibility support and imporvement UI data repr…
joshuaunity Mar 13, 2026
44fa752
fix: Fix issue where subcharts are split up into single cahrts on the…
joshuaunity Mar 13, 2026
48e2ce1
refactor: Improve asset identification in plot headers and enhance se…
joshuaunity Mar 17, 2026
ac0e98d
refactor: Simplify asset plot card rendering and improve code readabi…
joshuaunity Mar 17, 2026
4500d33
style: Adjust disabled input width and clean up class names in asset …
joshuaunity Mar 17, 2026
5e987fd
style: Update plot header class for improved font size consistency
joshuaunity Mar 17, 2026
6f8ee8d
chore: add changelog entry
joshuaunity Mar 17, 2026
339e51d
update OpenAPI specs
nhoening Mar 17, 2026
35bd13b
address a flake8, mypy, precommit errors
nhoening Mar 17, 2026
d917895
Merge branch 'feat/allow-Ssensorstoshow-schema' into feat/sensortosho…
nhoening Mar 17, 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
1 change: 1 addition & 0 deletions documentation/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ New features
* Added capability to update an asset's parent from the UI [`PR #1957 <https://www.github.com/FlexMeasures/flexmeasures/pull/1957>`_]
* Add ``fields`` param to the asset-listing endpoints, to save bandwidth in response data [see `PR #1884 <https://www.github.com/FlexMeasures/flexmeasures/pull/1884>`_]
* Support for flex-config in the ``SensorsToShowSchema`` [see `PR #1904 <https://www.github.com/FlexMeasures/flexmeasures/pull/1904>`_]
* Upgrade graph modal to support flex-config references in plots [see `PR #1926 <https://www.github.com/FlexMeasures/flexmeasures/pull/1926>`_]


.. note:: For backwards-compatibility, the new ``fields`` parameter will only be fully active, i.e. also returning less fields per default, in v0.32. Set ``FLEXMEASURES_API_SUNSET_ACTIVE=True`` to test the full effect now.
Expand Down
10 changes: 9 additions & 1 deletion flexmeasures/cli/data_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,15 @@ def create_asset_with_one_sensor(

# the site gets a similar dashboard (TODO: after #1801, add also capacity constraint)
building_asset.sensors_to_show = [
{"title": "Prices", "plots": [{"sensor": day_ahead_sensor.id}]},
{
"title": "Prices",
"plots": [
{
"asset": building_asset.id,
"flex-context": "consumption-price",
}
],
},
{
"title": "Power flows",
"plots": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def copy_time_series_data(
# Copy in batches and report on progress
for i in range(len(results) // batch_size + 1):
if i > 0:
print(f" - done copying {i*batch_size} rows...")
print(f" - done copying {i * batch_size} rows...")

insert_values = []
for values in results[i * batch_size : (i + 1) * batch_size]:
Expand Down
1 change: 1 addition & 0 deletions flexmeasures/data/models/charts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def chart_type_to_chart_specs(chart_type: str, **kwargs) -> dict:
for chart_type, chart_specs in getmembers(belief_charts)
if isfunction(chart_specs) or isinstance(chart_specs, dict)
}

# Create chart specs
chart_specs_or_fnc = belief_charts_mapping[chart_type]
if isfunction(chart_specs_or_fnc):
Expand Down
Loading
Loading