Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

refactor(tours): remove obsolete tour anchors and legacy locales

Timothy Yin00a37a1cfe10
diff --git a/app/components/masonry/item/Header.vue b/app/components/masonry/item/Header.vue
index b7258823..56f776e4 100644
--- a/app/components/masonry/item/Header.vue
+++ b/app/components/masonry/item/Header.vue
@@ -44,10 +44,7 @@ const isRepoLinkHovering = ref(false)
</script>
<template>
- <div
- class="w-full relative overflow-hidden"
- data-tour="home-header"
- >
+ <div class="w-full relative overflow-hidden">
<div
class="absolute inset-0 -z-10 blur-3xl scale-110 bg-cover bg-center opacity-35"
:style="{
diff --git a/app/pages/dashboard/albums.vue b/app/pages/dashboard/albums.vue
index 69c96c9c..44026601 100644
--- a/app/pages/dashboard/albums.vue
+++ b/app/pages/dashboard/albums.vue
@@ -542,7 +542,7 @@ const columns = computed<any[]>(() => [
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.albums')">
<template #right>
diff --git a/app/pages/dashboard/index.vue b/app/pages/dashboard/index.vue
index d97cebed..6f70f5c8 100644
--- a/app/pages/dashboard/index.vue
+++ b/app/pages/dashboard/index.vue
@@ -307,7 +307,7 @@ const onShareSite = () => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('dashboard.overview.title')" />
</template>
diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vue
index 97afd029..00a29022 100644
--- a/app/pages/dashboard/photos.vue
+++ b/app/pages/dashboard/photos.vue
@@ -2045,7 +2045,7 @@ onUnmounted(() => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('dashboard.photos.toolbar.title')">
<template #right>
diff --git a/app/pages/dashboard/settings/general.vue b/app/pages/dashboard/settings/general.vue
index e47e114d..a8643042 100644
--- a/app/pages/dashboard/settings/general.vue
+++ b/app/pages/dashboard/settings/general.vue
@@ -80,7 +80,7 @@ const handleAppearanceSettingsSubmit = async () => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.generalSettings')" />
</template>
diff --git a/app/pages/dashboard/settings/map.vue b/app/pages/dashboard/settings/map.vue
index 8653607a..ebb1a64b 100644
--- a/app/pages/dashboard/settings/map.vue
+++ b/app/pages/dashboard/settings/map.vue
@@ -89,7 +89,7 @@ const handleLocationSettingsSubmit = async () => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.mapAndLocation')" />
</template>
diff --git a/app/pages/dashboard/settings/privacy.vue b/app/pages/dashboard/settings/privacy.vue
index d5ebff18..436cd748 100644
--- a/app/pages/dashboard/settings/privacy.vue
+++ b/app/pages/dashboard/settings/privacy.vue
@@ -47,7 +47,7 @@ const handlePrivacySettingsSubmit = async () => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.privacySettings')" />
</template>
diff --git a/app/pages/dashboard/settings/storage.vue b/app/pages/dashboard/settings/storage.vue
index fd35da37..15405e97 100644
--- a/app/pages/dashboard/settings/storage.vue
+++ b/app/pages/dashboard/settings/storage.vue
@@ -525,7 +525,7 @@ const resetStorageConfigForm = () => {
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.storageSettings')" />
</template>
diff --git a/app/pages/dashboard/settings/system.vue b/app/pages/dashboard/settings/system.vue
index 80c3e4ad..c51dc22e 100644
--- a/app/pages/dashboard/settings/system.vue
+++ b/app/pages/dashboard/settings/system.vue
@@ -105,7 +105,7 @@ const handleSectionSettingsSubmit = async (
</script>
<template>
- <UDashboardPanel data-tour="page">
+ <UDashboardPanel>
<template #header>
<UDashboardNavbar :title="$t('title.systemSettings')" />
</template>
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 1ff8bcd3..0db2bac7 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -1781,14 +1781,6 @@
"title": "Your gallery homepage",
"description": "Visitors can browse, filter and sort photos, open photo details, and explore albums and maps."
},
- "login": {
- "title": "How to sign in later",
- "description": "After signing out, use the sign-in button in the homepage header, or visit /signin directly. Sign in with your administrator account to manage the site."
- },
- "adminEntry": {
- "title": "Open administration",
- "description": "Once signed in, use the dashboard button in the homepage header or visit /dashboard. The dashboard account menu lets you return to the gallery."
- },
"queueDetails": {
"title": "Track processing",
"description": "Open the task queue to track uploads, inspect failures and retry tasks."
diff --git a/i18n/locales/ja.json b/i18n/locales/ja.json
index 4438a838..7ed4e1b3 100644
--- a/i18n/locales/ja.json
+++ b/i18n/locales/ja.json
@@ -1790,14 +1790,6 @@
"title": "ギャラリーのホームページ",
"description": "訪問者は写真の閲覧、絞り込み、並べ替え、詳細表示ができ、アルバムや地図も探索できます。"
},
- "login": {
- "title": "次回のログイン方法",
- "description": "ログアウト後はホームページのアバターをクリックするか、/signin に直接アクセスしてください。管理者アカウントでログインするとサイトを管理できます。"
- },
- "adminEntry": {
- "title": "管理画面を開く",
- "description": "ログイン後、ホームページのダッシュボードボタンまたは /dashboard から管理画面を開けます。アカウントメニューからギャラリーに戻れます。"
- },
"queueDetails": {
"title": "処理状況を確認",
"description": "タスクキューを開いてアップロードの処理状況や失敗したタスクを確認し、必要なタスクを再実行できます。"
diff --git a/i18n/locales/ru.json b/i18n/locales/ru.json
index 489e2bf9..3f3abaf1 100644
--- a/i18n/locales/ru.json
+++ b/i18n/locales/ru.json
@@ -1781,14 +1781,6 @@
"title": "Главная страница галереи",
"description": "Посетители могут просматривать, фильтровать и сортировать фотографии, открывать сведения о них, а также просматривать альбомы и карты."
},
- "login": {
- "title": "Как войти в следующий раз",
- "description": "После выхода нажмите на аватар на главной странице или перейдите на /signin. Для управления сайтом войдите в аккаунт администратора."
- },
- "adminEntry": {
- "title": "Открыть управление сайтом",
- "description": "После входа нажмите кнопку панели управления на главной странице или перейдите на /dashboard. Меню аккаунта позволяет вернуться в галерею."
- },
"queueDetails": {
"title": "Ход обработки",
"description": "Откройте очередь задач, чтобы следить за загрузкой, проверять ошибки и повторять обработку задач."
diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.json
index 42ff630f..26fd68b6 100644
--- a/i18n/locales/zh-Hans.json
+++ b/i18n/locales/zh-Hans.json
@@ -1781,14 +1781,6 @@
"title": "欢迎来到站点首页",
"description": "这是访客浏览照片的首页,可以筛选、排序和打开照片详情,也可以浏览相册和地图。"
},
- "login": {
- "title": "之后如何登录",
- "description": "退出登录后,使用首页顶部的登录按钮进入登录页面,也可以直接访问 /signin。使用管理员账号登录后即可管理站点。"
- },
- "adminEntry": {
- "title": "如何进入后台",
- "description": "登录后,点击首页顶部的仪表盘按钮进入后台,也可以直接访问 /dashboard。后台账号菜单中的“查看图库”可返回首页。"
- },
"queueDetails": {
"title": "查看处理进度",
"description": "点击这里进入任务队列,查看上传照片的处理进度和失败任务,并重试需要处理的任务。"
diff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.json
index d979840b..8d9da48e 100644
--- a/i18n/locales/zh-Hant-HK.json
+++ b/i18n/locales/zh-Hant-HK.json
@@ -1781,14 +1781,6 @@
"title": "歡迎來到網站首頁",
"description": "這是訪客瀏覽照片的首頁,可以篩選、排序和打開照片詳情,也可以瀏覽相簿和地圖。"
},
- "login": {
- "title": "之後如何登入",
- "description": "退出登入後,使用首頁頂部的登入按鈕進入登入頁面,也可以直接訪問 /signin。使用管理員賬號登入後即可管理網站。"
- },
- "adminEntry": {
- "title": "如何進入後台",
- "description": "登入後,點擊首頁頂部的儀表板按鈕進入後台,也可以直接訪問 /dashboard。後台賬號菜單中的“查看圖庫”可返回首頁。"
- },
"queueDetails": {
"title": "查看處理進度",
"description": "點擊這裏進入任務隊列,查看上傳照片的處理進度和失敗任務,並重試需要處理的任務。"
diff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.json
index 8c310dea..eff5fc2f 100644
--- a/i18n/locales/zh-Hant-TW.json
+++ b/i18n/locales/zh-Hant-TW.json
@@ -1781,14 +1781,6 @@
"title": "歡迎來到網站首頁",
"description": "這是訪客瀏覽照片的首頁,可以篩選、排序和開啟照片詳情,也可以瀏覽相簿和地圖。"
},
- "login": {
- "title": "之後如何登入",
- "description": "退出登入後,使用首頁頂部的登入按鈕進入登入頁面,也可以直接訪問 /signin。使用管理員賬號登入後即可管理網站。"
- },
- "adminEntry": {
- "title": "如何進入後臺",
- "description": "登入後,點選首頁頂部的儀表板按鈕進入後臺,也可以直接訪問 /dashboard。後臺賬號選單中的“檢視相簿”可返回首頁。"
- },
"queueDetails": {
"title": "檢視處理進度",
"description": "點選這裡進入任務佇列,檢視上傳照片的處理進度和失敗任務,並重試需要處理的任務。"