Skip to content

Commit

Permalink
move vue files around to folders
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Nov 10, 2023
1 parent acb0469 commit 7b9f588
Show file tree
Hide file tree
Showing 23 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion client-vue/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</template>

<script lang="ts" setup>
import SideMenu from "@/components/SideMenu.vue";
import SideMenu from "@/components/menu/SideMenu.vue";
import type { ApiAuthResponse } from "@common/Api/Api";
import type { ApiLogLine } from "@common/Api/Client";
import type {
Expand Down
2 changes: 1 addition & 1 deletion client-vue/src/components/JobStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</template>

<script lang="ts" setup>
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "@/components/reusables/DurationDisplay.vue";
import { useStore } from "@/store";
import { JobStatus } from "@common/Defs";
import { library } from "@fortawesome/fontawesome-svg-core";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div v-if="store.config" class="top-menu-item title" :class="{ fancy: store.clientCfg('animationsEnabled') }">
<router-link to="/dashboard" class="link" aria-label="Go to dashboard">
<div class="bg" />
<img src="../assets/logo.png" class="favicon" width="24" height="24" :alt="store.cfg('app_name', 'TA') ?? 'TA'" aria-hidden="true" />
<img src="../../assets/logo.png" class="favicon" width="24" height="24" :alt="store.cfg('app_name', 'TA') ?? 'TA'" aria-hidden="true" />
<h1 class="title" :title="verboseVersion">
<span>{{ store.app_name }}</span>
<template v-if="isDevelopmentBranch">
Expand Down Expand Up @@ -86,7 +86,7 @@

<script lang="ts" setup>
import { computed, onMounted, onUnmounted, ref } from "vue";
import pack from "../../package.json";
import pack from "../../../package.json";
import { library } from "@fortawesome/fontawesome-svg-core";
import { faGithub } from "@fortawesome/free-brands-svg-icons";
Expand Down Expand Up @@ -244,7 +244,7 @@ function copyDebugStuff(e: Event) {
</script>

<style lang="scss" scoped>
@import "../assets/_variables";
@import "../../assets/_variables";
.side-menu {
position: fixed;
Expand Down Expand Up @@ -359,7 +359,7 @@ function copyDebugStuff(e: Event) {
position: relative;
overflow: hidden;
.bg {
background-image: url(../assets/3D_TV_static.gif);
background-image: url(../../assets/3D_TV_static.gif);
background-size: cover;
opacity: 0;
transition: opacity 0.5s ease-in-out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<script lang="ts" setup>
import { computed, ref } from "vue";
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "@/components/reusables/DurationDisplay.vue";
import SideMenuStreamerVod from "./SideMenuStreamerVod.vue";
import { library } from "@fortawesome/fontawesome-svg-core";
Expand All @@ -121,7 +121,7 @@ import {
} from "@fortawesome/free-solid-svg-icons";
import { faHourglass } from "@fortawesome/free-regular-svg-icons";
import { useStore } from "@/store";
import { nonGameCategories } from "../../../common/Defs";
import { nonGameCategories } from "@common/Defs";
import { isTwitchChannel } from "@/mixins/newhelpers";
import { useRoute } from "vue-router";
import { formatLogicalDate } from "@/mixins/newhelpers";
Expand Down Expand Up @@ -192,7 +192,7 @@ function toggleExpand() {
</script>

<style lang="scss" scoped>
@import "../assets/_variables";
@import "../../assets/_variables";
.top-menu-item {
font-size: 1.2em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
// import { ref } from "vue";
import { useStore } from "@/store";
import type TwitchVOD from "@/core/Providers/Twitch/TwitchVOD";
import { MuteStatus, TwitchVodAge } from "../../../common/Defs";
import DurationDisplay from "./DurationDisplay.vue";
import { MuteStatus, TwitchVodAge } from "@common/Defs";
import DurationDisplay from "../reusables/DurationDisplay.vue";
import { isTwitchVOD } from "@/mixins/newhelpers";
import { formatDate, formatBytes, humanDuration, niceDuration, humanDate } from "@/mixins/newhelpers";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mount } from "@vue/test-utils";
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "./DurationDisplay.vue";
import { describe, it, expect } from "vitest";

describe("DurationDisplay", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@

<script lang="ts" setup>
import { computed, onMounted, ref, watch } from "vue";
import VodItem from "@/components/VodItem.vue";
import VodItem from "@/components/vod/VodItem.vue";
import ModalBox from "@/components/ModalBox.vue";
import StreamerItemClips from "./StreamerItemClips.vue";
import StreamerItemLocalVideos from "./StreamerItemLocalVideos.vue";
import StreamerItemTools from "./StreamerItemTools.vue";
import VideoDownloadModal from "./streamer/VideoDownloadModal.vue";
import ClipDownloadModal from "./streamer/ClipDownloadModal.vue";
import VideoDownloadModal from "../streamer/VideoDownloadModal.vue";
import ClipDownloadModal from "../streamer/ClipDownloadModal.vue";
import { library } from "@fortawesome/fontawesome-svg-core";
import { faVideo, faPlayCircle, faVideoSlash, faDownload, faSync, faPencil, faFolderOpen, faTrash } from "@fortawesome/free-solid-svg-icons";
import { useStore } from "@/store";
Expand Down Expand Up @@ -244,7 +244,7 @@ function toggleLimitVods() {
</script>

<style lang="scss" scoped>
@import "../assets/_variables";
@import "../../assets/_variables";
.streamer-title {
font-size: 110%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,18 @@ import {
faKey,
} from "@fortawesome/free-solid-svg-icons";
import { useStore } from "@/store";
import ModalBox from "./ModalBox.vue";
import ModalBox from "../ModalBox.vue";
import VodItemSegments from "./VodItemSegments.vue";
import VodItemBookmarks from "./VodItemBookmarks.vue";
import VodItemChapters from "./VodItemChapters.vue";
import VodItemViewers from "./VodItemViewers.vue";
import VodItemGeneral from "./VodItemGeneral.vue";
import VodItemStatus from "./VodItemStatus.vue";
import VodItemTitle from "./VodItemTitle.vue";
import RenderModal from "./vod/RenderModal.vue";
import ExportModal from "./vod/ExportModal.vue";
import EditModal from "./vod/EditModal.vue";
import { VideoQualityArray } from "../../../common/Defs";
import RenderModal from "../vod/RenderModal.vue";
import ExportModal from "../vod/ExportModal.vue";
import EditModal from "../vod/EditModal.vue";
import { VideoQualityArray } from "@common/Defs";
import type { ApiResponse, ApiSettingsResponse } from "@common/Api/Api";
import { formatString } from "@common/Format";
import { format } from "date-fns";
Expand Down Expand Up @@ -508,7 +508,7 @@ function showModalEv(modal: keyof typeof showModal.value): void {
</script>

<style lang="scss" scoped>
@import "../assets/_variables";
@import "../../assets/_variables";
.video {
margin-bottom: 1em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ import { useStore } from "@/store";
import type { ApiResponse, ApiSettingsResponse } from "@common/Api/Api";
import axios from "axios";
import { computed, onMounted, ref } from "vue";
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "@/components/reusables/DurationDisplay.vue";
import { useI18n } from "vue-i18n";
import { formatDate, formatNumber, humanDuration, twitchDuration } from "@/mixins/newhelpers";
import type { ChapterTypes, VODTypes } from "@/twitchautomator";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<script lang="ts" setup>
import { useStore } from "@/store";
import type { ApiResponse } from "@common/Api/Api";
import { MuteStatus } from "../../../common/Defs";
import { MuteStatus } from "@common/Defs";
import axios from "axios";
import { computed } from "vue";
import { useI18n } from "vue-i18n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
import { useStore } from "@/store";
import { useI18n } from "vue-i18n";
import VodItemVideoInfo from "./VodItemVideoInfo.vue";
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "@/components/reusables/DurationDisplay.vue";
import { formatDate, humanDuration } from "@/mixins/newhelpers";
import type { VODTypes } from "@/twitchautomator";
import { computed, onMounted, ref } from "vue";
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ import { useStore } from "@/store";
import type { ApiResponse } from "@common/Api/Api";
import axios from "axios";
import { useI18n } from "vue-i18n";
import { MuteStatus } from "../../../common/Defs";
import { MuteStatus } from "@common/Defs";
import { formatDate, humanDuration, formatBytes, isTwitchVOD } from "@/mixins/newhelpers";
import type { VODTypes } from "@/twitchautomator";
import { computed, ref } from "vue";
Expand Down
2 changes: 1 addition & 1 deletion client-vue/src/views/DashboardView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</template>

<script lang="ts" setup>
import Streamer from "@/components/StreamerItem.vue";
import Streamer from "@/components/streamer/StreamerItem.vue";
import { useStore } from "@/store";
import LogViewer from "@/components/LogViewer.vue";
import { useI18n } from "vue-i18n";
Expand Down
2 changes: 1 addition & 1 deletion client-vue/src/views/ToolsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ import ToolsVodDownloadForm from "@/components/forms/ToolsVodDownloadForm.vue";
import ToolsChatDownloadForm from "@/components/forms/ToolsChatDownloadForm.vue";
import ToolsChatDumpForm from "@/components/forms/ToolsChatDumpForm.vue";
import ToolsClipDownloadForm from "../components/forms/ToolsClipDownloadForm.vue";
import DurationDisplay from "@/components/DurationDisplay.vue";
import DurationDisplay from "@/components/reusables/DurationDisplay.vue";
import { library } from "@fortawesome/fontawesome-svg-core";
import { faHeart, faStop, faSkull, faTrash, faPowerOff } from "@fortawesome/free-solid-svg-icons";
Expand Down

0 comments on commit 7b9f588

Please sign in to comment.