SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.25k stars 154 forks source link

Added code for making it so the user can rename plugins. #636

Closed oshata closed 2 weeks ago

oshata commented 2 weeks ago

Please tick as appropriate:

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

The intention is to make it so the user is able to rename plugins. To do this an additional setting button was added in the settings \ plugins \ ... context menu named "Rename". This button should bring up a dialog with a text box, a enter button and a cancel button. once the user has input the name they wish for the plugin they can push enter to rename it or cancel to exit out with out renaming it.

The files changed were: backend\src\main.py backend\src\plugin.py frontend\src\components\settings\pages\plugin_list\index.tsx

This fixes issue: #629

Please provide a clear and concise description of what the new feature is. If appropriate, include screenshots or videos. I still have some testing to do the the code to fix some error.

TrainDoctor commented 2 weeks ago

This PR fails all linter checks and appears to be LLM etc generated code. We cannot accept this PR as we do not accept LLM code and even if it wasn't, the complete failure to verify any of what the code actually does or verify it passes our linters is grounds enough for rejection. Please consider contributing through your own efforts. Thanks.