refactor: remove internal apps page

This commit is contained in:
ThatOneCalculator 2023-05-07 18:49:56 -07:00
parent 3dce8786ef
commit 07ff19008a
13 changed files with 3 additions and 298 deletions

View File

@ -2022,23 +2022,6 @@ _relayStatus:
requesting: Pendent requesting: Pendent
accepted: Acceptat accepted: Acceptat
rejected: Rebutjat rejected: Rebutjat
_apps:
crossPlatform: Multiplataforma
mobile: Mòbil
firstParty: Primer partit
secondClass: Segona classe
thirdClass: Tercera classe
pwa: Instal·lar PWA
kaiteki: Kaiteki
milktea: Milktea
missLi: MissLi
mona: Mona
lesskey: Lesskey
firstClass: Primera classe
free: Gratuït
paid: Pagament
theDesk: TheDesk
apps: Aplicacions
deleted: Esborrat deleted: Esborrat
editNote: Edita la nota editNote: Edita la nota
edited: Editat edited: Editat

View File

@ -1961,16 +1961,6 @@ cannotUploadBecauseExceedsFileSizeLimit: Die Datei konnte nicht hochgeladen werd
da sie die maximal zulässige Größe überschreitet da sie die maximal zulässige Größe überschreitet
moveFromLabel: 'Nutzerkonto von dem Sie umziehen:' moveFromLabel: 'Nutzerkonto von dem Sie umziehen:'
moveAccount: Nutzerkonto umziehen! moveAccount: Nutzerkonto umziehen!
_apps:
mona: Mona
missLi: MissLi
thirdClass: Drittrangig
milktea: Milktea
theDesk: TheDesk
lesskey: Lesskey
mobile: Mobilgeräte
paid: Zahlungspflichtige
free: Kostenlose
defaultReaction: Standard-Emoji-Reaktion für ausgehende und eingehende Beiträge defaultReaction: Standard-Emoji-Reaktion für ausgehende und eingehende Beiträge
moveTo: Umzug des Nutzerkontos zu einem neuen Nutzerkonto moveTo: Umzug des Nutzerkontos zu einem neuen Nutzerkonto
moveToLabel: 'Nutzerkonto zu dem sie umziehen:' moveToLabel: 'Nutzerkonto zu dem sie umziehen:'

View File

@ -1997,20 +1997,3 @@ _deck:
list: "List" list: "List"
mentions: "Mentions" mentions: "Mentions"
direct: "Direct messages" direct: "Direct messages"
_apps:
apps: "Apps"
crossPlatform: "Cross platform"
mobile: "Mobile"
firstParty: "First party"
firstClass: "First class"
secondClass: "Second class"
thirdClass: "Third class"
free: "Free"
paid: "Paid"
pwa: "Install PWA"
kaiteki: "Kaiteki"
milktea: "Milktea"
missLi: "MissLi"
mona: "Mona"
theDesk: "TheDesk"
lesskey: "Lesskey"

View File

@ -1900,18 +1900,6 @@ moveFrom: Mueve a esta cuenta de una cuenta antigua
moveFromLabel: 'La cuenta que estás moviendo de:' moveFromLabel: 'La cuenta que estás moviendo de:'
moveAccountDescription: '' moveAccountDescription: ''
license: Licencia license: Licencia
_apps:
apps: Aplicaciones
crossPlatform: Plataforma Cruzada
mobile: Teléfono móvil
secondClass: Segunda clase
lesskey: ''
firstClass: Primera clase
thirdClass: Tercera clase
theDesk: ''
pwa: Instalar PWA
free: Gratis
paid: Pagado
noThankYou: No gracias noThankYou: No gracias
userSaysSomethingReason: '{name} dijo {reason}' userSaysSomethingReason: '{name} dijo {reason}'
hiddenTags: Etiquetas Ocultas hiddenTags: Etiquetas Ocultas

View File

@ -1837,23 +1837,6 @@ _deck:
list: "リスト" list: "リスト"
mentions: "あなた宛て" mentions: "あなた宛て"
direct: "ダイレクト" direct: "ダイレクト"
_apps:
apps: "アプリ"
crossPlatform: "クロスプラットフォーム"
mobile: "モバイル"
firstParty: "ファーストパーティ"
firstClass: "対応度◎"
secondClass: "対応度○"
thirdClass: "対応度△"
free: "無料"
paid: "有料"
pwa: "PWAをインストール"
kaiteki: "Kaiteki"
milktea: "Milktea"
missLi: "MissLi"
mona: "Mona"
theDesk: "TheDesk"
lesskey: "Lesskey"
noteId: 投稿のID noteId: 投稿のID
hiddenTagsDescription: 'トレンドと「みつける」から除外したいハッシュタグを(先頭の # を除いて)改行区切りで入力してください。この設定はトレンドと「みつける」以外には影響しません。' hiddenTagsDescription: 'トレンドと「みつける」から除外したいハッシュタグを(先頭の # を除いて)改行区切りで入力してください。この設定はトレンドと「みつける」以外には影響しません。'
hiddenTags: 非表示にするハッシュタグ hiddenTags: 非表示にするハッシュタグ

View File

@ -1894,23 +1894,6 @@ indexNotice: Indeksuję. Zapewne zajmie to chwilę, nie restartuj serwera przez
customKaTeXMacro: Niestandardowe makra KaTeX customKaTeXMacro: Niestandardowe makra KaTeX
enableCustomKaTeXMacro: Włącz niestandardowe makra KaTeX enableCustomKaTeXMacro: Włącz niestandardowe makra KaTeX
noteId: ID wpisu noteId: ID wpisu
_apps:
apps: Aplikacje
crossPlatform: Wieloplatformowe
mobile: Mobilne
firstParty: Oficjalne
firstClass: Pierwszej klasy
secondClass: Drugiej klasy
thirdClass: Trzeciej klasy
free: Darmowe
paid: Płatne
pwa: Zainstaluj PWA
kaiteki: Kaiteki
milktea: Milktea
missLi: MissLi
mona: Mona
theDesk: TheDesk
lesskey: Lesskey
hiddenTagsDescription: 'Wypisz tagi (bez #) hashtagów które masz zamiar ukryć z "Na hiddenTagsDescription: 'Wypisz tagi (bez #) hashtagów które masz zamiar ukryć z "Na
czasie" i "Eksploruj". Na ukryte hashtagi można dalej wejść innymi sposobami.' czasie" i "Eksploruj". Na ukryte hashtagi można dalej wejść innymi sposobami.'
proxyAccountDescription: Konto proxy jest kontem które w określonych sytuacjach zachowuje proxyAccountDescription: Konto proxy jest kontem które w określonych sytuacjach zachowuje

View File

@ -1937,23 +1937,6 @@ _preferencesBackups:
cannotLoad: Загрузка не удалась cannotLoad: Загрузка не удалась
invalidFile: Неправильный формат файла invalidFile: Неправильный формат файла
enableEmojiReactions: Включить эмодзи реакции enableEmojiReactions: Включить эмодзи реакции
_apps:
paid: Платные
lesskey: Lesskey
pwa: Установить PWA
free: Бесплатные
apps: Приложения
crossPlatform: Кроссплатформенные
mobile: Мобильные
firstParty: От разработчиков
firstClass: Первый класс
thirdClass: Третий класс
kaiteki: Kaiteki
milktea: Milktea
missLi: MissLi
mona: Mona
theDesk: TheDesk
secondClass: Второй класс
migrationConfirm: "Вы абсолютно уверены что хотите мигрировать ваш аккаунт на {account}?\ migrationConfirm: "Вы абсолютно уверены что хотите мигрировать ваш аккаунт на {account}?\
\ Как только вы сделаете, вы не сможете отменить это и не сможете нормально использовать\ \ Как только вы сделаете, вы не сможете отменить это и не сможете нормально использовать\
\ аккаунт снова.\nТакже, пожалуйста, убедитесь, что вы установили эту текущую учетную\ \ аккаунт снова.\nТакже, пожалуйста, убедитесь, что вы установили эту текущую учетную\

View File

@ -1790,10 +1790,6 @@ moveAccountDescription: '這個過程是不可逆的。 在遷移前,請確保
moveFrom: 由舊帳戶移至此帳戶 moveFrom: 由舊帳戶移至此帳戶
moveFromDescription: '這將為你的舊帳戶設置一個別名(Alias),以便你可以從該帳戶轉移到當前帳戶。 在你的舊帳戶移動之前請執行此操作。 請輸入帳戶標籤 moveFromDescription: '這將為你的舊帳戶設置一個別名(Alias),以便你可以從該帳戶轉移到當前帳戶。 在你的舊帳戶移動之前請執行此操作。 請輸入帳戶標籤
(格式: @person@instance.com)' (格式: @person@instance.com)'
_apps:
crossPlatform: 跨平台
free: 免費
paid: 付費
enableEmojiReactions: 啟用表情符號反應 enableEmojiReactions: 啟用表情符號反應
breakFollowConfirm: 您確定要移除該關注者嗎? breakFollowConfirm: 您確定要移除該關注者嗎?
socialTimeline: 社交時間軸 socialTimeline: 社交時間軸

View File

@ -9,7 +9,6 @@
}, },
"devDependencies": { "devDependencies": {
"@discordapp/twemoji": "14.0.2", "@discordapp/twemoji": "14.0.2",
"@khmyznikov/pwa-install": "^0.2.0",
"@phosphor-icons/web": "^2.0.3", "@phosphor-icons/web": "^2.0.3",
"@rollup/plugin-alias": "3.1.9", "@rollup/plugin-alias": "3.1.9",
"@rollup/plugin-json": "4.1.0", "@rollup/plugin-json": "4.1.0",

View File

@ -1,126 +0,0 @@
<template>
<MkStickyContainer>
<template #header
><MkPageHeader :actions="headerActions" :tabs="headerTabs"
/></template>
<div style="overflow: clip">
<MkSpacer :content-max="600" :margin-min="20">
<div class="_formRoot">
<FormSection>
<template #label>{{
i18n.ts._apps.crossPlatform
}}</template>
<div class="_formBlock" style="text-align: center">
<pwa-install />
<MkButton
primary
rounded
inline
@click="installPwa"
>{{ i18n.ts._apps.pwa }}</MkButton
>
</div>
<div class="_formLinks">
<FormLink to="https://kaiteki.app" external>
<template #icon>
<i class="ph-android-logo ph-bold ph-xl" />
<i class="ph-windows-logo ph-bold ph-xl" />
<i class="ph-linux-logo ph-bold ph-xl" />
</template>
{{ i18n.ts._apps.kaiteki }}
<template #suffix
>{{ i18n.ts._apps.firstClass }},
{{ i18n.ts._apps.free }}</template
>
</FormLink>
</div>
</FormSection>
<FormSection>
<template #label>{{ i18n.ts._apps.mobile }}</template>
<div class="_formLinks">
<FormLink
to="https://play.google.com/store/apps/details?id=jp.panta.misskeyandroidclient"
external
>
<template #icon>
<i class="ph-android-logo ph-bold ph-xl" />
</template>
{{ i18n.ts._apps.milktea }}
<template #suffix
>{{ i18n.ts._apps.firstClass }},
{{ i18n.ts._apps.free }}</template
>
</FormLink>
<FormLink
to="https://testflight.apple.com/join/xNdgUbh6"
external
>
<template #icon>
<i class="ph-apple-logo ph-bold ph-xl" />
</template>
{{ i18n.ts._apps.mona }}
<template #suffix
>{{ i18n.ts._apps.thirdClass }},
{{ i18n.ts._apps.free }}</template
>
</FormLink>
</div>
</FormSection>
<FormSection>
<template #label>{{ i18n.ts.desktop }}</template>
<div class="_formLinks">
<FormLink to="https://thedesk.top/" external>
<template #icon>
<i class="ph-apple-logo ph-bold ph-xl" />
<i class="ph-windows-logo ph-bold ph-xl" />
<i class="ph-linux-logo ph-bold ph-xl" />
</template>
{{ i18n.ts._apps.theDesk }}
<template #suffix
>{{ i18n.ts._apps.secondClass }},
{{ i18n.ts._apps.free }}</template
>
</FormLink>
<FormLink
to="https://uboar.github.io/missli/"
external
>
<template #icon>
<i class="ph-globe ph-bold ph-xl" />
</template>
{{ i18n.ts._apps.missLi }}
<template #suffix
>{{ i18n.ts._apps.secondClass }},
{{ i18n.ts._apps.free }}</template
>
</FormLink>
</div>
</FormSection>
</div>
</MkSpacer>
</div>
</MkStickyContainer>
</template>
<script lang="ts" setup>
import FormLink from "@/components/form/link.vue";
import FormSection from "@/components/form/section.vue";
import MkButton from "@/components/MkButton.vue";
import { i18n } from "@/i18n";
import { definePageMetadata } from "@/scripts/page-metadata";
import "@khmyznikov/pwa-install";
const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);
function installPwa(ev: MouseEvent) {
const pwaInstall = document.getElementsByTagName("pwa-install")[0];
pwaInstall.showDialog();
}
definePageMetadata({
title: i18n.ts._apps.apps,
icon: null,
});
</script>

View File

@ -195,11 +195,6 @@ export const routes = [
name: "api", name: "api",
component: page(() => import("./pages/settings/api.vue")), component: page(() => import("./pages/settings/api.vue")),
}, },
{
path: "/apps",
name: "api",
component: page(() => import("./pages/settings/apps.vue")),
},
{ {
path: "/webhook/edit/:webhookId", path: "/webhook/edit/:webhookId",
name: "webhook", name: "webhook",

View File

@ -28,7 +28,7 @@ export function openHelpMenu_(ev: MouseEvent) {
type: "link", type: "link",
text: i18n.ts._apps.apps, text: i18n.ts._apps.apps,
icon: "ph-device-mobile ph-bold ph-lg", icon: "ph-device-mobile ph-bold ph-lg",
to: "/apps", to: "https://calckey.org/apps",
}, },
{ {
type: "button", type: "button",

View File

@ -656,9 +656,6 @@ importers:
'@discordapp/twemoji': '@discordapp/twemoji':
specifier: 14.0.2 specifier: 14.0.2
version: 14.0.2 version: 14.0.2
'@khmyznikov/pwa-install':
specifier: ^0.2.0
version: 0.2.0
'@phosphor-icons/web': '@phosphor-icons/web':
specifier: ^2.0.3 specifier: ^2.0.3
version: 2.0.3 version: 2.0.3
@ -2116,13 +2113,6 @@ packages:
'@jridgewell/resolve-uri': 3.1.0 '@jridgewell/resolve-uri': 3.1.0
'@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/sourcemap-codec': 1.4.14
/@khmyznikov/pwa-install@0.2.0:
resolution: {integrity: sha512-Lz8lvCf47/DCVzXgLyCGt46HDpie2U/lga++vOgVwil3B8bSMj8fL1+a/8oBhDikHjtLKinTCMf0jZvgW2xCZQ==}
dependencies:
'@lit/localize': 0.11.4
lit: 2.6.1
dev: true
/@koa/cors@3.4.3: /@koa/cors@3.4.3:
resolution: {integrity: sha512-WPXQUaAeAMVaLTEFpoq3T2O1C+FstkjJnDQqy95Ck1UdILajsRhu6mhJ8H2f4NFPRBoCNN+qywTJfq/gGki5mw==} resolution: {integrity: sha512-WPXQUaAeAMVaLTEFpoq3T2O1C+FstkjJnDQqy95Ck1UdILajsRhu6mhJ8H2f4NFPRBoCNN+qywTJfq/gGki5mw==}
engines: {node: '>= 8.0.0'} engines: {node: '>= 8.0.0'}
@ -2156,23 +2146,6 @@ packages:
resolution: {integrity: sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==} resolution: {integrity: sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==}
dev: true dev: true
/@lit-labs/ssr-dom-shim@1.0.0:
resolution: {integrity: sha512-ic93MBXfApIFTrup4a70M/+ddD8xdt2zxxj9sRwHQzhS9ag/syqkD8JPdTXsc1gUy2K8TTirhlCqyTEM/sifNw==}
dev: true
/@lit/localize@0.11.4:
resolution: {integrity: sha512-RRIwIX2tAm3+DuEndoXSJrFjGrAK5cb5IXo5K6jcJ6sbgD829B8rSqHC5MaKVUmXTVLIR1bk5IZOZDf9wFereA==}
dependencies:
'@lit/reactive-element': 1.6.1
lit: 2.6.1
dev: true
/@lit/reactive-element@1.6.1:
resolution: {integrity: sha512-va15kYZr7KZNNPZdxONGQzpUr+4sxVu7V/VG7a8mRfPPXUyhEYj5RzXCQmGrlP3tAh0L3HHm5AjBMFYRqlM9SA==}
dependencies:
'@lit-labs/ssr-dom-shim': 1.0.0
dev: true
/@mapbox/node-pre-gyp@1.0.10: /@mapbox/node-pre-gyp@1.0.10:
resolution: {integrity: sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA==} resolution: {integrity: sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA==}
hasBin: true hasBin: true
@ -3622,10 +3595,6 @@ packages:
resolution: {integrity: sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw==} resolution: {integrity: sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw==}
dev: true dev: true
/@types/trusted-types@2.0.2:
resolution: {integrity: sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==}
dev: true
/@types/undertaker-registry@1.0.1: /@types/undertaker-registry@1.0.1:
resolution: {integrity: sha512-Z4TYuEKn9+RbNVk1Ll2SS4x1JeLHecolIbM/a8gveaHsW0Hr+RQMraZACwTO2VD7JvepgA6UO1A1VrbktQrIbQ==} resolution: {integrity: sha512-Z4TYuEKn9+RbNVk1Ll2SS4x1JeLHecolIbM/a8gveaHsW0Hr+RQMraZACwTO2VD7JvepgA6UO1A1VrbktQrIbQ==}
dev: true dev: true
@ -9810,7 +9779,7 @@ packages:
/jsonfile@4.0.0: /jsonfile@4.0.0:
resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}
optionalDependencies: optionalDependencies:
graceful-fs: 4.2.10 graceful-fs: 4.2.11
/jsonfile@5.0.0: /jsonfile@5.0.0:
resolution: {integrity: sha512-NQRZ5CRo74MhMMC3/3r5g2k4fjodJ/wh8MxjFbCViWKFjxrnudWSY5vomh+23ZaXzAS7J3fBZIR2dV6WbmfM0w==} resolution: {integrity: sha512-NQRZ5CRo74MhMMC3/3r5g2k4fjodJ/wh8MxjFbCViWKFjxrnudWSY5vomh+23ZaXzAS7J3fBZIR2dV6WbmfM0w==}
@ -9824,7 +9793,7 @@ packages:
dependencies: dependencies:
universalify: 2.0.0 universalify: 2.0.0
optionalDependencies: optionalDependencies:
graceful-fs: 4.2.10 graceful-fs: 4.2.11
dev: true dev: true
/jsonld@6.0.0: /jsonld@6.0.0:
@ -10263,27 +10232,6 @@ packages:
wrap-ansi: 7.0.0 wrap-ansi: 7.0.0
dev: true dev: true
/lit-element@3.2.2:
resolution: {integrity: sha512-6ZgxBR9KNroqKb6+htkyBwD90XGRiqKDHVrW/Eh0EZ+l+iC+u+v+w3/BA5NGi4nizAVHGYvQBHUDuSmLjPp7NQ==}
dependencies:
'@lit/reactive-element': 1.6.1
lit-html: 2.6.1
dev: true
/lit-html@2.6.1:
resolution: {integrity: sha512-Z3iw+E+3KKFn9t2YKNjsXNEu/LRLI98mtH/C6lnFg7kvaqPIzPn124Yd4eT/43lyqrejpc5Wb6BHq3fdv4S8Rw==}
dependencies:
'@types/trusted-types': 2.0.2
dev: true
/lit@2.6.1:
resolution: {integrity: sha512-DT87LD64f8acR7uVp7kZfhLRrHkfC/N4BVzAtnw9Yg8087mbBJ//qedwdwX0kzDbxgPccWRW6mFwGbRQIxy0pw==}
dependencies:
'@lit/reactive-element': 1.6.1
lit-element: 3.2.2
lit-html: 2.6.1
dev: true
/load-json-file@1.1.0: /load-json-file@1.1.0:
resolution: {integrity: sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==} resolution: {integrity: sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}