Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0 #98

Merged
merged 73 commits into from
Sep 19, 2023
Merged

Release v2.0.0 #98

merged 73 commits into from
Sep 19, 2023

Conversation

suchmememanyskill
Copy link
Member

@suchmememanyskill suchmememanyskill commented Sep 16, 2023

Changelog

Nav Patching

  • Allows themes to hide Focusable elements without them still being selectable by controller navigation
  • To use, set display: none; on any Focusable elements you wish to make unselectable, and add REQUIRE_NAV_PATCH to the flags of the theme.json
  • Toggling a theme that requires the nav patch will automatically enable it

Manifest v9

  • Add REQUIRE_NAV_PATCH flag
  • Allow renaming themes using the `display_name' property
  • Setting multiple theme targets
    • To do this, ensure your theme is >= manifest v9 and change target from a string to an array of strings.
    • All targets must be valid targets recognized by the DeckThemes API.

UI Overhaul

  • Navigation
    • The store and settings buttons have been moved to the header of the plugin in the same spot as where Decky would have their store/settings.
  • Settings
    • A new settings page was introduced, replacing the 'Your Themes' modal
    • The settings page has multiple tabs.
      • Themes
        • Displays all of your themes
        • Hide/unhide themes from the QAM using the eye button.
        • Use the new "Delete Themes" menu to delete one theme or batch delete themes.
        • Update All Themes at once using the corresponding button.
        • Displays any theme loading errors from the backend.
          • This part is extra useful for theme devs.
      • Profiles
        • Switch between profiles.
        • Uninstall profiles.
      • Settings
        • The "Enable Standalone Backend" and "Live CSS Editing" toggles have been moved here from the store.
        • Toggle switch for manual enabling/disabling of the Nav Patch (new).
      • Donate
        • Provides links to DeckThemes' Patreon and Kofi pages.
        • Displays the names of current patrons as well as patrons from the last 6 months who have contributed more than $5
      • Credits
        • Displays contact information for the developers.
        • Link to the DeckThemes discord
        • Link to docs.deckthemes.com
  • Store
    • As the old "Manage Themes" tab's functions have been moved into Settings, the store is now entirely focused on displaying themes.
    • Full UI overhaul to look more in line with Valve's design language.
    • Downloads and Stars are now shown on hover on theme cards.
    • The expanded view page of a theme has recieved changes.
      • Clicking on the theme author's name allows you to quickly see more of that author's themes.
      • Clicking on a theme's target takes you to search results for that target.
      • You can now "Reinstall" already installed themes, as well as configure their settings from the store.
      • Working image carousel instead of the old touchscreen-only buttons.
  • Fullscreen Theme Settings
    • Accessible from the QAM, Theme Settings page, and the store expanded view is the Fullscreen Theme Settings modal.
    • This has all the functions of a theme's QAM tab entry, as well as the option to hide/unhide, star, and delete the theme.

Misc

  • Profiles will now be created in a {name}.profile folder
  • Use 127.0.0.1 over localhost

Bugfixes

suchmememanyskill and others added 30 commits August 2, 2023 17:06
Side note: this also actually make the OptionalDepsModal work in the fullscreen themes menu, where it didnt before
This patches the Nav Controller to allow for smooth navigating past elements that have display: none set.

To-Do:

- [x]  Create a replacePatch
- [x]  Create enabling/disabling functions
- [x]  Ensure unpatching on plugin exit
- [x]  Set initial value based on store value
- [x]  Have a toggle switch in settings to enable/disable
- [ ]  Ensure themes with the REQUIRE_NAV_PATCH flag show a modal informing users about the patch
>Removed Your Themes Modal
>Removed "Installed Themes" Tab
>The functionality of both of those have been moved into the "Themes" section of the new settings menu

>Moved plugin settings out of the store settings page into the settings tab in the new settings page

>Moved credits to the credits tab of the settings page

>Theme errors are displayed in the Themes tab

>many more changes but i am very tire
This is now essentially identical to the original design, just with an image carousel
@suchmememanyskill suchmememanyskill marked this pull request as ready for review September 19, 2023 13:05
@suchmememanyskill suchmememanyskill merged commit b2b10f9 into main Sep 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment