[Refactor] Move to src-ui/views and src-ui/logics structure.

This commit is contained in:
Sakamoto Shiina
2025-11-05 11:49:48 +09:00
parent 62f7c6d534
commit db820375f1
339 changed files with 19 additions and 19 deletions

View File

@@ -9,6 +9,6 @@
<body>
<div id="root"></div>
<script type="module" src="./src-ui/app/index.jsx"></script>
<script type="module" src="./src-ui/views/app/index.jsx"></script>
</body>
</html>

View File

@@ -17,7 +17,7 @@ import {
useAdvancedSettings,
} from "@logics_configs";
import { ui_configs } from "../ui_configs";
import { ui_configs } from "./ui_configs";
export const _useBackendErrorHandling = () => {
const { t } = useI18n();

View File

@@ -10,7 +10,7 @@ export {
useVr,
// useHotkeys,
useAdvancedSettings,
} from "../../ui_config_setter.js";
} from "./config_page_setter/ui_config_setter.js";
// export { useOthers } from "./others/useOthers";
// export { useTranscription } from "./transcription/useTranscription";

View File

@@ -2,7 +2,7 @@ import * as common from "@logics_common";
import * as main from "@logics_main";
import * as configs from "@logics_configs";
import { _useBackendErrorHandling } from "./_useBackendErrorHandling";
import { SETTINGS_ARRAY } from "../ui_config_setter";
import { SETTINGS_ARRAY } from "./configs/config_page_setter/ui_config_setter";
export const STATIC_ROUTE_META_LIST = [
// Common

View File

@@ -19,7 +19,7 @@ import {
WordFilterListToggleComponent,
DownloadModels,
MessageFormat,
} from "../_components/";
} from "../_components";
import { Checkbox } from "@common_components";
const LabeledContainer = ({ children, label, desc, custom_class_name }) => (

View File

@@ -15,7 +15,7 @@ import {
import {
SectionLabelComponent,
} from "../_components/";
} from "../_components";
import OpenFolderSvg from "@images/open_folder.svg?react";
import HelpSvg from "@images/help.svg?react";

View File

@@ -16,7 +16,7 @@ import {
DropdownMenu,
ThresholdComponent,
SwitchBox,
} from "../_components/";
} from "../_components";
export const Device = () => {
return (

View File

@@ -15,7 +15,7 @@ import {
LabelComponent,
ActionButton,
SectionLabelComponent,
} from "../_components/";
} from "../_components";
import { Checkbox } from "@common_components";
import OpenFolderSvg from "@images/open_folder.svg?react";

Some files were not shown because too many files have changed in this diff Show More