Merge branch 'develop' of https://github.com/misyaguziya/VRCT into develop

This commit is contained in:
misyaguziya committed 2026-01-10 02:19:26 +09:00
commit d51b069bb2
8 files changed
+42 -1

No files matched your search

@@ -709,6 +709,14 @@ export const SETTINGS_ARRAY = [
logics_template_id: "toggle_enable_disable",
base_endpoint_name: "convert_message_to_hiragana",
},
{
Category: "Others",
Base_Name: "Telemetry",
default_value: false,
ui_template_id: "toggle",
logics_template_id: "toggle_enable_disable",
base_endpoint_name: "telemetry",
},
// AdvancedSettings
{
+2 -1
View File
@@ -107,8 +107,9 @@ export const STATIC_ROUTE_META_LIST = [
{ endpoint: "/get/data/plugins_status", ns: configs, hook_name: "usePlugins", method_name: "updateSavedPluginsStatus" },
{ endpoint: "/set/data/plugins_status", ns: configs, hook_name: "usePlugins", method_name: "setSuccessSavedPluginsStatus" },
// // Not Implemented Yet...
// // Not Implemented.
{ endpoint: "/get/data/selectable_transcription_engines", ns: null, hook_name: null, method_name: null }, // Not implemented on UI yet. (if ai_models has not been detected, this will be blank array[]. if the ai_models are ok but just network has not connected, it'l be only ["Whisper"])
{ endpoint: "/run/shutdown", ns: null, hook_name: null, method_name: null }, // Not implemented on UI.
];
export const useReceiveRoutes = () => {
@@ -53,6 +53,9 @@ export const Others = () => {
<ConvertMessageToRomajiContainer />
<ConvertMessageToHiraganaContainer />
</div>
<div>
<TelemetryContainer />
</div>
</div>
);
};
@@ -245,4 +248,18 @@ const ConvertMessageToHiraganaContainer = () => {
toggleFunction={toggleConvertMessageToHiragana}
/>
);
};
const TelemetryContainer = () => {
const { t } = useI18n();
const { currentTelemetry, toggleTelemetry } = useOthers();
return (
<CheckboxContainer
label={t("config_page.others.telemetry.label")}
desc={t("config_page.others.telemetry.desc")}
variable={currentTelemetry}
toggleFunction={toggleTelemetry}
/>
);
};