Commit Graph

301 Commits

Author SHA1 Message Date
Michael T. DeGuzis d31c2bf034 fix(toaster): Forward playSound prop to ProcessNotification info (#901)
Co-authored-by: Michael DeGuzis <deguzim@amazon.com>
2026-04-30 12:58:53 -04:00
ynhhoJ 1e8bf43e5f Add key prop inside map (#867)
* fix: add unique key to list items in TestingVersionList component

* fix: add unique key to PluginCard components in BrowseTab
2026-03-23 10:43:00 -04:00
AAGaming 259d01d7ec Remove incorrect padding in the decky menu (#891) 2026-03-21 21:09:13 -04:00
AAGaming b97c27aac4 Fixes for march 19th 2026 beta (#890) 2026-03-20 22:08:44 -04:00
jbofill 9f586a1b97 Feat: Disable plugins (#850)
* implement base frontend changes necessary for plugin disabling

* implement frontend diisable functions/ modal

* plugin disable boilerplate / untested

* Feat disable plugins (#810)

* implement base frontend changes necessary for plugin disabling

* implement frontend diisable functions/ modal

---------

Co-authored-by: Jesse Bofill <jesse_bofill@yahoo.com>

* fix mistakes

* add frontend

* working plugin disable, not tested extensively

* fix uninstalled hidden plugins remaining in list

* hide plugin irrelevant plugin setting menu option when disabled

* fix hidden plugin issues

* reset disabled plugin on uninstall

* fix plugin load on reenable

* move disable settings uninstall cleanup

* add engilsh tranlsations for enable/ disable elements

* fix bug where wrong loadType can get passed to importPlugin

* show correct number of hidden plugins if plugin is both hidden and disabled

* fix: get fresh list of plugin updates when changed in settings plugin list

* fix: fix invalid semver plugin version from preventing latest updates

* retain x position when changing focus in list items  that have multiple horizontal focusables

* correction to pluging version checking validation

* make sure disabled plugins get checked for updates

* show number of disabled plugins at bottom of plugin view

* add notice to update modals that disabled plugins will be enabled upon installation

* run formatter

* Update backend/decky_loader/locales/en-US.json

Co-authored-by: EMERALD <hudson.samuels@gmail.com>

* chore: correct filename typo

* chore: change disabled icon

* chore: revert accidental defsettings changes

* format

* add timeout to frontend importPlugin

if a request hangs this prevent it from blocking other plugin loads.
backend diaptch_plugin which calls this for individual plugin load (as opposed to batch) is set to 15s.
other callers of importPlugin are not using timeout, same as before.

* fix plugin update checking loop

---------

Co-authored-by: marios <marios8543@gmail.com>
Co-authored-by: EMERALD <hudson.samuels@gmail.com>
2025-12-30 13:29:08 -06:00
AAGaming e267ba9135 error regex update 2025-11-19 23:42:16 -05:00
AAGaming 44bb023b80 React 19 support (#818) 2025-10-15 00:31:12 -04:00
ynhhoJ cbea1518ed Removed FocusRing from Decky Changelog Modal and use Focusable instead which fixes: #685 (#779)
* fix(Updater): Remove `FocusRing` component and use `Focusable` instead

* feat(Markdown): Add Link `class` to a tag for a mentain a Steam UI colors palette
2025-06-29 11:37:47 -07:00
marios 414493eed2 Add Decky branch switcher and updater to error boundary (#775)
* Add Decky branch switcher and updater to error boundary

* Linting fixup

* Update DeckyErrorBoundary.tsx

Allow for plugins to trigger new behavior.

* Lint fixup
2025-06-29 11:36:48 -07:00
shadow 6e357ceecc fix(deps): update @decky/ui to version 4.10.2 (#782)
* fix(deps): update @decky/ui to version 4.10.1

* chore(deps): bump @decky/ui 4.8.3 -> 4.10.1

* fix(types): UIMode -> EUIMode

* fix(types): bypass missing type in library.ts

* fix: lint

---------

Co-authored-by: AAGaming <aagaming@riseup.net>
2025-06-28 12:45:33 -07:00
Alexander Maslov 0b73882012 Simplify the typing of the plugin URL for users (#769)
* Simplify the typing of the plugin URL for the user. Make the http/https prefix optional.

* Fixed the formatting using prettier --write
2025-04-23 10:21:49 -04:00
AAGaming ce2f98aa04 fix toasts on beta (valve forgot how to count) 2025-03-19 15:23:19 -04:00
AAGaming 054517595d fix(ErrorBoundary): use same conditions as Valve boundary for rendering
this fixes the screenshot deletion error
2025-01-03 22:53:37 -05:00
Álvaro Cuesta f6144f9634 feat: sync with local plugin status in store (#733)
* fix: useDeckyState proper type and safety

* refactor: plugin list

Avoids unneeded re-renders. See https://react.dev/learn/you-might-not-need-an-effect#caching-expensive-calculations

* feat: sync with local plugin status in store

Adds some QoL changes to the plugin store browser:

- Add ✓ icon to currently installed plugin version in version selector
- Change install button label depending on the install type that the
  button would trigger
- Adds icon to install button for clarity

The goal is to make it clear to the user what the current state of the
installed plugin is, and what would be the impact of installing the
selected version.

Resolves #360

* lint: prettier

* fix: add missing translations

* refactor: safer translation strings on install

Prefer using `t(...)` instead of `TranslationHelper` since it ensures
that the translation keys are not missing in the locale files when
running the `extractext` task.

By adding comments with `t(...)` calls, `i18next-parser` will generate
the strings as if they were present as literals in the code (see
https://github.com/i18next/i18next-parser#caveats).

This does _not_ suppress the warnings (since `i18next-parser` does not
have access to TS types, so it cannot infer template literals) but it at
least makes it less likely that a translation will be missed by mistake,
have typos, etc.
2025-01-02 11:38:40 -08:00
eXhumer 25036b065f chore: remove dead / double code (#726)
* noticed by @KP2048 in https://discord.com/channels/960281551428522045/960284311444131840/1317031315551420447

Signed-off-by: eXhumer <exhumer@exhumer.cc>
2024-12-13 22:32:50 -05:00
AAGaming dbd7488d8f lint 2024-10-11 15:05:07 -04:00
AAGaming 456ccf479a fix dropdownmultiselect on beta 2024-10-11 14:58:37 -04:00
AAGaming 4f05a001fb fix another toString 2024-10-11 14:58:05 -04:00
AAGaming 43aa0497f4 prevent future issues where toString may not be a function (what) 2024-10-11 14:47:20 -04:00
AAGaming 4cff530b52 Fix missing components on Oct 2 2024 Steam Beta (#709) 2024-10-03 17:08:35 -04:00
Marco Rodolfi 2f90a4fcf7 Rebase semver parsing on main (#677)
Co-authored-by: Marco Rodolfi <marco.rodolfi.1992@gmail.com>
2024-09-17 06:21:31 -07:00
AAGaming 97b12972ee shut ts up 2024-09-16 16:21:00 -04:00
AAGaming f69eb72df9 wait for SteamApp init stage 1 to finish before loading decky's frontend bundle
should fix the startup race condition
2024-09-16 16:17:20 -04:00
AAGaming caac379b08 just sleep 500ms for now to work around startup race condition 2024-09-11 21:50:48 -04:00
AAGaming ef4ca204bd potentially fix startup race condition 2024-09-11 20:16:49 -04:00
AAGaming 1d7af36a2b add cache bust param to index.js of esmodule plugins
should fix hot reload
2024-09-11 19:38:58 -04:00
AAGaming d06494885a fix external links softlocking the ui in testing store cta 2024-09-01 20:40:12 -04:00
AAGaming 927f912eb3 lint 2024-08-21 14:40:42 -04:00
AAGaming 7c9b68c1dd only grab the first 8 lines of the component stack 2024-08-20 14:55:59 -04:00
AAGaming e5e75cc16e fix oopsie breaking decky on the latest beta 2024-08-13 21:14:17 -04:00
AAGaming 93b3919325 fix reloading plugins 2024-08-08 15:26:40 -04:00
AAGaming 7a161a5b83 remove useless toast delay 2024-08-08 15:20:47 -04:00
AAGaming 65b6883dcc handle crashloops and disable decky for the user 2024-08-07 16:14:18 -04:00
AAGaming 166c7ea8a7 Work around account switching failing to open the CEF debugger socket (#668)
* Work around account switching failing to open the CEF debugger socket

this automates lsof and gdb to force close the socket before steam finishes shutting down (from RegisterForShutdownStart)

* lint

* fix LD_LIBRARY_PATH for gdb
2024-08-06 20:25:39 -07:00
AAGaming 131f0961ff Rewrite router/tabs/toaster hooks (#661) 2024-08-05 14:07:10 -04:00
Lukas Senionis 3e50ce65a7 fix: fetchNoCors and http_request data handling (#664) 2024-08-03 13:24:25 -04:00
AAGaming 4b23a800f6 fix(toaster): fixup for latest @decky/ui 2024-07-26 14:29:25 -04:00
AAGaming ef0d449fb6 feat(api): add useQuickAccessVisible to plugin api 2024-07-26 14:17:04 -04:00
AAGaming 24c3d3c8f1 remove duplicate find in ErrorBoundary 2024-07-17 19:38:06 -04:00
AAGaming fb3de87921 use transparent spinner in WithSuspense 2024-07-04 01:34:52 -04:00
AAGaming 846995e0d3 LINTERRRRRRRRRRRRRRRRRRRR 2024-07-04 01:28:32 -04:00
AAGaming f73aced452 styling fixes for SteamSpinner 2024-07-04 01:27:22 -04:00
AAGaming a45df8566e fix plugin uninstalls 2024-07-04 01:27:13 -04:00
AAGaming 2b2a1d9e39 make the qam fix css more accurate 2024-07-03 22:49:42 -04:00
AAGaming 86df2e0fd9 inject some css into the QAM to fix overscroll issues 2024-07-03 22:38:36 -04:00
AAGaming 725ebd5835 fix: add .bind to legacy plugin API to fix filepicker 2024-06-29 17:41:03 -04:00
AAGaming d71fb7935b fix plugin uninstall dialog issues 2024-06-27 01:43:01 -04:00
AAGaming 0cfb41755a lint 2024-06-27 00:21:32 -04:00
AAGaming a8d55785cf fix cef debug toggle 2024-06-27 00:09:05 -04:00
AAGaming d067fe6361 add some errorboundaries 2024-06-27 00:09:00 -04:00