Describe the bug
Dashboard entrys that are newly added to the code are displayed to all users even if PLATFORM_X is not set to the current plattform.
To Reproduce
open an incognito/private window
on desktop: click ctrl+shift+m
customize your dashboard (e.g. removing one item)
edit your localStorage.personalizedDashboardHidden removing the roomplan entry
You are now at the state of an existing app user just after the roomplan dashboard entry was implemented. Reloading the page the roomplan entry will appear, even though it is only labeled as PLATFORM_DESKTOP and not PLATFORM_MOBILE
Expected behavior
The roomplan should not appear, as it is a desktop only card. When a new dashboard entry is implemented it should only appear on corresponding plattforms.
Describe the bug Dashboard entrys that are newly added to the code are displayed to all users even if
PLATFORM_X
is not set to the current plattform.To Reproduce
localStorage.personalizedDashboardHidden
removing theroomplan
entryYou are now at the state of an existing app user just after the
roomplan
dashboard entry was implemented. Reloading the page theroomplan
entry will appear, even though it is only labeled asPLATFORM_DESKTOP
and notPLATFORM_MOBILE
Expected behavior The
roomplan
should not appear, as it is a desktop only card. When a new dashboard entry is implemented it should only appear on corresponding plattforms.Screenshots
Additional context