From 09450ba544ea6f20c0d8f66dc81be69cac0bb9e6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Aug 2021 22:35:22 +0900 Subject: [PATCH 01/18] Update troubleshooting.md --- src/docs/ja-JP/general/troubleshooting.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/docs/ja-JP/general/troubleshooting.md b/src/docs/ja-JP/general/troubleshooting.md index 508e9dd70c..55302cc8f8 100644 --- a/src/docs/ja-JP/general/troubleshooting.md +++ b/src/docs/ja-JP/general/troubleshooting.md @@ -25,6 +25,11 @@ - お使いのブラウザの設定でハードウェアアクセラレーションを有効にする - お使いのデバイスのスペックを上げる +## UIの一部の表示がおかしい(背景が透明になっている等) +アップデートによりUIの改修が行われたときに、テーマのキャッシュシステムの影響でそのような表示になることがあります。 +クライアントの設定の「キャッシュをクリア」すると直ります。 +
⚠️ 「クライアントの」キャッシュクリアです。「ブラウザの」キャッシュクリアは行わないでください。
+ ## 通知やアンテナ等の点滅が消えない 点滅は、未読のコンテンツがあることを示しています。通常点滅が消えない場合は、コンテンツを遡ると未読なコンテンツが残っています。 すべて既読にしたと思われるのに、それでもなお点滅が続く場合(おそらく不具合と思われます)は設定から強制的にすべて既読扱いにすることができます。 From c30f02ae4c046b73b94c437be5912fa5e94684b7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 15:07:15 +0900 Subject: [PATCH 02/18] Update vue to 3.2.1 --- package.json | 4 +- src/client/scripts/paging.ts | 12 +++- yarn.lock | 106 +++++++++++++++++------------------ 3 files changed, 65 insertions(+), 57 deletions(-) diff --git a/package.json b/package.json index 45f74ef0be..b4dfcfb6da 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@types/websocket": "1.0.3", "@types/ws": "7.4.6", "@typescript-eslint/parser": "4.28.3", - "@vue/compiler-sfc": "3.1.5", + "@vue/compiler-sfc": "3.2.1", "abort-controller": "3.0.0", "apexcharts": "3.27.2", "autobind-decorator": "2.4.0", @@ -238,7 +238,7 @@ "uuid": "8.3.2", "v-debounce": "0.1.2", "vanilla-tilt": "1.7.0", - "vue": "3.1.5", + "vue": "3.2.1", "vue-color": "2.8.1", "vue-json-pretty": "1.8.1", "vue-loader": "16.3.1", diff --git a/src/client/scripts/paging.ts b/src/client/scripts/paging.ts index 194c2e8003..1da518efa1 100644 --- a/src/client/scripts/paging.ts +++ b/src/client/scripts/paging.ts @@ -201,7 +201,11 @@ export default (opts) => ({ if (isBottom) { // オーバーフローしたら古いアイテムは捨てる if (this.items.length >= opts.displayLimit) { - this.items = this.items.slice(-opts.displayLimit); + // このやり方だとVue 3.2以降アニメーションが動かなくなる + //this.items = this.items.slice(-opts.displayLimit); + while (this.items.length >= opts.displayLimit) { + this.items.shift(); + } this.more = true; } } @@ -216,7 +220,11 @@ export default (opts) => ({ // オーバーフローしたら古いアイテムは捨てる if (this.items.length >= opts.displayLimit) { - this.items = this.items.slice(0, opts.displayLimit); + // このやり方だとVue 3.2以降アニメーションが動かなくなる + //this.items = this.items.slice(0, opts.displayLimit); + while (this.items.length >= opts.displayLimit) { + this.items.pop(); + } this.more = true; } } else { diff --git a/yarn.lock b/yarn.lock index 60f6d11ba8..131892cd2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1312,37 +1312,37 @@ resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== -"@vue/compiler-core@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.5.tgz#298f905b6065d6d81ff63756f98c60876b393c87" - integrity sha512-TXBhFinoBaXKDykJzY26UEuQU1K07FOp/0Ie+OXySqqk0bS0ZO7Xvl7UmiTUPYcLrWbxWBR7Bs/y55AI0MNc2Q== +"@vue/compiler-core@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.1.tgz#8e13232f7aef8e308fb2d4a10571a5640257064b" + integrity sha512-UEJf2ZGww5wGVdrWIXIZo04KdJFGPmI2bHRUsBZ3AdyCAqJ5ykRXKOBn1OR1hvA2YzimudOEyHM+DpbBv91Kww== dependencies: "@babel/parser" "^7.12.0" "@babel/types" "^7.12.0" - "@vue/shared" "3.1.5" + "@vue/shared" "3.2.1" estree-walker "^2.0.1" source-map "^0.6.1" -"@vue/compiler-dom@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.5.tgz#cbb97020c62a5faa3fbc2a97916bd98041ac9856" - integrity sha512-ZsL3jqJ52OjGU/YiT/9XiuZAmWClKInZM2aFJh9gnsAPqOrj2JIELMbkIFpVKR/CrVO/f2VxfPiiQdQTr65jcQ== +"@vue/compiler-dom@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.1.tgz#5cc68873f1928c7b9aee8c8a2846f7f362cb1ab9" + integrity sha512-tXg8tkPb3j54zNfWqoao9T1JI41yWPz8TROzmif/QNNA46eq8/SRuRsBd36i47GWaz7mh+yg3vOJ87/YBjcMyQ== dependencies: - "@vue/compiler-core" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/compiler-core" "3.2.1" + "@vue/shared" "3.2.1" -"@vue/compiler-sfc@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.5.tgz#e61e54f3a963b0f4a8e523fbb8632390dc52b0d6" - integrity sha512-mtMY6xMvZeSRx9MTa1+NgJWndrkzVTdJ1pQAmAKQuxyb5LsHVvrgP7kcQFvxPHVpLVTORbTJWHaiqoKrJvi1iA== +"@vue/compiler-sfc@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.1.tgz#7809b298cf0fbce62a2c628b7dfc1e82dd9a3a9b" + integrity sha512-fVLdme5RZVkBt+jxv2LCSRM72o4FX7BR2eu2FpjjEi1kEtUMKBDnjKwGWy7TyhTju0t0CocctyoM+G56vH7NpQ== dependencies: "@babel/parser" "^7.13.9" "@babel/types" "^7.13.0" "@types/estree" "^0.0.48" - "@vue/compiler-core" "3.1.5" - "@vue/compiler-dom" "3.1.5" - "@vue/compiler-ssr" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/compiler-core" "3.2.1" + "@vue/compiler-dom" "3.2.1" + "@vue/compiler-ssr" "3.2.1" + "@vue/shared" "3.2.1" consolidate "^0.16.0" estree-walker "^2.0.1" hash-sum "^2.0.0" @@ -1354,42 +1354,42 @@ postcss-selector-parser "^6.0.4" source-map "^0.6.1" -"@vue/compiler-ssr@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.5.tgz#f068652774293256a1e53084bed48a67682df9d2" - integrity sha512-CU5N7Di/a4lyJ18LGJxJYZS2a8PlLdWpWHX9p/XcsjT2TngMpj3QvHVRkuik2u8QrIDZ8OpYmTyj1WDNsOV+Dg== +"@vue/compiler-ssr@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.1.tgz#f900762f83482e44e9260c2322e3d332c711826c" + integrity sha512-6YAOtQunuEyYlVSjK1F7a7BXi7rxVfiTiJ0Ro7eq0q0MNCFV9Z+sN68lfa/E4ABVb0ledEY/Rt8kL23nwCoTCQ== dependencies: - "@vue/compiler-dom" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/compiler-dom" "3.2.1" + "@vue/shared" "3.2.1" -"@vue/reactivity@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.5.tgz#dbec4d9557f7c8f25c2635db1e23a78a729eb991" - integrity sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg== +"@vue/reactivity@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.1.tgz#0e71d4ee00b0d0ca6a6141966c30b68b3f685002" + integrity sha512-4Lja2KmyiKvuraDed6dXK2A6+r/7x7xGDA7vVR2Aqc8hQVu0+FWeVX+IBfiVOSpbZXFlHLNmCBFkbuWLQSlgxg== dependencies: - "@vue/shared" "3.1.5" + "@vue/shared" "3.2.1" -"@vue/runtime-core@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.5.tgz#a545b7f146092929cb5e833e85439150f17ac87b" - integrity sha512-YQbG5cBktN1RowQDKA22itmvQ+b40f0WgQ6CXK4VYoYICAiAfu6Cc14777ve8zp1rJRGtk5oIeS149TOculrTg== +"@vue/runtime-core@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.1.tgz#39641110b2f84fdda3b80b86830827b7b5ef041a" + integrity sha512-IsgelRM/5hYeRhz5+ECi66XvYDdjG2t4lARjHvCXw5s9Q4N6uIbjLMwtLzAWRxYf3/y258BrD+ehxAi943ScJg== dependencies: - "@vue/reactivity" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/reactivity" "3.2.1" + "@vue/shared" "3.2.1" -"@vue/runtime-dom@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.5.tgz#4fa28947d408aa368fa17ea0edc1beb9af1472a1" - integrity sha512-tNcf3JhVR0RfW0kw1p8xZgv30nvX8Y9rsz7eiQ0dHe273sfoCngAG0y4GvMaY4Xd8FsjUwFedd4suQ8Lu8meXg== +"@vue/runtime-dom@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.1.tgz#087cf36f40ad0869712c4154693c620e478061a8" + integrity sha512-bUAHUSe49A5wYdHQ8wsLU1CMPXaG2fRuv2661mx/6Q9+20QxglT3ss8ZeL6AVRu16JNJMcdvTTsNpbnMbVc/lQ== dependencies: - "@vue/runtime-core" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/runtime-core" "3.2.1" + "@vue/shared" "3.2.1" csstype "^2.6.8" -"@vue/shared@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.5.tgz#74ee3aad995d0a3996a6bb9533d4d280514ede03" - integrity sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA== +"@vue/shared@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.1.tgz#1f1fe26fe0334404cce10740b5ffb2654f1281aa" + integrity sha512-INN92dVBNgd0TW9BqfQQKx/HWGCHhUUbAV5EZ5FgSCiEdwuZsJbGt1mdnaD9IxGhpiyOjP2ClxGG8SFp7ELcWg== "@webassemblyjs/ast@1.11.0": version "1.11.0" @@ -11591,14 +11591,14 @@ vue-svg-loader@0.17.0-beta.2: semver "^7.3.2" svgo "^1.3.2" -vue@3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.5.tgz#12879b11d0685ee4478c8869551799630a52f9fe" - integrity sha512-Ho7HNb1nfDoO+HVb6qYZgeaobt1XbY6KXFe4HGs1b9X6RhkWG/113n4/SrtM1LUclM6OrP/Se5aPHHvAPG1iVQ== +vue@3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.1.tgz#30dde152f2fdad0669ea9854d5a90a00ef96974b" + integrity sha512-0jhXluF5mzTAK5bXw/8yq4McvsI8HwEWI4cnQwJeN8NYGRbwh9wwuE4FNv1Kej9pxBB5ajTNsWr0M6DPs5EJZg== dependencies: - "@vue/compiler-dom" "3.1.5" - "@vue/runtime-dom" "3.1.5" - "@vue/shared" "3.1.5" + "@vue/compiler-dom" "3.2.1" + "@vue/runtime-dom" "3.2.1" + "@vue/shared" "3.2.1" vuedraggable@4.0.1: version "4.0.1" From ea6b8b599f28edc761fd8b18e4320afaaf99784c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 15:28:01 +0900 Subject: [PATCH 03/18] Update html comment --- src/server/web/views/base.pug | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/server/web/views/base.pug b/src/server/web/views/base.pug index 8992f96db9..42c068c403 100644 --- a/src/server/web/views/base.pug +++ b/src/server/web/views/base.pug @@ -2,11 +2,16 @@ block vars doctype html -!= '\n' -!= '\n' -!= '\n' -!= '' -!= '\n' +!= '\n' html From f4f8debb92050363e54601b5bd257d413672e0b0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 15:29:30 +0900 Subject: [PATCH 04/18] :art: --- src/client/components/post-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 969f8563a4..82d28f30e8 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -45,7 +45,7 @@ - + From e19cc8bebfdc4a4de9a0456c063612eaa9c88a34 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 16:06:14 +0900 Subject: [PATCH 05/18] =?UTF-8?q?=E3=83=8F=E3=83=83=E3=82=B7=E3=83=A5?= =?UTF-8?q?=E3=82=BF=E3=82=B0=E5=85=A5=E5=8A=9B=E3=81=8C=E7=A9=BA=E3=81=AE?= =?UTF-8?q?=E3=81=A8=E3=81=8D=E3=81=AB#=E3=81=8C=E4=BB=98=E3=81=8F?= =?UTF-8?q?=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/post-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 82d28f30e8..f2c625a556 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -615,7 +615,7 @@ export default defineComponent({ viaMobile: isMobile }; - if (this.withHashtags) { + if (this.withHashtags && this.hashtags && this.hashtags.trim() !== '') { const hashtags = this.hashtags.trim().split(' ').map(x => x.startsWith('#') ? x : '#' + x).join(' '); data.text = data.text ? `${data.text} ${hashtags}` : hashtags; } From fff3c552e24f7d5b08252696bc55c8a1b9df3509 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 18:19:59 +0900 Subject: [PATCH 06/18] perf(client): use function for render slot to improve performance See: https://forum.vuejs.org/t/how-to-avoid-non-function-value-encountered-for-default-slot-warning/107039 --- src/client/components/date-separated-list.vue | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/client/components/date-separated-list.vue b/src/client/components/date-separated-list.vue index 6a0c7f29f2..7a4cc5ef98 100644 --- a/src/client/components/date-separated-list.vue +++ b/src/client/components/date-separated-list.vue @@ -48,15 +48,7 @@ export default defineComponent({ render() { if (this.items.length === 0) return; - return h(this.$store.state.animation ? TransitionGroup : 'div', this.$store.state.animation ? { - class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), - name: 'list', - tag: 'div', - 'data-direction': this.direction, - 'data-reversed': this.reversed ? 'true' : 'false', - } : { - class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), - }, this.items.map((item, i) => { + const renderChildren = () => this.items.map((item, i) => { const el = this.$slots.default({ item: item })[0]; @@ -98,7 +90,19 @@ export default defineComponent({ return el; } } - })); + }); + + return h(this.$store.state.animation ? TransitionGroup : 'div', this.$store.state.animation ? { + class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), + name: 'list', + tag: 'div', + 'data-direction': this.direction, + 'data-reversed': this.reversed ? 'true' : 'false', + } : { + class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), + }, { + default: renderChildren + }); }, }); From 5bb619fe7b57e2494393f420aad30ebe7203d0ed Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 19:19:02 +0900 Subject: [PATCH 07/18] Improve doc --- CHANGELOG.md | 9 ++++++++- src/docs/ja-JP/general/changelog.md | 5 +++++ src/server/web/index.ts | 18 +++++++++++++----- 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 src/docs/ja-JP/general/changelog.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b60eb59313..753c37e134 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,8 @@ -see [releases](https://github.com/misskey-dev/misskey/releases) +## 12.86.0 (unreleased) + +### Improvements +- ドキュメントにchangelogを追加 +- Vueを3.2.1に更新 + +### Bugfixes +- ハッシュタグ入力が空のときに#が付くのを修正 diff --git a/src/docs/ja-JP/general/changelog.md b/src/docs/ja-JP/general/changelog.md new file mode 100644 index 0000000000..6766a63b20 --- /dev/null +++ b/src/docs/ja-JP/general/changelog.md @@ -0,0 +1,5 @@ +# 更新履歴 +
ℹ️ このサーバーの更新履歴です。Misskeyの最新のリリースについては、GitHubをご確認ください。
+ + + diff --git a/src/server/web/index.ts b/src/server/web/index.ts index 30a53a703b..44ab2a997f 100644 --- a/src/server/web/index.ts +++ b/src/server/web/index.ts @@ -28,6 +28,13 @@ const markdown = MarkdownIt({ html: true }); +const changelog = fs.readFileSync(`${__dirname}/../../../CHANGELOG.md`, { encoding: 'utf8' }); +function genDoc(path: string): string { + let md = fs.readFileSync(path, { encoding: 'utf8' }); + md = md.replace('', changelog); + return md; +} + const staticAssets = `${__dirname}/../../../assets/`; const docAssets = `${__dirname}/../../../src/docs/`; const assets = `${__dirname}/../../assets/`; @@ -67,10 +74,11 @@ router.get('/static-assets/(.*)', async ctx => { }); router.get('/doc-assets/(.*)', async ctx => { - await send(ctx as any, ctx.path.replace('/doc-assets/', ''), { - root: docAssets, - maxage: ms('7 days'), - }); + if (ctx.path.includes('..')) return; + const path = `${__dirname}/../../../src/docs/${ctx.path.replace('/doc-assets/', '')}`; + const doc = genDoc(path); + ctx.set('Content-Type', 'text/plain; charset=utf-8'); + ctx.body = doc; }); router.get('/assets/(.*)', async ctx => { @@ -130,7 +138,7 @@ router.get('/docs.json', async ctx => { const paths = glob.sync(`${dirPath}/**/*.md`); const docs: { path: string; title: string; summary: string; }[] = []; for (const path of paths) { - const md = fs.readFileSync(path, { encoding: 'utf8' }); + const md = genDoc(path); if (query && query.length > 0) { // TODO: カタカナをひらがなにして比較するなどしたい From baa2a871f13c14faa8c98b9c41e4ba26b1d92d63 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 19:34:53 +0900 Subject: [PATCH 08/18] Update patrons list --- src/client/pages/about-misskey.vue | 56 ++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/src/client/pages/about-misskey.vue b/src/client/pages/about-misskey.vue index 1d57c80810..f7b9245fcc 100644 --- a/src/client/pages/about-misskey.vue +++ b/src/client/pages/about-misskey.vue @@ -68,40 +68,58 @@ import * as symbols from '@client/symbols'; const patrons = [ 'Satsuki Yanagi', 'noellabo', - 'Gargron', - 'Atsuko Tominaga', + 'mametsuko', 'AureoleArk', + 'Gargron', + 'Nokotaro Takeda', + 'Suji Yan', + 'Hekovic', + 'Gitmo Life Services', + 'nenohi', 'naga_rus', 'Melilot', - 'Hekovic', - 'Nokotaro Takeda', - 'dansup', - 'nenohi', - 'motcha', - 'nanami kan', - 'Eduardo Quiros', - 'Peter G.', - 'YUKIMOCHI', 'Efertone', - 'makokunsan', + 'oi_yekssim', + 'nanami kan', + 'motcha', + 'dansup', + 'Quinton Macejkovic', + 'YUKIMOCHI', 'mewl hayabusa', + 'makokunsan', + 'Peter G.', + 'Nesakko', + 'regtan', '見当かなみ', 'natalie', + 'Jerry', 'takimura', 'sikyosyounin', - 'weepjp', - 'mydarkstar', - 'Nesakko', + 'YuzuRyo61', 'sheeta.s', 'osapon', - 'YuzuRyo61', - 'wara', 'mkatze', - 'kiritan', 'CG', + 'nafuchoco', + 'Takumi Sugita', + 'chidori ninokura', + 'mydarkstar', + 'kiritan', + 'kabo2468y', + 'weepjp', + 'Liaizon Wakest', + 'Steffen K9', + 'Roujo', + 'uroco @99', + 'totokoro', + 'public_yusuke', + 'wara', + 'S Y', 'Denshi', 'Osushimaru', - 'Liaizon Wakest', + '吴浥', + 'DignifiedSilence', + 't_w', ]; export default defineComponent({ From 227f52d758103318a4ad60dab1e323899fd27bfd Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Aug 2021 19:51:56 +0900 Subject: [PATCH 09/18] Improve docs --- locales/ja-JP.yml | 1 + src/client/pages/doc.vue | 1 + src/docs/ja-JP/general/links.md | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 55e5c8e408..a1d0c14ea3 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -778,6 +778,7 @@ _docs: generalTopics: "一般的なトピック" advancedTopics: "高度なトピック" admin: "管理" + translateWarn: "このドキュメントは翻訳されたものです。オリジナルとは内容が異なる場合があります。" _ad: back: "戻る" diff --git a/src/client/pages/doc.vue b/src/client/pages/doc.vue index af3f56abcb..500d0340b7 100644 --- a/src/client/pages/doc.vue +++ b/src/client/pages/doc.vue @@ -5,6 +5,7 @@
diff --git a/src/docs/ja-JP/general/links.md b/src/docs/ja-JP/general/links.md index d6b16856fb..021b51ae56 100644 --- a/src/docs/ja-JP/general/links.md +++ b/src/docs/ja-JP/general/links.md @@ -1,5 +1,11 @@ # リンク集 +## Webサイト +- [Misskey Forum](https://forum.misskey.io/) - Misskeyに関する話題を扱うフォーラム + +## アカウント +- [@repo@misskey.io](https://misskey.io/@repo) - Misskeyのリポジトリの更新を投稿するbot + ## ライブラリ - [misskey-dev/misskey.js](https://github.com/misskey-dev/misskey.js) - JavaScriptのMisskey SDK - [misskey-dev/mfm.js](https://github.com/misskey-dev/mfm.js) - JavaScriptのMFMパーサー実装 From 4149c7782f9efe9450d5c056e7ad22a654717746 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 11 Aug 2021 00:21:24 +0900 Subject: [PATCH 10/18] :art: --- src/client/components/ui/button.vue | 13 ++----------- src/client/pages/my-lists/index.vue | 13 +++++++++++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/client/components/ui/button.vue b/src/client/components/ui/button.vue index 1e72660f33..d6ac42994f 100644 --- a/src/client/components/ui/button.vue +++ b/src/client/components/ui/button.vue @@ -177,17 +177,8 @@ export default defineComponent({ } &:focus { - &:after { - content: ""; - pointer-events: none; - position: absolute; - top: -5px; - right: -5px; - bottom: -5px; - left: -5px; - border: 2px solid var(--accentAlpha03); - border-radius: 10px; - } + outline: solid 2px var(--focus); + outline-offset: 2px; } &.inline + .bghgjjyj { diff --git a/src/client/pages/my-lists/index.vue b/src/client/pages/my-lists/index.vue index e92f11c7d0..7de31bb308 100644 --- a/src/client/pages/my-lists/index.vue +++ b/src/client/pages/my-lists/index.vue @@ -3,7 +3,10 @@ {{ $ts.createList }} - {{ list.name }} + +
{{ list.name }}
+ +
@@ -12,6 +15,7 @@ import { defineComponent } from 'vue'; import MkPagination from '@client/components/ui/pagination.vue'; import MkButton from '@client/components/ui/button.vue'; +import MkAvatars from '@client/components/avatars.vue'; import * as os from '@client/os'; import * as symbols from '@client/symbols'; @@ -19,6 +23,7 @@ export default defineComponent({ components: { MkPagination, MkButton, + MkAvatars, }, data() { @@ -63,7 +68,7 @@ export default defineComponent({ > .lists { > .list { - display: flex; + display: block; padding: 16px; border: solid 1px var(--divider); border-radius: 6px; @@ -72,6 +77,10 @@ export default defineComponent({ border: solid 1px var(--accent); text-decoration: none; } + + > .name { + margin-bottom: 4px; + } } } } From 31b6ab9b23d14551e4b37b3b9e7e29f5a016b8ff Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 11 Aug 2021 00:21:48 +0900 Subject: [PATCH 11/18] fix chore error --- src/client/components/widgets.vue | 4 ++-- src/client/ui/chat/index.vue | 2 +- src/client/ui/default.widgets.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/components/widgets.vue b/src/client/components/widgets.vue index 6e5c2d5ade..150d61c027 100644 --- a/src/client/components/widgets.vue +++ b/src/client/components/widgets.vue @@ -18,12 +18,12 @@
- +
- + diff --git a/src/client/ui/chat/index.vue b/src/client/ui/chat/index.vue index db663c4530..6d6e302e3c 100644 --- a/src/client/ui/chat/index.vue +++ b/src/client/ui/chat/index.vue @@ -55,7 +55,7 @@ {{ $ts.favorites }} - +