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

FlexMeasures / flexmeasures / 24303165087 / 1
81%
main: 81%

Build:
DEFAULT BRANCH: main
Ran 12 Apr 2026 09:20AM UTC
Files 163
Run time 3s
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

12 Apr 2026 09:08AM UTC coverage: 77.974% (+0.08%) from 77.892%
24303165087.1

push

github

web-flow
Feat: JSON editor for sensor/asset/account attributes (#2093)

* fix: click context issue for an apparently different local way of running the web server

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: tech spike on JSON editor for sensor attributes

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* feat: db migration for account attributes

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: first implementation of JSON editor for sensors, assets and accounts

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: fix opening JSON editor on asset page, and try theming

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* ui: switch JSON attributes editor from josdejong/jsoneditor to @json-editor/json-editor
Context:
- Previous implementation used josdejong/jsoneditor@9.10.0 with Tree+Code modes
  backed by Ace editor, which caused caret desync and hard-to-style menu items
- User asked to switch to @json-editor/json-editor for Bootstrap-native theming
Change:
- base.html: replace josdejong CDN (+ CSS) with @json-editor/json-editor@2.15.2
- _macros.html: rewrite modal to use @json-editor/json-editor for the Form tab
  and a plain Bootstrap textarea for the JSON tab (no Ace dependency, no caret issues)
- Modal now resets to Form tab on every open and syncs both views on tab switch
- config_defaults.py: default theme renamed from 'default' to 'bootstrap5'
  (the actual @json-editor/json-editor theme identifier)
- flexmeasures.css: replace josdejong-specific rules (.jsoneditor-menu, dark/github
  overrides) with .fm-json-textarea and .fm-je-container helpers
- documentation/configuration.rst: update FLEXMEASURES_JSONEDITOR_THEME to list
  the @json-editor/json-editor themes (bootstrap5/4/3, tailwind, spectre, barebones, html)
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* ui/json-editor: fix five styling issues found during testing
Context:
- Tested the @json-editor/json-editor modal on sensor, asset and account pages
Issues fixed:
... (continued)

11803 of 15137 relevant lines covered (77.97%)

0.78 hits per line

Source Files on job 24303165087.1
  • Tree
  • List 163
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24303165087
  • b2838632 on github
  • Prev Job for on main (#24282515843.1)
  • Next Job for on main (#24327527114.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc