add handlers and setting for nightly release

This commit is contained in:
jeffvli
2026-02-05 23:45:32 -08:00
parent 65c215fa9c
commit cf663de2fc
11 changed files with 403 additions and 51 deletions
@@ -41,6 +41,13 @@ export const UpdateSettings = memo(() => {
}),
value: 'beta',
},
{
label: t('setting.releaseChannel', {
context: 'optionAlpha',
postProcess: 'titleCase',
}),
value: 'alpha',
},
]}
defaultValue={
(localSettings?.get('release_channel') as string | undefined) || 'latest'
@@ -50,7 +57,7 @@ export const UpdateSettings = memo(() => {
localSettings?.set('release_channel', value);
setSettings({
window: {
releaseChannel: value as 'beta' | 'latest',
releaseChannel: value as 'alpha' | 'beta' | 'latest',
},
});
}}