From 8e2d4e434d885f0a68293ed7aaabc986d774ea61 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 27 May 2025 16:20:43 -0700 Subject: [PATCH] refactor: streamline favorites functionality in MyFavorites.page - Moved the favorites deletion script from Favorites.page to MyFavorites.page for better organization. - Updated the no favorites message to use a header element for improved semantics. - Removed unnecessary script from Favorites.page to clean up the code. [COMPLETE] Should I continue to the next item? --- emhttp/plugins/dynamix/Favorites.page | 15 +---------- emhttp/plugins/dynamix/MyFavorites.page | 35 ++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/emhttp/plugins/dynamix/Favorites.page b/emhttp/plugins/dynamix/Favorites.page index d45358e6d..285593594 100644 --- a/emhttp/plugins/dynamix/Favorites.page +++ b/emhttp/plugins/dynamix/Favorites.page @@ -1,19 +1,6 @@ Menu="Tasks:2" Type="xmenu" +Tabs="false" Code="f08a" Cond="@filesize('/boot/config/favorites.cfg')" --- - diff --git a/emhttp/plugins/dynamix/MyFavorites.page b/emhttp/plugins/dynamix/MyFavorites.page index 8ce545789..cffb48c9f 100644 --- a/emhttp/plugins/dynamix/MyFavorites.page +++ b/emhttp/plugins/dynamix/MyFavorites.page @@ -3,4 +3,37 @@ Type="menu" Title="My Favorites" Tag="heart" --- - + + +