354 Commits

Author SHA1 Message Date
AAGaming
232fadd796 fixes for june 2026 beta errorboundary (#916)
Co-authored-by: Beebles <102569435+beebls@users.noreply.github.com>
2026-06-05 22:29:11 -04:00
jbofill
acaf165219 Improved error screen (#841)
* improve the error screen visuals

* comment out placeholder buttons

* run formatter

* Refactor DeckyErrorBoundary styles and text

- Removed gray text class usage
- Removed styles reminiscent of Steam BPM
- Fixed typos

* Further refactor of DeckyErrorBoundary.tsx

- Change background/text of buttons to be closer to Steam Deck UI
- Make panel background not reliant on transparency and have a neutral gray
- Bold "likely occurred" text
- Make swipe prompt appear in the center of a horizontal bar, drawing more attention to it
- Make "An error occurred" text smaller, as it isn't helpful for troubleshooting
- Add text clarifying solutions are in recommended order and how to get more help
- Add "Retry the action or restart" to the left of Retry, Restart Steam, and Restart Decky buttons
- Move disabling Decky to beneath the Decky update checking

* Revert header boldness change

* add disable plugin buttons to error screen

* Set background to black

---------

Co-authored-by: EMERALD <info@eme.wtf>
2026-05-25 18:43:17 -05:00
AAGaming
511dd121bd Fix missing Field component and dropdown styling on beta (#907) 2026-05-15 00:09:13 -04:00
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
a13887a13a fix(deps): bump @decky/ui to fix tabs component on bta 2026-03-21 20:39:27 -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
7ea7bc7f9b fix(deps): bump @decky/ui to fix issues on beta (#853) 2025-11-26 22:10:33 -05: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
AAGaming
86b5567d4e dfl bump to fix DialogHeader component (#800) 2025-08-20 15:46:17 -04:00
AAGaming
e22ba20d13 Fix ModalRoot component on beta (#792) 2025-07-13 02:33:22 -04:00
AAGaming
02e8640ad4 bump @decky/ui to fix ConfirmModal component (#789)
Co-Authored-By: shadow <81448108+shdwmtr@users.noreply.github.com>
2025-07-08 23:30:47 -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
dependabot[bot]
8e50886c48 Bump cross-spawn from 7.0.3 to 7.0.6 in /frontend (#727)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 12:06:40 -08: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
6bf21bf2ad Merge branch 'main' of github.com:SteamDeckHomebrew/decky-loader 2024-12-13 22:31:09 -05:00
AAGaming
4b47a8abeb fix(deps): update decky/ui to fix beta plugin loading issues 2024-12-13 22:31:06 -05:00
dependabot[bot]
43f22329e1 Bump micromatch from 4.0.7 to 4.0.8 in /frontend (#714)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-13 13:42:50 -07:00
dependabot[bot]
19e5d84928 Bump rollup from 4.18.0 to 4.22.4 in /frontend (#711)
Bumps [rollup](https://github.com/rollup/rollup) from 4.18.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.18.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-13 13:42:24 -07:00
AAGaming
dbd7488d8f lint 2024-10-11 15:05:07 -04:00
AAGaming
cff3ca504d bump @decky/ui to fix issues on beta 2024-10-11 15:00:54 -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
1781c19c11 Fix broken checkboxes on Beta Steam client (#710) 2024-10-04 13:26:00 -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
24fce1e093 bump @decky/ui to include findSP fix 2024-09-16 19:31:04 -04: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
1265672067 Update @decky/ui to fix non-global dfl plugins crashing the UI due to a race condition 2024-08-08 14:25:56 -04:00
AAGaming
65b6883dcc handle crashloops and disable decky for the user 2024-08-07 16:14:18 -04:00