summaryrefslogtreecommitdiff
path: root/frontend/src/utils
AgeCommit message (Collapse)Author
2025-11-19error regex updateAAGaming
2025-01-02feat: sync with local plugin status in store (#733)v3.1.0-pre1Álvaro Cuesta
* 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.
2024-08-21lintAAGaming
2024-08-20only grab the first 8 lines of the component stackAAGaming
2024-06-27lintAAGaming
2024-06-27improve error checking logicAAGaming
2024-05-27error boundary now properly reports steam errorsAAGaming
2024-05-25Custom error handler and some misc fixesAAGaming
2023-12-30port updater to ws, also small refactoringAAGaming
2023-11-14Migrate most of frontend callServerMethod usage over to websocketAAGaming
2023-11-14JS -> Python WS now functionalAAGaming
2023-05-30Missed a toaster for the react toolsMarco Rodolfi
2023-05-27Unified translation classes, fixed missing toaster translation and improved ↵Marco Rodolfi
the error styling report.
2023-02-22how did this ever happenv2.6.1-pre1AAGaming
2023-02-22Fix loader on feb 22 2023 betaAAGaming
2022-10-24preview 10/21/2022 fixes (#234)AAGaming
* initial fixes: everything working except toasts and patch notes * tabshook changes, disable toaster for now * prettier * oops * implement custom toaster because I am tired of Valve's shit also fix QAM not injecting sometimes * remove extra logging * add findSP, fix patch notes, fix vscode screwup * fix patch notes * show error when plugin frontends fail to load * add get_tab_lambda * add css and has_element helpers to Tab * small modals fixup * Don't forceUpdate QuickAccess on stable * add routes prop used to get tabs component * add more dev utils to DFL global
2022-10-15Developer menu (#211)v2.3.0-pre1AAGaming
* add settings utils to use settings outside of components * initial implementation of developer menu * ✨ Add support for addScriptToEvaluateOnNewDocument * React DevTools support * increase chance of RDT successfully injecting * Rewrite toaster hook to not re-create the window * remove friends focus workaround because it's fixed * Expose various DFL utilities as DFL in dev mode * try to fix text field focuss * move focusable to outside field * add onTouchEnd and onClick to focusable * Update pnpm-lock.yaml Co-authored-by: FinalDoom <7464170-FinalDoom@users.noreply.gitlab.com> Co-authored-by: TrainDoctor <traindoctor@protonmail.com>
2022-09-01Addition of proper branch slection (#168)TrainDoctor
* This is a bit better, but branch selection still isn't working -_- * I'm the king of oversight * Selecting different branch checks for updates * Stable doesn't detect old versions, which indicates it doesn't work * Start adding deckyState for plugin updating * Few tweaks * Disable nightly selection * Update decky-frontend-lib and move useSetting set setting to async
2022-08-24Settings API for loader, preview branch selectAAGaming