Skip to content

Cleaner Layouts and Smarter Data Handling

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:35

⚠️ Please make sure you have the Bergfex integration v.1.3.0 installed

This release brings significant improvements to the card's layout, configuration options, and data presentation.

image

ℹ️ To see the changes, you need to toggle one of the booleans once in the editor.

New Features

  • Forecast Accordion: The snow forecast section is now collapsible, similar to the conditions section, keeping the card compact and tidy.
  • Enhanced N/A Handling: "Unknown" states are now treated as "N/A", and all unavailable data fields are visually dimmed (opacity 0.4) for better readability.

Configuration Changes

We have consolidated several configuration options to simplify the editor and card setup:

  • Combined Lifts & Slopes: show_lifts and show_slopes have been merged into a single show_lifts_slopes option.
  • Unified Conditions: show_avalanche and show_last_snowfall are now part of the show_conditions toggle.
  • Cleanup: Removed the unused show_elevation option.

Improvements

  • Visual Consistency: Improved styling for "N/A" and "keine Meldung" values across all data fields (Snow, Lifts, Slopes, Conditions).
  • Code Quality: Refactored rendering logic and removed unused translation keys for a cleaner codebase.

Bug Fixes

  • Fixed an issue where the card header might not render correctly in some states.
  • Resolved potential layout shifts when toggling accordions.