[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> <body>
<div id="root"></div> <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> </body>
</html> </html>

View File

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

View File

@@ -10,7 +10,7 @@ export {
useVr, useVr,
// useHotkeys, // useHotkeys,
useAdvancedSettings, useAdvancedSettings,
} from "../../ui_config_setter.js"; } from "./config_page_setter/ui_config_setter.js";
// export { useOthers } from "./others/useOthers"; // export { useOthers } from "./others/useOthers";
// export { useTranscription } from "./transcription/useTranscription"; // 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 main from "@logics_main";
import * as configs from "@logics_configs"; import * as configs from "@logics_configs";
import { _useBackendErrorHandling } from "./_useBackendErrorHandling"; 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 = [ export const STATIC_ROUTE_META_LIST = [
// Common // Common

View File

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

View File

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

View File

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

View File

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

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