Feat/Link sampler selection lock to TC API Type (#4782)

* Update - Revert connection profile change TC commands load order

This change was made to prevent preset tied samplers from breaking, such thing doesn't exist anymore.

* Update - Unlink preset renaming logic from sampler selection lock

* Update - Link TC sampler selection lock to API Type

* Fix - Clean comments

* Update - Use localforage selectedSamplers and data selectsampler as main sampler selection storage

* Fix - ESLint errors

* Update - Change lock tooltip with correct description

* Fix - Move and await sampler select localforage initializer to finish

Tried to move it to the most reasonable place possible that allowed to make an await.

* Fix - Make loadTextGenSettings async to load API selected samplers
This commit is contained in:
Leandro Jofré
2025-11-20 20:57:23 -03:00
committed by GitHub
parent 35949cac01
commit e8a75c3329
6 changed files with 216 additions and 394 deletions
@@ -47,8 +47,8 @@ const CC_COMMANDS = [
];
const TC_COMMANDS = [
'preset',
'api',
'preset',
'api-url',
'model',
'sysprompt',