From 68571df624499db2381ddb56842c5a640cd41619 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 30 Jun 2020 13:44:32 +0200 Subject: [PATCH] Frontend: Refactor dialog file names Signed-off-by: Michael Mayer --- .../{p-album-edit-dialog.vue => album/edit.vue} | 0 frontend/src/dialog/dialogs.js | 14 +++++++------- .../{p-photo-album-dialog.vue => photo/album.vue} | 2 +- .../archive.vue} | 0 .../{p-photo-edit-dialog.vue => photo/edit.vue} | 10 +++++----- .../src/dialog/{p-share-dialog.vue => share.vue} | 0 .../src/dialog/{p-upload-dialog.vue => upload.vue} | 4 ++-- .../src/dialog/{p-video-dialog.vue => video.vue} | 0 8 files changed, 15 insertions(+), 15 deletions(-) rename frontend/src/dialog/{p-album-edit-dialog.vue => album/edit.vue} (100%) rename frontend/src/dialog/{p-photo-album-dialog.vue => photo/album.vue} (99%) rename frontend/src/dialog/{p-photo-archive-dialog.vue => photo/archive.vue} (100%) rename frontend/src/dialog/{p-photo-edit-dialog.vue => photo/edit.vue} (95%) rename frontend/src/dialog/{p-share-dialog.vue => share.vue} (100%) rename frontend/src/dialog/{p-upload-dialog.vue => upload.vue} (97%) rename frontend/src/dialog/{p-video-dialog.vue => video.vue} (100%) diff --git a/frontend/src/dialog/p-album-edit-dialog.vue b/frontend/src/dialog/album/edit.vue similarity index 100% rename from frontend/src/dialog/p-album-edit-dialog.vue rename to frontend/src/dialog/album/edit.vue diff --git a/frontend/src/dialog/dialogs.js b/frontend/src/dialog/dialogs.js index 0232a1dae..85cce9040 100644 --- a/frontend/src/dialog/dialogs.js +++ b/frontend/src/dialog/dialogs.js @@ -31,15 +31,15 @@ https://docs.photoprism.org/developer-guide/ import PAccountAddDialog from "./account/add.vue"; import PAccountRemoveDialog from "./account/remove.vue"; import PAccountEditDialog from "./account/edit.vue"; -import PPhotoArchiveDialog from "./p-photo-archive-dialog.vue"; -import PPhotoAlbumDialog from "./p-photo-album-dialog.vue"; -import PPhotoEditDialog from "./p-photo-edit-dialog.vue"; -import PAlbumEditDialog from "./p-album-edit-dialog.vue"; +import PPhotoArchiveDialog from "./photo/archive.vue"; +import PPhotoAlbumDialog from "./photo/album.vue"; +import PPhotoEditDialog from "./photo/edit.vue"; +import PAlbumEditDialog from "./album/edit.vue"; import PAlbumDeleteDialog from "./album/delete.vue"; import PLabelDeleteDialog from "./label/delete.vue"; -import PUploadDialog from "./p-upload-dialog.vue"; -import PVideoDialog from "./p-video-dialog.vue"; -import PShareDialog from "./p-share-dialog.vue"; +import PUploadDialog from "./upload.vue"; +import PVideoDialog from "./video.vue"; +import PShareDialog from "./share.vue"; import PShareUploadDialog from "./share/upload.vue"; const dialogs = {}; diff --git a/frontend/src/dialog/p-photo-album-dialog.vue b/frontend/src/dialog/photo/album.vue similarity index 99% rename from frontend/src/dialog/p-photo-album-dialog.vue rename to frontend/src/dialog/photo/album.vue index f85983393..e855e1a1d 100644 --- a/frontend/src/dialog/p-photo-album-dialog.vue +++ b/frontend/src/dialog/photo/album.vue @@ -42,7 +42,7 @@