github ulsklyc/oikos v0.11.1
v0.11.1 - Dashboard meal filter fix

latest releases: v0.52.13, v0.52.12, v0.52.11...
one month ago

Bug Fix

Fixed

  • Dashboard meal widget now respects the household meal type visibility settings configured in Settings > Meal Plan (#14)

Root cause: The todayMeals query in the dashboard API returned all meal types regardless of the visible_meal_types preference stored in sync_config. The Meals page applied this filter client-side, but the dashboard had no equivalent filtering — causing hidden meal types to still appear in the dashboard widget.

Fix: The dashboard API now reads visible_meal_types from sync_config before executing the query and filters meals with an IN (...) clause. Behavior is consistent with the Meals page. Falls back to all four types when no preference has been saved.


Full Changelog: https://github.com/ulsklyc/oikos/blob/main/CHANGELOG.md

Don't miss a new oikos release

NewReleases is sending notifications on new releases.