Skip to content

rss-accordion: Unfolded

Choose a tag to compare

@github-actions github-actions released this 18 Aug 19:09

This is the initial public release of the rss-accordion Lovelace card.

Features Added

  • Core Functionality

    • Fetches and displays feed items from Home Assistant sensor or event entities.
    • Presents feed items in a collapsible accordion layout.
  • Animations & User Experience

    • Accordion animations wait for images to load before expanding, preventing layout glitches.
    • A loading indicator is displayed while images are loading.
  • Responsive Design

    • The card uses a ResizeObserver to automatically adjust the height of open items when the window is resized, ensuring all content remains visible.
  • Date & Time Formatting

    • The date and time display for each feed item respects the user’s 12-hour or 24-hour preference set in their Home Assistant profile.
  • Configuration & Documentation

    • A Lovelace UI editor is available for easy configuration.
    • The new_pill_duration_hours option is available to control how long the "new" pill is shown.
    • Initial project documentation, including HACS installation instructions and configuration options.

Internal

  • Added a centralized function (_getFeedItems) for parsing data from all supported entity types.
  • Added tests for the new date formatting logic.
  • Added mocks for ResizeObserver to support the test suite in a JSDOM environment.