@@ -61,7 +61,7 @@ import TmsSoftwareDonation from '@/components/TmsSoftwareDonation.vue';
import TmsSoftwareRepository from '@/components/TmsSoftwareRepository.vue';
definePageMetadata(() => ({
- title: i18n.ts._tms._about.title,
+ title: i18n.ts._tms.aboutTaiyme,
icon: 'ti ti-info-circle',
}));
diff --git a/packages/frontend/src/pages/tms/features.form.vue b/packages/frontend/src/pages/tms/features.form.vue
new file mode 100644
index 000000000000..17bcb4933f36
--- /dev/null
+++ b/packages/frontend/src/pages/tms/features.form.vue
@@ -0,0 +1,106 @@
+
+
+
+
+
+ {{ i18n.ts._tms.taiymeFeaturesDescription }} {{ i18n.ts.learnMore }}
+
+
+
+ {{ i18n.ts.appearance }}
+
+
+
+
+
+
+ {{ i18n.ts._tms._features._tickerPosition.label }}
+ {{ i18n.ts.modified }}
+
+
+
+
+
+
+
+
+
+ {{ i18n.ts._tms._features._superMenuDisplayMode.label }}
+ {{ i18n.ts.modified }}
+
+ {{ i18n.ts._tms._features._superMenuDisplayMode.caption }}
+
+
+
+
+
+
+
+
+ {{ i18n.ts.operations }}
+
+
+
+
+
+
+ {{ i18n.ts._tms._features._pullToRefreshSensitivity.label }}
+ {{ i18n.ts.modified }}
+
+ {{ i18n.ts._tms._features._pullToRefreshSensitivity.caption }}
+
+
+
+
+
+
+ {{ i18n.ts._tms._features._pullToRefreshAllReload.label }}
+ {{ i18n.ts.modified }}
+
+ {{ i18n.ts._tms._features._pullToRefreshAllReload.caption }}
+
+
+
+ {{ i18n.ts._tms._features._preventLongPressContextMenu.label }}
+ {{ i18n.ts.experimentalFeatures }}
+ {{ i18n.ts.modified }}
+
+ {{ i18n.ts._tms._features._preventLongPressContextMenu.caption }}
+
+
+
+
+
+
+
diff --git a/packages/frontend/src/pages/tms/features.vue b/packages/frontend/src/pages/tms/features.vue
new file mode 100644
index 000000000000..4d7e7d7550bc
--- /dev/null
+++ b/packages/frontend/src/pages/tms/features.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/frontend/src/pages/tms/flags/index.main.vue b/packages/frontend/src/pages/tms/flags/index.main.vue
deleted file mode 100644
index a0778252c5b2..000000000000
--- a/packages/frontend/src/pages/tms/flags/index.main.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
- {{ i18n.ts._tms._flags._preventLongPressContextMenu.label }}
- {{ i18n.ts._tms._flags._preventLongPressContextMenu.caption }}
-
-
-
-
- For developer
-
-
- ForceFetchX
-
- {{ i18n.tsx._tms._flags.forceFetchX({ x: `${lang}.${version}.json` }) }}
-
-
-
- OpenX
-
- {{ i18n.tsx._tms._flags.openX({ x: 'MkUpdated' }) }}
- {{ i18n.tsx._tms._flags.openX({ x: 'MkDonation' }) }}
-
-
-
-
-
-
-
-
diff --git a/packages/frontend/src/pages/tms/flags/index.vue b/packages/frontend/src/pages/tms/flags/index.vue
deleted file mode 100644
index a6dc29977647..000000000000
--- a/packages/frontend/src/pages/tms/flags/index.vue
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
{{ i18n.ts._tms._flags.description }}
-
{{ i18n.tsx._tms._flags.warning({ name: instance.name ?? host }) }}
-
{{ i18n.ts._tms.reportIssuesToGithub }} {{ i18n.ts.learnMore }}
-
-
-
-
-
{{ i18n.ts._tms.taiymeSettings }}
-
-
-
-
-
-
- {{ i18n.ts.save }}
-
-
-
-
-
-
-
-
-
diff --git a/packages/frontend/src/pages/tms/settings/index.main.vue b/packages/frontend/src/pages/tms/settings/index.main.vue
deleted file mode 100644
index 4dd0b2d70537..000000000000
--- a/packages/frontend/src/pages/tms/settings/index.main.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
- {{ i18n.ts.appearance }}
-
-
- {{ i18n.ts._tms._settings._tickerPosition.label }}
-
-
-
-
-
-
-
- {{ i18n.ts._tms._settings._superMenuDisplayMode.label }}
- {{ i18n.ts._tms._settings._superMenuDisplayMode.caption }}
-
-
-
-
-
-
-
- {{ i18n.ts.operations }}
-
-
- {{ i18n.ts._tms._settings._pullToRefreshSensitivity.label }}
- {{ i18n.ts._tms._settings._pullToRefreshSensitivity.caption }}
-
-
-
-
-
- {{ i18n.ts._tms._settings._pullToRefreshAllReload.label }}
- {{ i18n.ts._tms._settings._pullToRefreshAllReload.caption }}
-
-
-
-
-
-
-
diff --git a/packages/frontend/src/pages/tms/settings/index.vue b/packages/frontend/src/pages/tms/settings/index.vue
deleted file mode 100644
index 079d77050d23..000000000000
--- a/packages/frontend/src/pages/tms/settings/index.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ i18n.ts._tms.taiymeFlags }}
-
-
-
-
-
-
- {{ i18n.ts.save }}
-
-
-
-
-
-
-
-
-
diff --git a/packages/frontend/src/router/definition.ts b/packages/frontend/src/router/definition.ts
index 31e9c6491910..002b2871cc15 100644
--- a/packages/frontend/src/router/definition.ts
+++ b/packages/frontend/src/router/definition.ts
@@ -579,17 +579,21 @@ const routes: RouteDef[] = [{
}, {
path: '/tms/about',
component: page(() => import('@/pages/tms/about.vue')),
+}, {
+ path: '/tms/features',
+ component: page(() => import('@/pages/tms/features.vue')),
+ loginRequired: true,
}, {
path: '/tms/settings',
- component: page(() => import('@/pages/tms/settings/index.vue')),
+ redirect: '/tms/features',
loginRequired: true,
}, {
path: '/tms/flags',
- component: page(() => import('@/pages/tms/flags/index.vue')),
+ redirect: '/tms/features',
loginRequired: true,
}, {
path: '/settings/taiyme-services',
- redirect: '/tms/settings',
+ redirect: '/tms/features',
loginRequired: true,
}, {
name: 'index',
diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss
index bf42969ad258..eece78a6cb48 100644
--- a/packages/frontend/src/style.scss
+++ b/packages/frontend/src/style.scss
@@ -383,6 +383,8 @@ rt {
border: solid 1px var(--MI_THEME-accent);
border-radius: 4px;
vertical-align: top;
+ display: inline-block;
+ line-height: 1;
}
._modified {
@@ -393,6 +395,8 @@ rt {
border: solid 1px var(--MI_THEME-warn);
border-radius: 4px;
vertical-align: top;
+ display: inline-block;
+ line-height: 1;
}
._table {
diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts
index 1b71027bf1cd..f589fcd6f914 100644
--- a/packages/frontend/src/ui/_common_/common.ts
+++ b/packages/frontend/src/ui/_common_/common.ts
@@ -157,9 +157,9 @@ export function openInstanceMenu(ev: MouseEvent) {
to: '/tms/about',
}, {
type: 'link',
- text: i18n.ts._tms.taiymeSettings,
+ text: i18n.ts._tms.taiymeFeatures,
icon: 'ti ti-settings',
- to: '/tms/settings',
+ to: '/tms/features',
});
os.popupMenu(menuItems, ev.currentTarget ?? ev.target, {