mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 11:25:13 +00:00
enhance(frontend): 未使用のサウンド設定を削除 (#14116)
* enhance(frontend): 未使用のサウンド設定を削除 * Update Changelog * Update CHANGELOG.md
This commit is contained in:
parent
6b876da44a
commit
121af778a0
7 changed files with 3 additions and 24 deletions
|
@ -1,5 +1,8 @@
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Note
|
||||||
|
- デッキUIの新着ノートをサウンドで通知する機能の追加(v2024.5.0)に伴い、以前から動作しなくなっていたクライアント設定内の「アンテナ受信」「チャンネル通知」サウンドを削除しました。
|
||||||
|
|
||||||
### General
|
### General
|
||||||
- Feat: 通報を受けた際、または解決した際に、予め登録した宛先に通知を飛ばせるように(mail or webhook) #13705
|
- Feat: 通報を受けた際、または解決した際に、予め登録した宛先に通知を飛ばせるように(mail or webhook) #13705
|
||||||
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
|
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
|
||||||
|
|
8
locales/index.d.ts
vendored
8
locales/index.d.ts
vendored
|
@ -7515,14 +7515,6 @@ export interface Locale extends ILocale {
|
||||||
* 通知
|
* 通知
|
||||||
*/
|
*/
|
||||||
"notification": string;
|
"notification": string;
|
||||||
/**
|
|
||||||
* アンテナ受信
|
|
||||||
*/
|
|
||||||
"antenna": string;
|
|
||||||
/**
|
|
||||||
* チャンネル通知
|
|
||||||
*/
|
|
||||||
"channel": string;
|
|
||||||
/**
|
/**
|
||||||
* リアクション選択時
|
* リアクション選択時
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1971,8 +1971,6 @@ _sfx:
|
||||||
note: "ノート"
|
note: "ノート"
|
||||||
noteMy: "ノート(自分)"
|
noteMy: "ノート(自分)"
|
||||||
notification: "通知"
|
notification: "通知"
|
||||||
antenna: "アンテナ受信"
|
|
||||||
channel: "チャンネル通知"
|
|
||||||
reaction: "リアクション選択時"
|
reaction: "リアクション選択時"
|
||||||
|
|
||||||
_soundSettings:
|
_soundSettings:
|
||||||
|
|
|
@ -113,8 +113,6 @@ const defaultStoreSaveKeys: (keyof typeof defaultStore['state'])[] = [
|
||||||
'sound_note',
|
'sound_note',
|
||||||
'sound_noteMy',
|
'sound_noteMy',
|
||||||
'sound_notification',
|
'sound_notification',
|
||||||
'sound_antenna',
|
|
||||||
'sound_channel',
|
|
||||||
];
|
];
|
||||||
const coldDeviceStorageSaveKeys: (keyof typeof ColdDeviceStorage.default)[] = [
|
const coldDeviceStorageSaveKeys: (keyof typeof ColdDeviceStorage.default)[] = [
|
||||||
'lightTheme',
|
'lightTheme',
|
||||||
|
|
|
@ -54,8 +54,6 @@ const sounds = ref<Record<OperationType, Ref<SoundStore>>>({
|
||||||
note: defaultStore.reactiveState.sound_note,
|
note: defaultStore.reactiveState.sound_note,
|
||||||
noteMy: defaultStore.reactiveState.sound_noteMy,
|
noteMy: defaultStore.reactiveState.sound_noteMy,
|
||||||
notification: defaultStore.reactiveState.sound_notification,
|
notification: defaultStore.reactiveState.sound_notification,
|
||||||
antenna: defaultStore.reactiveState.sound_antenna,
|
|
||||||
channel: defaultStore.reactiveState.sound_channel,
|
|
||||||
reaction: defaultStore.reactiveState.sound_reaction,
|
reaction: defaultStore.reactiveState.sound_reaction,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,6 @@ export const soundsTypes = [
|
||||||
export const operationTypes = [
|
export const operationTypes = [
|
||||||
'noteMy',
|
'noteMy',
|
||||||
'note',
|
'note',
|
||||||
'antenna',
|
|
||||||
'channel',
|
|
||||||
'notification',
|
'notification',
|
||||||
'reaction',
|
'reaction',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
|
@ -479,14 +479,6 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: { type: 'syuilo/n-ea', volume: 1 } as SoundStore,
|
default: { type: 'syuilo/n-ea', volume: 1 } as SoundStore,
|
||||||
},
|
},
|
||||||
sound_antenna: {
|
|
||||||
where: 'device',
|
|
||||||
default: { type: 'syuilo/triple', volume: 1 } as SoundStore,
|
|
||||||
},
|
|
||||||
sound_channel: {
|
|
||||||
where: 'device',
|
|
||||||
default: { type: 'syuilo/square-pico', volume: 1 } as SoundStore,
|
|
||||||
},
|
|
||||||
sound_reaction: {
|
sound_reaction: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: { type: 'syuilo/bubble2', volume: 1 } as SoundStore,
|
default: { type: 'syuilo/bubble2', volume: 1 } as SoundStore,
|
||||||
|
|
Loading…
Reference in a new issue