• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 31108627085
84%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2026 02:11PM UTC
Jobs 1
Files 175
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Aug 2026 02:00PM UTC coverage: 83.963% (+0.004%) from 83.959%
31108627085

push

github

web-flow
fix icon mapping for asset types one-way_evse and two-way_evse, and add other names, as well (#2391)

* fix icon mapping for asset types one-way_evse and two-way_evse

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* PR number in changelog

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* ui: show icons for more asset types in the asset structure view

The structure view fell back to a question mark for any asset type
missing from SVG_ICON_MAPPING. Three of the eight asset types that
FlexMeasures seeds by default were missing (wind, process and
heat-storage), as was EV infrastructure under names other than the two
canonical EVSE ones.

Add those three, and map the EV names that projects commonly use.
Introduce a CHARGER_ICON constant, since the charger URL is now shared
by several entries, and a FALLBACK_SVG_ICON constant for the question
mark, so tests can assert against it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* ui: match asset type names ignoring case and separators

Asset type names are not restricted, so projects spell the same type in
their own way. The Campus project, for instance, types its chargers as
'charge-point' and 'charging-station', which found no icon even though
SVG_ICON_MAPPING already had a 'chargepoint' entry.

Look up icons by a normalized name, keeping only lower-case
alphanumeric characters, so that separator and case variants share one
entry. The dot-separated split is kept and applied first, so a plugin's
namespaced type (for example 'myplugin.battery') still matches on its
last component.

A test guards against two mapping keys normalizing to the same name,
which would silently shadow each other.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* ui: show icons for building services equipment

The Campus project types most of its assets as building services
equipment (hvac, ahu, dhw, heatpump, chiller, lighting and
other-loads), which had no icon and so filled its asset structure view
with que... (continued)

7 of 7 new or added lines in 1 file covered. (100.0%)

17178 of 20459 relevant lines covered (83.96%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31108627085.1 06 Aug 2026 02:11PM UTC 175
83.96
GitHub Action Run
Source Files on build 31108627085
  • Tree
  • List 175
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31108627085
  • 170cdb5f on github
  • Prev Build on main (#31096164370)
  • Next Build on main (#31129170926)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc