From 3d09c3055dd34a8e6ffbacf986bb82ac0e730252 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 14 Oct 2022 14:45:23 -0700 Subject: [PATCH] reafactor: directory structure --- src/components/SelectionManager.vue | 2 +- src/components/Timeline.vue | 8 ++++---- src/components/{ => frame}/Folder.vue | 8 ++++---- src/components/{ => frame}/Photo.vue | 10 +++++----- src/components/{ => frame}/Tag.vue | 8 ++++---- src/components/{ => modal}/EditDate.vue | 8 ++++---- src/components/{ => modal}/FaceDeleteModal.vue | 4 ++-- src/components/{ => modal}/FaceEditModal.vue | 4 ++-- src/components/{ => modal}/FaceMergeModal.vue | 10 +++++----- src/components/{ => modal}/Modal.vue | 0 src/components/{ => top-matter}/FaceTopMatter.vue | 8 ++++---- src/components/{ => top-matter}/FolderTopMatter.vue | 4 ++-- src/components/{ => top-matter}/TagTopMatter.vue | 2 +- src/components/{ => top-matter}/TopMatter.vue | 4 ++-- 14 files changed, 40 insertions(+), 40 deletions(-) rename src/components/{ => frame}/Folder.vue (96%) rename src/components/{ => frame}/Photo.vue (96%) rename src/components/{ => frame}/Tag.vue (96%) rename src/components/{ => modal}/EditDate.vue (98%) rename src/components/{ => modal}/FaceDeleteModal.vue (93%) rename src/components/{ => modal}/FaceEditModal.vue (95%) rename src/components/{ => modal}/FaceMergeModal.vue (94%) rename src/components/{ => modal}/Modal.vue (100%) rename src/components/{ => top-matter}/FaceTopMatter.vue (93%) rename src/components/{ => top-matter}/FolderTopMatter.vue (92%) rename src/components/{ => top-matter}/TagTopMatter.vue (95%) rename src/components/{ => top-matter}/TopMatter.vue (92%) diff --git a/src/components/SelectionManager.vue b/src/components/SelectionManager.vue index 5d9755f8..63371318 100644 --- a/src/components/SelectionManager.vue +++ b/src/components/SelectionManager.vue @@ -87,7 +87,7 @@ import { IHeadRow, IPhoto } from '../types'; import { generateUrl } from '@nextcloud/router' import { NcActions, NcActionButton } from '@nextcloud/vue'; -import EditDate from "./EditDate.vue" +import EditDate from "./modal/EditDate.vue" import Star from 'vue-material-design-icons/Star.vue'; import Download from 'vue-material-design-icons/Download.vue'; diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index d0a5bf2a..9f40548f 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -126,10 +126,10 @@ import moment from 'moment'; import * as dav from "../services/DavRequests"; import * as utils from "../services/Utils"; import axios from '@nextcloud/axios' -import Folder from "./Folder.vue"; -import Tag from "./Tag.vue"; -import Photo from "./Photo.vue"; -import TopMatter from "./TopMatter.vue"; +import Folder from "./frame/Folder.vue"; +import Tag from "./frame/Tag.vue"; +import Photo from "./frame/Photo.vue"; +import TopMatter from "./top-matter/TopMatter.vue"; import SelectionManager from './SelectionManager.vue'; import UserConfig from "../mixins/UserConfig"; diff --git a/src/components/Folder.vue b/src/components/frame/Folder.vue similarity index 96% rename from src/components/Folder.vue rename to src/components/frame/Folder.vue index 297991d3..506de4b4 100644 --- a/src/components/Folder.vue +++ b/src/components/frame/Folder.vue @@ -32,11 +32,11 @@