[Refactor] Move to src-ui/views and src-ui/logics structure.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 }) => (
|
||||||
@@ -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";
|
||||||
@@ -16,7 +16,7 @@ import {
|
|||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
ThresholdComponent,
|
ThresholdComponent,
|
||||||
SwitchBox,
|
SwitchBox,
|
||||||
} from "../_components/";
|
} from "../_components";
|
||||||
|
|
||||||
export const Device = () => {
|
export const Device = () => {
|
||||||
return (
|
return (
|
||||||
@@ -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
Reference in New Issue
Block a user