Skip to content

v5.4.7-dev.13

Pre-release
Pre-release

Choose a tag to compare

@AmoebeLabs AmoebeLabs released this 26 Jun 12:57
f3b336f

With the support of stringstates, it was not incredibly much work to add implicit mapping in the horseshoe to allow for Awair Element displays using the horseshoe. Awair ranks values to states like good, poor, etc.
Both the color stop and the state map now support ranking, allowing these translations to occur, so the existing stringstate level and mode options can handle this without modifications.

To give you an idea:

  • The picture on the left contains 6 horseshoes: one for the score (a normal one), and 5 for the individual sensors using a horseshoe with a large radius (5000) and very small arc (0.3) to look like a vertical bar 😄
  • The picture on the right is also 6 horseshoes, but now more default visualizations showing the ranking Awair specifies.

And yes, temperatures will reach almost 40 degrees this afternoon. I am very happy without any air conditioning 😢

imageimage

And lucky me, it's warmer outside than in my study 🥳

image

And the pollen levels are also still relatively high:

image

What's Changed

💥 Breaking changes

  • break: Combine state and role in stringstate modes by @AmoebeLabs in #267

🐛 Bug fixes

  • fix: Add future formatters as comment in state tool by @AmoebeLabs in #248
  • fix: Remove default 0 for entity index for shapes and icons if icon set by @AmoebeLabs in #256
  • fix: Let scaleLayer renderer use styleMap() instead of direct fill by @AmoebeLabs in #269
  • fix: Apply color filter to horseshoe animator by @AmoebeLabs in #271
  • fix: Fix mergeFilters. Allow false values for toDict by @AmoebeLabs in #277
  • regresssion: Fix state overrides, formatters and icon override by @AmoebeLabs in #281

🚀 New features

  • feat: (beta) Add labels and ticks to horseshoe by @AmoebeLabs in #212
  • feat: Add external json color palettes to support darklight mode for custom colors not in the theme by @AmoebeLabs in #214
  • feat: Extend same_as with named tags, and auto-ids when not assigned based on index in list, delta's and calc() functions by @AmoebeLabs in #218
  • feat: Add static constants and ref support for reusable layout configuration by @AmoebeLabs in #221
  • feat: Add display svg or image instead of icon by @AmoebeLabs in #225
  • feat: Add state mapping support to horseshoe by @AmoebeLabs in #226
  • feat: Add format options in entity definitions to regain control over formatting by @AmoebeLabs in #232
  • Refactor: Rewrite horseshoe to separate classes to make maintenance and changes easier by @AmoebeLabs in #234
  • feat: Add rectangle tool and base tool. Base tool to be used by future shap… by @AmoebeLabs in #238
  • feat: Add default ZPOS in config for each section by @AmoebeLabs in #252
  • feat: Add sorted zpos rendering by @AmoebeLabs in #253
  • feat: Add zpos next to xpos and ypos to define the layer and render order by @AmoebeLabs in #254
  • feat: Add parent tree to groups so groups itself can be grouped and positioned too. Includes dzpos and calc(zpos.
    ) by @AmoebeLabs in #257
  • feat: Add arc tool shape as lowest layer by @AmoebeLabs in #259
  • feat: Add segment stringstate mode for horseshoe to show for instance lowhighmoderate including labels and translations by @AmoebeLabs in #263
  • feat: Add support for dark and light modes of a theme in the color stops (and some version of color filter by mistake) by @AmoebeLabs in #265
  • feat: Add preserve_neutral to monochrome and duotone color filters to preserve black, white and gray colors by @AmoebeLabs in #273
  • feat: Add amount of color option to monochrome and duotone filters by @AmoebeLabs in #275
  • feat: Add ranking with color stop and connect reversed state map with stringstate_level horseshoe to make it work! by @AmoebeLabs in #283

🧰 Maintenance

  • chore: Remove vx versions of functions and classes for dev3 by @AmoebeLabs in #216
  • chore: Remove obsolete files and fix regression for spline by @AmoebeLabs in #237
  • Bump js-yaml from 4.1.1 to 4.2.0 by @dependabot[bot] in #235

📚 Documentation

Other changes

  • refactor: Refactor other shapes like lines and circles to same structure as the rectangle by @AmoebeLabs in #240
  • Refactor: Add name and area too caused by refactor by @AmoebeLabs in #242
  • Refactor: Add state tool caused by refactor by @AmoebeLabs in #244
  • Refactor: Add icon tool caused by refactor by @AmoebeLabs in #246
  • refactor: Horseshoe-gauge now uses base tool by @AmoebeLabs in #261
  • Fix: Add delayed update after theme change to let palette work by @AmoebeLabs in #279

Full Changelog: v5.4.7...v5.4.7-dev.13