Follow up: Stream Idle PR (#6238)

* Use a dropdown for stream idle setting

* Add support for undefined values in dropdowns

* Move cache bust to the beginning of engine open for reconnections

* yarn tsc

* Don't setup model feature highlighters until the connection is ready

* Wait 2s to give engine time to serve video, then listen for modeling commands

* Undo teardown

* yarn fmt

* Fix circular module dependency; fmt & lint & tsc

* Fix editor-test waiting for 2 instead of 1

* Increment another 2 numbers ...

---------

Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
This commit is contained in:
Zookeeper Lee
2025-04-14 12:09:45 -04:00
committed by GitHub
parent 22dd4a67dd
commit 264779a9d0
11 changed files with 128 additions and 177 deletions

View File

@ -101,7 +101,10 @@ export function SettingsFieldInput({
type: `set.${category}.${settingName}`,
data: {
level: settingsLevel,
value: e.target.value,
// undefined is the only special string due to no way to
// encode it in the string-only options.
value:
e.target.value === 'undefined' ? undefined : e.target.value,
},
} as unknown as EventFrom<WildcardSetEvent>)
}