Commit graph

638 commits

Author SHA1 Message Date
Andreas Nedbal
91de7050e4 Refactor admin/index to use Composition API (#8662)
* refactor(client): refactor admin/index to use Composition API

* fix(client): fix navigation to initial admin pages

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* fix(client): re-add abuses page to admin/index

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:32:21 +09:00
Andreas Nedbal
24aaad4b26 refactor(client): refactor admin/instance-block to use Composition API (#8663) 2022-05-18 01:31:59 +09:00
Andreas Nedbal
2317105922 Refactor admin/integrations to use Composition API (#8664)
* refactor(client): refactor admin/integrations to use Composition API

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:31:48 +09:00
Andreas Nedbal
b51154f037 refactor(client): refactor admin/object-storage to use Composition API (#8666) 2022-05-18 01:31:32 +09:00
Andreas Nedbal
9ccc492ea2 refactor(client): refactor admin/proxy-account to use Composition API (#8675) 2022-05-18 01:31:16 +09:00
Andreas Nedbal
c07d179878 Refactor admin/queue to use Composition API (#8676)
* refactor(client): refactor admin/queue to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:31:04 +09:00
Andreas Nedbal
27f5a4f01a Refactor admin/relays to use Composition API (#8677)
* refactor(client): refactor admin/relays to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:30:49 +09:00
Andreas Nedbal
7ddd8feadb refactor(client): refactor my-antennas/index to use Composition API (#8679) 2022-05-18 01:30:35 +09:00
Andreas Nedbal
5b8c6cc93e Refactor emoji-edit-dialog to use Composition API (#8657)
* refactor(client): refactor emoji-edit-dialog to use Composition API

* fix(client): fix editing emoji not updating emoji list

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* fix(client): use cached category info instead of making a request

* fix(client): use updateItem in emoji pagination when editing

* fix(client): reimplement removeItem in MkPagination

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-15 22:20:01 +09:00
syuilo
7bd873cc56 CAPTCHA求めるのは2fa認証が無効になっているときだけにした
2faのトークンは期限付きだから、CAPTCHA解いてる間に期限切れになる
2022-05-15 16:47:14 +09:00
syuilo
b688744128 feat: make captcha required when signin to improve security 2022-05-15 12:18:46 +09:00
Andreas Nedbal
7b114d5383 fix(client): remove unexpected token (#8672) 2022-05-14 23:24:45 +09:00
Andreas Nedbal
1d4069a955 Refactor admin/email-settings to use Composition API (#8656)
* refactor(client): refactor admin/email-settings to use Composition API

* Update packages/client/src/pages/admin/email-settings.vue

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:36:12 +09:00
Andreas Nedbal
2f58decb1c Refactor admin/database to use Composition API (#8654)
* refactor(client): refactor admin/database to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:35:08 +09:00
Andreas Nedbal
57507cdf32 Refactor admin/security to use Composition API (#8652)
* refactor(client): refactor admin/security to use Composition API

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:34:50 +09:00
Andreas Nedbal
9043e86b49 refactor(client): refactor admin/announcements to use Composition API (#8650) 2022-05-14 21:34:07 +09:00
Andreas Nedbal
00b9211465 refactor(client): refactor admin/ads to use Composition API (#8649) 2022-05-14 21:33:41 +09:00
Andreas Nedbal
d2149ab081 Refactor Chart component (#8622)
* refactor(client): refactor Chart component

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* fix(client): don't expose values from Chart

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:20:41 +09:00
syuilo
36db202263 enhance: Display TOTP Register URL
Close #7261

Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
Andreas Nedbal
326949115e fix(client): add setup attribute to notification page (#8648) 2022-05-12 19:31:26 +02:00
Andreas Nedbal
4c89a565d5 Fix lint issues in post form component (#8619)
* fix(client): fix lint issues in post form

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-07 17:01:01 +09:00
Andreas Nedbal
6997ba0b3d Fix lint issues in emoji picker components (#8620)
* fix(client): fix lint issues in emoji picker components

* fix(client): switch argument naming for emoji picker section event
2022-05-07 17:00:05 +09:00
Andreas Nedbal
9b3f31df3e fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
Andreas Nedbal
c039207e2a refactor(client): refactor settings/theme/manage to use Composition API (#8596) 2022-05-05 22:53:08 +09:00
futchitwo
37af007e13 Enhance(MFM): Allow speed changes in all animated MFMs (#8551)
* MFM: Allow speed changes in all animated MFMs

* Feature(MFM): Add speed property to cheat sheet

* Use template literal

Oops!

* Remove unnecessary template string

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:52:33 +09:00
Andreas Nedbal
9884b5f1da refactor(client): refactor settings/word-mute to use Composition API (#8597) 2022-05-05 22:51:58 +09:00
Andreas Nedbal
8a71098dd5 refactor(client): refactor settings/deck to use Composition API (#8598) 2022-05-05 22:51:29 +09:00
Andreas Nedbal
647ba0a54e Refactor settings/sounds to use Composition API (#8594)
* refactor(client): refactor settings/sounds to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* chore(client): remove old sound reference

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:51:05 +09:00
Andreas Nedbal
fae0fbd93c refactor(client): refactor 2FA settings to Composition API (#8599) 2022-05-05 22:41:10 +09:00
tamaina
23eee1b3df fix (client): fix mention icon height (#8615) 2022-05-05 20:46:46 +09:00
Andreas Nedbal
943c6a067e Fix lint issues in Drive components (#8613)
* fix(client): Fix lint issues in Drive components

* fix(client): only use !=/== for null comparisons

* Update drive.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-05 20:45:50 +09:00
Andreas Nedbal
78c06ade0c fix(client): fix duplicate token request dialog in plugin install (#8612) 2022-05-05 18:21:38 +09:00
Andreas Nedbal
be8ec800de Refactor settings/notifications to use Composition API (#8587)
* refactor(client): refactor settings/notifications to use Composition API

* fix(client): use async/await for API methods
2022-05-04 12:25:19 +09:00
Andreas Nedbal
1f37f2e463 Refactor account-info to use Composition API (#8568)
* refactor(client): refactor account-info  to use Composition API

* fix(client): use mounted hook for initial data

* fix(client): switch to non-null assertion for account check
2022-05-04 10:16:14 +09:00
Andreas Nedbal
8b7f24bef2 refactor(client): refactor settings/api to use Composition API (#8569) 2022-05-04 10:15:43 +09:00
Andreas Nedbal
2ed32a38d9 refactor(client): refactor settings/apps to use Composition API (#8570) 2022-05-04 10:15:24 +09:00
Andreas Nedbal
07aba28db3 Refactor delete-account to use Composition API (#8572)
* refactor(client): refactor delete-account to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-04 10:15:06 +09:00
Andreas Nedbal
042d86b1b1 refactor(client): refactor settings/drive to use Composition API (#8573) 2022-05-04 10:14:48 +09:00
Andreas Nedbal
0b0b6c3f9b Refactor settings/email to use Composition API (#8576)
* refactor(client): refactor settings/email to use Composition API

* fix(client): switch to non-null assertion for settings values
2022-05-04 10:14:26 +09:00
Andreas Nedbal
6ccac37a3d Refactor settings/general to use Composition API (#8578)
* refactor(client): refactor settings/general to use Composition API

* fix(client): turn watcher callback asynchronous
2022-05-04 10:13:51 +09:00
Andreas Nedbal
7e68b24677 Refactor settings/menu to use Composition API (#8586)
* refactor(client): refactor settings/menu to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-04 10:12:40 +09:00
Andreas Nedbal
471bb7f3b7 Refactor settings/other to use Composition API (#8589)
* refactor(client): refactor settings/other to use Composition API

* fix(client): fix 'show featured notes' checkbox
2022-05-04 10:12:08 +09:00
Andreas Nedbal
e555686294 refactor(client): refactor settings/plugin to use Composition API (#8590) 2022-05-04 10:11:35 +09:00
Andreas Nedbal
3ce91d19f9 refactor(client): refactor settings/plugin/install to use Composition API (#8591) 2022-05-04 10:10:52 +09:00
Andreas Nedbal
1c309d3b02 refactor(client): refactor settings/security to use Composition API (#8592) 2022-05-04 10:10:34 +09:00
Andreas Nedbal
f0a87b6476 refactor(client): refactor settings/theme to use Composition API (#8595) 2022-05-03 20:34:48 +09:00
Andreas Nedbal
794c3ec520 refactor(client): refactor settings/accounts to use Composition API (#8604) 2022-05-03 20:33:40 +09:00
Andreas Nedbal
cb0b498670 fix(client): fix missing import of defineAsyncComponent in os.ts 2022-05-01 17:55:17 +02:00
tamaina
8ad77a28b4 refactor: use Vite to build instead of webpack (#8575)
* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* use import

* fix

* install rollup

* use defineAsyncComponent.

* fix emojilist

* wip use defineAsyncComponent

* popup(import -> popup(defineAsyncComponent(() => import

* draggable?

* fix init import

* clean up

* fix router

* add comment

* ✌️

* ✌️

* ✌️

* remove webpack

* update vite

* fix boot sequence

* Revert "fix boot sequence"

This reverts commit e893dbf37aed83bf9f12e427d98c78a7065b4a39.

* revert boot import

* never make two app div

* ;

* remove console.log

* change clientEntry sequence

* fix

* Revert "fix"

This reverts commit 12741b3d89950a31dbb1bb81477ddb27b0e9951a.

* fix

* add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210

* add log

* add comment

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +09:00
Andreas Nedbal
7e0770bc9c Refactor custom-css to use Composition API (#8571)
* refactor(client): refactor custom-css to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 15:50:09 +09:00
Andreas Nedbal
edf8f94fec refactor(client): refactor import-export to use Composition API (#8579) 2022-05-01 11:55:15 +09:00
Andreas Nedbal
e0950fe5ea Refactor instance-mute to use Composition API (#8580)
* refactor(client): refactor instance-mute to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 11:52:19 +09:00
Andreas Nedbal
c201a90db4 Refactor integration to use Composition API (#8581)
* refactor(client): refactor integration to use Composition API

* fix(client): drop superfluous enable* constants

* refactor(client): deduplicate window opening for services
2022-05-01 11:23:12 +09:00
tamaina
1df07ded68 feat: Improve Push Notification (#7667)
* clean up

* ev => data

* refactor

* clean up

* add type

* antenna

* channel

* fix

* add Packed type

* add PackedRef

* fix lint

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add schemas refs, fix Packed type

* wip PackedHoge => Packed<'Hoge'>

* add Packed type

* note-reaction

* user

* user-group

* user-list

* note

* app, messaging-message

* notification

* drive-file

* drive-folder

* following

* muting

* blocking

* hashtag

* page

* app (with modifying schema)

* import user?

* channel

* antenna

* clip

* gallery-post

* emoji

* Packed

* reversi-matching

* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00
Andreas Nedbal
06485c7c75 refactor(client): refactor scratchpad to use Composition API (#8565) 2022-04-29 12:26:24 +09:00
Andreas Nedbal
53b4ee6f16 refactor(client): refactor api-console to use Composition API (#8566) 2022-04-29 10:21:02 +09:00
tamaina
83096440cc enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション (#8216)
* wip

* Update packages/client/src/os.ts

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* ✌️

* fix

* fix

* ✌️

* WEBP

* aaa

* ✌️

* webp

* lazy load browser-image-resizer

* rename

* rename 2

* Fix

* clean up

* add comment

* clean up

* jpeg, pngにもどす

* fix

* fix name

* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)

* 動画サムネイルはjpegに

* エラーハンドリング

* ✌️

* v2.2.1-misskey-beta.2

* browser-image-resizer#v2.2.1-misskey.1

* ✌️

* fix alert

* update browser-image-resizer to v2.2.1-misskey.2

* lockfile

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
Andreas Nedbal
7899cb3f70 fix(client): fix lint issues in autocomplete (#8548) 2022-04-28 10:56:18 +09:00
Johann150
0bff6d06cf refactor: use composition API (#8541) 2022-04-27 15:17:49 +09:00
futchitwo
4509fa10b3 Fix(client): fix profile tab link (#8536) 2022-04-24 14:21:46 +09:00
tamaina
c5aa46c0b9 fix: Fix settings page (#8508)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
syuilo
0ebb0c3085 Revert "make emoji stand out more on reaction button"
This reverts commit e0c5401241a5cc3dcd3692a257a0da733c399927.
2022-04-20 09:30:29 +09:00
Johann150
92489d7885 make emoji stand out more on reaction button
a slight shadow makes them easier to see
2022-04-19 22:03:15 +02:00
syuilo
cbd4640965 refactor 2022-04-11 22:50:53 +09:00
tamaina
85dba1f5f4 fix theme-color apply (#8464) 2022-04-03 13:56:00 +09:00
syuilo
8b2a0a5773 feat: Webhook (#8457)
* feat: introduce webhook

* wip

* wip

* wip

* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
tamaina
da87171ce7 enhance: タッチパッド・タッチスクリーンでのデッキの操作性を向上 (#8450)
* enhance experience of deck with touchpad

* test: 単純にdeltaYを加算してみる

* clean up

* ios bug fix?

* ✌️

* use overflow-y

* Safari does not supports clip
2022-04-02 15:12:01 +09:00
syuilo
1870d8f72b update deps 2022-04-01 19:13:40 +09:00
syuilo
9e0a1de9d1 tweak client 2022-03-27 16:28:25 +09:00
syuilo
f0620c294d fix of client 2022-03-27 16:21:09 +09:00
syuilo
923c203230 refactor 2022-03-27 02:22:31 +09:00
tamaina
56150d66ef fix: Handle decodeURIComponent error (#8411) 2022-03-27 02:21:56 +09:00
syuilo
921299b02f perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
syuilo
69702bc55e Update account.ts 2022-03-25 02:43:48 +09:00
syuilo
c32867f296 enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように 2022-03-25 01:53:20 +09:00
syuilo
61826829d3 refactor: separate meta api for admin or not 2022-03-25 01:50:28 +09:00
syuilo
a32a3bc5c9 perf(server): disable some antenna features to improve performance 2022-03-22 00:07:43 +09:00
syuilo
5e9a8ce883 perf(server): reduce db query 2022-03-21 20:43:43 +09:00
tamaina
6890e7fca0 デッキまわりをCompositon API / Setup Sugarに (#8410)
* universal.widgets.vue

* column.vue, antenna-column.vue

* direct-column.vue, list-column.vue

* main-column.vue

* wip

* ✌️

* fix

* ✌️

* ✌️
2022-03-21 03:11:14 +09:00
syuilo
497b6f03f6 fix(client): fix popup menu direction calclation 2022-03-19 22:03:53 +09:00
syuilo
69b044c3ab feat: introduce bull dashboard 2022-03-19 19:08:55 +09:00
syuilo
6a35a37df1 🎨 2022-03-12 14:54:08 +09:00
syuilo
8e9dd82ae8 tweal c;iemy 2022-03-11 18:55:47 +09:00
nullobsi
be7385aaf3 fix scroll (#8382) 2022-03-09 22:33:07 +09:00
MeiMei
3447466c7b テーマ選択から重複要素を排除するように (#8385) 2022-03-09 22:18:14 +09:00
syuilo
3b95fce051 fix federation chart 2022-03-08 22:56:46 +09:00
syuilo
e3afe9fd82 delete needless instance drive columns 2022-03-07 21:20:14 +09:00
syuilo
13dfafb1dd feat: add active to federation chart 2022-03-07 15:10:16 +09:00
syuilo
9841ee4710 tweak client 2022-03-06 23:21:25 +09:00
syuilo
a7bf9603dc tweak client 2022-03-06 23:21:19 +09:00
syuilo
5103ece434 tweak client 2022-03-06 19:18:34 +09:00
Andreas Nedbal
46562be227 Refactor: Switch Settings index page to setup sugar (#8374)
* refactor(client): Make Settings index page use <script setup>

* chore(client): address review comments
2022-03-06 19:17:43 +09:00
syuilo
3b86bdf18c feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
tamaina
a004cfe950 fix: iPhone X以降(?)でページの内容が全て表示しきれないのを修正 (#8375)
* add safe-area-inset-bottom to spacer

* fix

* ✌️

* fix
2022-03-05 02:00:45 +09:00
syuilo
743a743251 fix 2022-03-05 01:23:34 +09:00
syuilo
a1441ff5b4 fix(client): register_note_view_interruptor()が動かないのを修正
Fix #8318
2022-03-05 01:22:57 +09:00
syuilo
b26f3713b5 chore(client): hide error report setting
Close #8327
2022-03-05 00:35:59 +09:00
syuilo
17f7b41240 feat: 時限ミュート
#7677
2022-03-04 20:23:53 +09:00
Andreas Nedbal
472a05bee4 Fix: Only allow admins to access admin views (#8361)
* fix(client): only allow admins to access /admin/*

* fix(client): Also allow moderators to access admin panel
2022-03-04 17:13:10 +09:00
syuilo
75e5954f45 tweak client 2022-03-04 16:26:21 +09:00
Kainoa Kanter
3768d72bfe Add me as patron (#8369) 2022-03-03 01:19:17 +09:00
syuilo
df77edfc4e feat(client): indicate dev build 2022-03-03 01:17:37 +09:00
syuilo
8e3a082c37 fix(client): ユーザー名オートコンプリートが正しく動作しない問題を修正 2022-03-02 18:52:49 +09:00
syuilo
4f924a8565 🎨 2022-03-01 23:58:28 +09:00
syuilo
f71aa3df32 feat: instance default theme 2022-03-01 23:58:01 +09:00
syuilo
33d40e6736 🎨 2022-03-01 21:38:56 +09:00
syuilo
d7a5f2618f refactor 2022-03-01 21:36:20 +09:00
syuilo
7e4db6acf4 Revert "refactor"
This reverts commit 94d4f8271e3406ff549a8f18831fb74adcd0d1ab.
2022-03-01 03:51:31 +09:00
syuilo
e547825ed9 refactor 2022-02-28 22:42:32 +09:00
tamaina
13cc69fe1c Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
44bb08454a fix: better language settings
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo
66115e2879 🎨 2022-02-25 20:17:36 +09:00
syuilo
b13aebab57 refactor 2022-02-25 20:03:17 +09:00
syuilo
04893c8636 refactor(client): use setup 2022-02-25 19:58:58 +09:00
syuilo
ff3809b437 🎨 2022-02-25 19:56:59 +09:00
syuilo
1ad759db78 🎨 2022-02-25 18:53:08 +09:00
syuilo
86dc3adcba 🎨 2022-02-25 18:32:37 +09:00
Kainoa Kanter
47235a3aea keepCw > true (#8350)
Closes #8336
2022-02-25 14:41:40 +09:00
syuilo
9717fc1dbf client: 検索構文でGoogle明示 & deprecated 2022-02-25 14:40:11 +09:00
syuilo
680e1ed3ac enhance(client): improve launch pad usability 2022-02-23 23:40:31 +09:00
syuilo
2f83378acc feat: add pub & sub item for federation chart 2022-02-23 16:17:16 +09:00
syuilo
1cde8d6d81 🎨 2022-02-20 19:01:13 +09:00
syuilo
1d2be559e9 プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
71d21c32f5 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-20 16:07:50 +09:00
syuilo
18ea7a1142 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
xianon
549e9ef84d タッチ操作でウィジェットの編集や削除ができるようにする (#8328) 2022-02-20 16:07:29 +09:00
syuilo
117aa696ea fix(client): リアクションピッカーの高さが低くなったまま戻らないことがあるのを修正
Fix #8071
2022-02-13 16:35:53 +09:00
syuilo
b6093a9d90 fix(client): nextTickの中でonUnmounted呼び出しても効かない可能性がある 2022-02-12 17:29:15 +09:00
syuilo
73b1bf76ed fix(client): 一部環境でサイドバーの投稿ボタンが表示されない問題を修正 2022-02-12 17:28:33 +09:00
syuilo
a37ed84421 🎨 2022-02-12 17:00:09 +09:00
syuilo
70317771fb 🎨 2022-02-12 16:52:01 +09:00
syuilo
2d55d36e19 fix(client): フッターでセーフエリアを考慮するように 2022-02-12 14:48:01 +09:00
syuilo
901cbbe763 fix(client): tweak ui
#8311
2022-02-12 14:43:21 +09:00
tamaina
787a97706b ソフトミュートですべてがマッチしてしまうのを修正 (#8307)
* ソフトミュートですべてがマッチしてしまうのを修正

* Clean up

* Update packages/client/src/scripts/check-word-mute.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* fix

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-11 23:26:51 +09:00
syuilo
98dd6d0146 enhance(client): tweak padding 2022-02-11 22:16:20 +09:00
syuilo
3c65071253 fix(client): ノート詳細が開けないのを直したり
Fix #8305
2022-02-11 22:14:14 +09:00
syuilo
6a1e021476 fix(client): ノートの参照を断ち切るように
Fix #8201
Close #8237
2022-02-11 21:35:28 +09:00
syuilo
80f06a6051 fix(client): word mute cannot save 2022-02-11 19:44:56 +09:00
syuilo
1d2936e638 chore(client): tweak chart 2022-02-11 15:14:08 +09:00
syuilo
9291da94f1 enhance(client): リアクションピッカーの幅、高さ制限を緩和 2022-02-11 13:53:02 +09:00
syuilo
eb24eedf12 feat(client): make size of reaction picker configuable 2022-02-11 13:38:47 +09:00
syuilo
43d1e7a08d 🎨 2022-02-11 12:46:03 +09:00
syuilo
389ed38e45 🎨 2022-02-10 22:16:59 +09:00
syuilo
c15cc02ab3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-10 22:01:34 +09:00
Johann150
84c409a52b fix: regular expressions in word mutes (#8254)
* fix: handle regex exceptions for word mutes

* add i18n strings

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* stricter input validation in backend

* add migration for hard mutes

* fix

* use correct regex library in migration

* use query builder to avoid SQL injection

Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo
340b68f8b3 enhance(client): tweak chart 2022-02-10 19:02:52 +09:00
syuilo
48fe5b1499 enhance: improve federation chart 2022-02-10 17:45:12 +09:00
syuilo
9eef655f7a chore(client): check textarea exists 2022-02-09 21:27:42 +09:00
syuilo
9e41714e6e feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo
f458f4fd7d fix(client): コントロールパネルのユーザー、ファイルにて、インスタンスの表示範囲切り替えが機能しない問題を修正
Fix #8252
2022-02-09 13:38:54 +09:00
syuilo
1a6cda52da chore: tweak chart labels 2022-02-09 13:25:08 +09:00
Johann150
96f1432bb3 fix: save followers/following visibility (#8276) 2022-02-09 12:43:59 +09:00
syuilo
4d05c3e8a9 feat: introduce intersection calculation of charts 2022-02-09 03:46:58 +09:00
syuilo
4f5d216655 fix(client): 環境に依っては返信する際のカーソル位置が正しくない問題を修正 2022-02-08 23:53:01 +09:00
syuilo
61f855429f feat: improve federation chart 2022-02-08 23:43:51 +09:00
syuilo
34893b5ff0 chore: better label 2022-02-08 23:25:48 +09:00
syuilo
d594380fe6 🎨 2022-02-08 23:15:43 +09:00
syuilo
756201ebef feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加 2022-02-08 23:12:37 +09:00
syuilo
dbc974c1a6 🎨 2022-02-08 22:36:07 +09:00
syuilo
43586f017d 🎨 2022-02-08 19:20:09 +09:00
syuilo
62523e719c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-08 18:46:45 +09:00
syuilo
2570cd6693 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
Johann150
ef6993f333 fix: instance ticker (#8260)
* add type and default values

* remove unnecessary string operation
2022-02-08 16:38:52 +09:00
syuilo
13de1356e3 feat(client): 自インスタンス情報ページでチャートを見れるように 2022-02-08 15:50:26 +09:00
syuilo
8c0e570149 enhance(client): improve tooltip position calclation 2022-02-08 15:37:31 +09:00
syuilo
62024361b0 🎨 2022-02-07 14:56:49 +09:00
nullobsi
92e94d688c feat: Option to show replies in timeline (rebase #7685) (#8202)
* Add an option for timeline replies. Credit to Emilis (puffaboo)

* update db on request
2022-02-06 16:02:48 +09:00
tamaina
09da501a4c fix: v-sizeディレクティブの動作を修正 (#8249)
* Fix size directive behavior not activated

* calc

* wip

* cache computed classes

* fix Vue3では使えなくなった

* 不要なIntersection Observerを削除

* comment
2022-02-06 10:59:36 +09:00
syuilo
b0da30469d imprpve active users chart 2022-02-06 06:24:06 +09:00
syuilo
f8fd491384 improve chart 2022-02-06 00:43:22 +09:00
syuilo
b0764397fd enhance(client): improve chart rendering 2022-02-04 16:39:09 +09:00
tamaina
33335604d5 fix: タイムライン種別を切り替えると「新しいノートがあります」の表示が残留してしまうのを修正 (#8250)
Fix #6831
2022-02-04 08:39:20 +09:00
syuilo
225c325d77 🎨 2022-02-03 02:08:54 +09:00
syuilo
f88e4eeaa0 fix(client): fix compare-versions import 2022-02-03 01:45:34 +09:00
syuilo
03a8fdd0c1 fix(client): ツールチップの表示位置が正しくない問題を修正 2022-02-02 01:32:26 +09:00
syuilo
495d1a7d3d tweak 2022-02-02 00:27:22 +09:00
tamaina
44f36940bd fix: Fix Sideview (#8235)
* Fix #7890

* a-

* 3度目の正直

* fix

* ✌️

* update CHANGELOG

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 23:48:19 +09:00
nullobsi
a4ac529a78 fix: ensure that specified users does not get duplicates (#8233)
* ensure that specified users does not get duplicates

* Update packages/client/src/components/post-form.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 21:49:34 +09:00
syuilo
b76b2cde42 enhance(client): Chartjsのツールチップを自前に 2022-01-31 21:07:33 +09:00
syuilo
218377a9be feat(client): 連合インスタンスページからインスタンス情報再取得を行えるように
Resolve #8231
2022-01-31 20:38:26 +09:00
syuilo
9450fb4ddb fix federation widget 2022-01-31 16:50:40 +09:00
Johann150
8fb28183bb fix federation widged (#8221)
The variables accidentally shadowed the variables that contain the ref's
to be rendered into the template.
2022-01-30 21:48:40 +09:00
tamaina
22da2fab2d enhance: メニュー関連をComposition API化、switchアイテム追加 (#8215)
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* fix

* fix

* Fix

* clean up
2022-01-30 14:11:52 +09:00
syuilo
7ca456bb45 refactor(client): use setup sugar 2022-01-29 03:03:23 +09:00
syuilo
7633e122d6 fix(client): 投稿フォームのハッシュタグ保持フィールドが動作しない問題を修正
Fix #8212
2022-01-29 02:54:56 +09:00
Johann150
07ab5d181b round relative time (#8199) 2022-01-28 15:29:24 +09:00
syuilo
aa49617e84 fix(client): DMページでメンションが含まれる問題を修正
Fix #8211
2022-01-28 13:39:54 +09:00
syuilo
ffa050bd55 refactor(client): use composition api 2022-01-28 12:30:59 +09:00
syuilo
50c8f699b2 fix(client): リアクション設定で絵文字ピッカーが開かないのを修正 2022-01-28 12:30:47 +09:00
syuilo
f67686eada fix 2022-01-28 12:21:35 +09:00
syuilo
335cb3959a refactor 2022-01-28 12:20:42 +09:00
syuilo
f098fb2dae refactor(client): use setup sugar 2022-01-28 12:14:21 +09:00
syuilo
875f1b76e7 refactor(client): better semantics 2022-01-28 11:53:12 +09:00
syuilo
0f57ea08e7 refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo
e355b820e5 chore(client): improve chart rendering 2022-01-28 11:19:18 +09:00
syuilo
e4bd65f833 fix(client): トレンドウィジェットが動作しないのを修正 2022-01-28 01:13:52 +09:00
syuilo
ec99b00565 fix(client): 「クリップ」ページが開かない問題を修正 2022-01-28 01:09:46 +09:00
syuilo
f1e0db1672 fix(client): 投稿のNSFW画像を表示したあとにリアクションが更新されると画像が非表示になる問題を修正
Fix #8208
2022-01-28 01:05:31 +09:00
syuilo
c33a2654da refactor(client): use composition api 2022-01-28 00:52:05 +09:00
syuilo
519fcb7d97 refactor(client): use composition api 2022-01-28 00:46:49 +09:00
syuilo
294f54382a fix(client): チャットが見れない
Fix #8203
2022-01-27 17:55:11 +09:00
syuilo
0df03ccc5b chore: fix instant form handling 2022-01-27 17:38:02 +09:00
tamaina
a57552e746 enhance: MediaListでは、サーバーで許可された形式しか表示しないように (#8113)
* wip

* fix
2022-01-27 00:08:48 +09:00
Kainoa Kanter
ea0dcd8240 Fix pop-out bug (#8170) 2022-01-26 17:11:41 +09:00
syuilo
aba7ab181a 🎨 2022-01-26 03:31:10 +09:00
syuilo
fd633df09c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-26 03:26:40 +09:00
syuilo
a6c45f71b7 refactor 2022-01-26 03:26:34 +09:00
Derek
a9651d7703 enhance: Improve poll-editor UI + composition port (#8186)
* Poll editor UI changes

Use a horizontal layout when possible, wrap to vertical when constrained

* Port poll-editor to composition API

* Fix poll-editor `get` time calcs

* fix

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-26 03:26:12 +09:00
syuilo
f762e87d07 🎨 2022-01-26 00:51:01 +09:00
Johann150
4b88679ae1 disable animations on more transitions (#8112) 2022-01-25 23:18:21 +09:00
Hyunseung Jeon
4b64c72957 fix: change keypress to keydown (#8192) 2022-01-25 18:01:29 +09:00
MeiMei
7d2de36501 fix: アップロードエラー時の処理を修正 (#8182)
* アップロードのエラー応答で詰むのを修正

* CHANGELOG
2022-01-24 02:18:27 +09:00
syuilo
c7ec5fda6f fix(client): タイムラインのkeep-aliveが効かなくなっているのを修正 2022-01-21 21:47:36 +09:00
syuilo
0f5ff7584c chore(client): add #misskey button 2022-01-21 21:26:39 +09:00
syuilo
72e69bbd5a wip: refactor(client): migrate components to composition api 2022-01-21 21:16:12 +09:00
syuilo
1b62061fb3 chore(client): add tooltip 2022-01-21 20:51:07 +09:00
syuilo
4f744cda6c 投稿したらアカウントを元に戻すように 2022-01-21 20:19:56 +09:00
syuilo
de5d43c280 feat(client): make possible to switch account instantly in post form 2022-01-21 20:17:31 +09:00
syuilo
f6605a9e51 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-21 18:27:37 +09:00
syuilo
5ad811ea30 feat: increase files limit for note
#8062
2022-01-21 18:27:33 +09:00
nullobsi
4c52e52fd3 update local copy of file when describing (#8131) 2022-01-21 17:43:51 +09:00
Acid Chicken (硫酸鶏)
dd6b203d29 fix(#8133): hCaptcha の reCAPTCHA 互換挙動を無効化する (#8135)
* fix(#8133): hCaptcha の reCAPTCHA 互換挙動を無効化する

* Update packages/client/src/components/captcha.vue

* fix: hCaptcha host

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-01-21 17:43:14 +09:00
tamaina
3b1c365e81 enhance: e2eテストをできるだけ改良してみた (#8159)
* update docker image?

* 続

* serial run delete from "${table}" cascade

* use cypress official github action

* refuse install by cypress action

* clean up

* use wait?

* use more wait?

* Revert "use more wait?"

This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c.

* Revert "use wait?"

This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0.

* fix

* test

* test

* log?

* 握りつぶしてみる

* clean up

* env?

* clean up?

* disable video

* add comment

* remove test

* 成功?

* test browser

* nodeインストール無効化

* node16.13.0-chrome95-ff94

* node.js復活

* ?

* ちょっと戻してみる

* chrome?

* cross browser test2

* --shm-size=2g

* artifact?

* misskey.local?

* firefoxはあきらめる

* not headless?

* oops

* fix

* ??

* test1

* if?

* fail-fast: false

* headless: false

* easy error ignoreing describe

* エラーの解消
とちょっとリファクター

* add browser name to artifact

* Install mplayer for FireFox

* no wait?

* タイムアウトを甘くしてみる

* firefoxをあきらめる(n回目)

* remove timeout setting

* wait復活

* Update basic.js

* Update index.js

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 16:43:56 +09:00
Johann150
627e3c07b9 enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
tamaina
3f895af3d1 post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
syuilo
934132e08a refactor 2022-01-20 01:27:41 +09:00
syuilo
78a77a174b refactor 2022-01-19 23:51:37 +09:00
syuilo
8e93632fcf fix #8158 2022-01-19 23:51:28 +09:00
xianon
ad1649bb96 モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
tamaina
6f81b2e747 refactor: Composition APIへ移行 (#8138)
* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* wip

* wip drive.file.vue, drive.vue

* fix prop

* wip(

* components/drive.folder.vue

* maybe ok

* ✌️

* fix variable

* FIX FOLDER VARIABLE

* components/emoji-picker-dialog.vue

* Hate `$emit`

* hate global property

* components/emoji-picker-window.vue

* components/emoji-picker.section.vue

* fix

* fixx

* wip components/emoji-picker.vue

* fix

* defineExpose

* ユニコード絵文字の型をもっといい感じに

* components/featured-photos.vue

* components/follow-button.vue

* forgot-password.vue

* forgot-password.vue

* 🎨

* fix
2022-01-18 23:06:16 +09:00
syuilo
8245de9bef refactor 2022-01-18 21:35:57 +09:00
tamaina
d9de4375e0 Fix #8151 (#8152) 2022-01-18 21:32:17 +09:00
syuilo
afafc55de0 wip: refactor(client): migrate components to composition api
Fix #8155
2022-01-18 21:30:17 +09:00
syuilo
79980a22c3 wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo
0e08a1c8d2 wip: refactor(client): migrate components to composition api 2022-01-16 15:02:15 +09:00
syuilo
1d530be2cf wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo
79c78bb6f2 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
bdba40051a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo
a68113e24f wip: refactor(client): migrate components to composition api 2022-01-16 08:38:55 +09:00
syuilo
2a66ff3991 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo
99278833e8 wip: refactor(client): migrate components to composition api 2022-01-16 07:55:19 +09:00
syuilo
52c13e9db5 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo
363cc98b79 wip: refactor(client): migrate components to composition api 2022-01-16 06:59:35 +09:00
syuilo
42bb5626dc wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo
d9788c59a4 wip: refactor(client): migrate components to composition api 2022-01-15 20:42:30 +09:00
syuilo
d820a979c1 wip: refactor(client): migrate components to composition api 2022-01-15 20:35:10 +09:00
syuilo
19484b63b4 wip: refactor(client): migrate components to composition api 2022-01-15 17:58:35 +09:00
syuilo
1edd4334cd wip: refactor(client): migrate components to composition api 2022-01-15 16:40:15 +09:00
syuilo
f087242caa wip: refactor(client): migrate components to composition api 2022-01-14 23:23:08 +09:00
syuilo
431054040f wip: refactor(client): migrate paging components to composition api 2022-01-14 12:02:10 +09:00