Skip to content

Conversation

Anyandsi
Copy link
Contributor

@Anyandsi Anyandsi commented Oct 2, 2025

This PR removes the dependency on "react-fullscreenable", which is no longer maintained and does not support newer React versions.

Changes included:

  • Implemented a custom fullscreen hook that provides the same functionality previously handled by react-fullscreenable for the Dashboard component.
  • Uninstalled react-fullscreenable and removed its import.
  • Although I have additionally covered dahboard-layout.js and dashboard-old.js components in order to avoid errors,
    changes are only relevant for dashboard.jsx, since it is the one that is being rendered for the dashboard page.

…m TrafficLight component

added custom TrafficLight implementation

uninstalled react-trafficlight package and removed all of its imports

additionally, adjusted useEffect hook inside timeoffset widgets to update only on necessary prop updates

Signed-off-by: Andrii Podriez <[email protected]>
…tom fullscreen hook

implemented custom useFullscreen hook wrapping standard Fullscreen API

uninstalled react-fullscreenable package and removed all of its imports

Signed-off-by: Andrii Podriez <[email protected]>
@SystemsPurge SystemsPurge merged commit 9ab9c9d into VILLASframework:vite-migration Oct 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants