Commit graph

638 commits

Author SHA1 Message Date
syuilo 0513ff8b4e refactor 2023-05-24 17:29:58 +09:00
syuilo d2eec3a9e4 refactor 2023-05-24 14:34:46 +09:00
Acid Chicken (硫酸鶏) ee3f408c7d
feat: impl IdlingRenderScheduler (#10547)
* feat: impl IdleRender

* test: pin time on Chromatic

* test: pin time on Chromatic

* fix: typo

* style: rename

* style: rename

* chore: back to setTimeout

* style: linebreak

* refactor: remove unused budget option

* refactor: use raw unix time

* fix: conflict error

* fix: floor

* fix: subtract

* Revert "fix: subtract"

This reverts commit 2ef4afaafc.

* Revert "fix: floor"

This reverts commit bef8ecdf45.

* Revert "refactor: use raw unix time"

This reverts commit 5199e13cb2.
2023-05-20 03:38:07 +09:00
syuilo c713af8e23 refactor 2023-05-19 18:16:26 +09:00
syuilo 56d4658b36 refactor(frontend): use css module 2023-05-19 14:08:51 +09:00
syuilo f68008b002 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-19 13:58:33 +09:00
syuilo 6a5ef5b6f2 refactor 2023-05-19 13:58:09 +09:00
まっぴー 8317772436
fix:Firefoxでサインアップする時、メールアドレスがユーザー名として認識される#10523 (#10869)
* fix:Firefoxでサインアップする時、メールアドレスがユーザー名として認識される

* Update CHANGELOG.md

edit CHANGELOG.md
2023-05-19 11:35:46 +09:00
syuilo f68c743f39 add note 2023-05-19 09:48:48 +09:00
tamaina 59255e11b8
perf: MkImgWithBlurhashとMkMediaImageを最適化 (#10782)
* #10781

* fix tsconfig

* fetch image??

* Revert "fetch image??"

This reverts commit 0925c28d5a.

* wip

* Revert "wip"

This reverts commit be97c6cb88.

* loading="eager"

* loading="eager" 2

* error

* wip

* wip

* wip

* wip

* clean up

* fix

* 生成するworkerを1つにする?

* clean up

* use buraha

* wip

* smaller width, height

* update buraha

* clean up

* fix

* Update MkMediaImage.vue

* Update MkImgWithBlurhash.vue

* Revert "fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正"

This reverts commit 41e9aa6f9b.

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update CHANGELOG.md

* wait for decode

* fix

* ?

* (test) remove container-type: inline-size;

* Revert "(test) remove container-type: inline-size;"

This reverts commit 9448e64228.

* container-name

* Revert "container-name"

This reverts commit 94385d3221.

* width: 100%;

* improve performance

* refactor

* wip

* WIP

* wip

* Revert "wip"

This reverts commit 36e3b75cab.

* Revert "WIP"

This reverts commit 05b729ef91.

* Revert "wip"

This reverts commit 0801e79361.

* #10860

* wip

* no worker

* Revert "no worker"

This reverts commit a9c49e4fb4.

* ✌️

* workerNumber固定は不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-19 09:44:06 +09:00
syuilo 3804c6e7ad feat: センシティブなカスタム絵文字のリアクションを受け入れない設定を追加 2023-05-19 09:43:38 +09:00
syuilo 527a13b77d enhance(frontend): リアクションの取り消し/変更時に確認ダイアログを出すように 2023-05-19 09:15:24 +09:00
syuilo 231506772a tweak of 7ce569424 2023-05-18 20:17:32 +09:00
syuilo 7ce569424a feat: カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように 2023-05-18 18:45:49 +09:00
tamaina dd60f1a533 fix(frontend/MkUrlPreview): summalyがエラーになった際の挙動を修正 2023-05-17 20:00:28 +00:00
Acid Chicken (硫酸鶏) 45263f4cd0
ci: stop MkGalleryPostPreview snapshot 2023-05-17 07:51:45 +00:00
syuilo 7b012967d9 refactor(frontend): MFMコンポーネントのリファクタ & パフォーマンスを改善 2023-05-17 11:50:37 +09:00
syuilo e126083e10 fix(frontend): コンポーネントのpropを非lowerCamelCaseで渡すと機能しない 2023-05-17 11:42:50 +09:00
syuilo ca2ed0a59b 🎨 2023-05-17 11:08:46 +09:00
syuilo 5d22e113b2 🎨 2023-05-17 10:52:22 +09:00
syuilo ed3c137543 Revert "refactor: define _IS_CHROMATIC_"
This reverts commit a35f0d43e4.
2023-05-16 19:37:15 +09:00
syuilo a35f0d43e4 refactor: define _IS_CHROMATIC_ 2023-05-16 19:24:10 +09:00
syuilo 153eed7d71 fix(frontend/test): MkAnimBgで毎回Chromaticの差分が生成されないように 2023-05-16 18:41:34 +09:00
syuilo d10d5a8d53 enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように
Resolve #10646
2023-05-16 12:16:37 +09:00
syuilo 23f106a0c1 refactor(frontend): boot分割したり副作用減らしたりとか
#10838
2023-05-15 19:08:46 +09:00
syuilo d867fc00b6 clean up 2023-05-15 16:25:44 +09:00
syuilo 60f504bbe2 fix(frontend): ツールチップが永久にDOMに残ることがある問題を修正
#10805
2023-05-15 14:29:35 +09:00
syuilo f4e6d73a8a refactor 2023-05-15 13:57:36 +09:00
syuilo 0717afc312 refactor(frontend): use composition api 2023-05-14 12:23:39 +09:00
syuilo 3d4a90b08a refactor(frontend): use composition api 2023-05-14 11:43:56 +09:00
syuilo 238d0fa667 refactor 2023-05-14 10:50:21 +09:00
syuilo a979fb9207 change(frontend): 動的ページのコンポーネントを削除 2023-05-14 10:31:48 +09:00
syuilo 8c97c54cfa refactor(frontend): use css modules 2023-05-14 10:21:56 +09:00
syuilo 89a3195dfd 🎨 2023-05-14 09:54:35 +09:00
syuilo 1eaf287b9c 🎨 2023-05-14 09:44:57 +09:00
syuilo 9166a58c5f 🎨 2023-05-13 20:50:21 +09:00
syuilo f983e44d9e fix(frontend): fix retention rate heatmap rendering 2023-05-12 12:15:54 +09:00
syuilo d1c2e4aaa0 refactor 2023-05-12 11:46:13 +09:00
syuilo 055dc6bb66 enhance(frontend): add retention line chart 2023-05-12 10:29:27 +09:00
syuilo f06339b970 🎨 2023-05-12 08:26:06 +09:00
syuilo 3370419b0a 🎨 2023-05-12 08:20:36 +09:00
syuilo 8ddae83c40
fix MkUserSetupDialog.Privacy.vue 2023-05-11 21:24:27 +09:00
syuilo 2b26a2f5e4 enhance(frontend): アカウント初期設定ウィザードにプライバシー設定を追加 2023-05-11 20:54:47 +09:00
syuilo 9e464eaa63 fix(frontend): fix retention chart rendering 2023-05-11 18:20:48 +09:00
syuilo 177359689e fix(frontend): カラーバーがリプライには表示されないのを修正 2023-05-11 16:26:35 +09:00
syuilo ea9a95cd98 delete unused component 2023-05-10 17:53:49 +09:00
syuilo ed634b4b3d refactor(frontend): use css module 2023-05-10 17:53:01 +09:00
syuilo f9f115b66d refactor(frontend): use css module 2023-05-10 17:49:30 +09:00
syuilo 37c119e1f5 refactor 2023-05-10 17:45:13 +09:00
syuilo 0729678398 fix(frontend): ブラーエフェクトを有効にしている状態で高負荷になる問題を修正 2023-05-10 12:24:50 +09:00
syuilo baa45859c1 refactor(frontend): use css modules 2023-05-09 18:47:06 +09:00
tamaina 6894e42674 fix(client): MkUserInfoのフォローボタンが変な位置にある問題を修正 2023-05-09 06:33:50 +00:00
syuilo 80619260c1 fix(frontend): ユーザー選択ダイアログが表示されない問題を修正
Fix #10809
2023-05-09 13:57:43 +09:00
syuilo aa28ddf762 fix(frontend): fix e2e 2023-05-09 08:33:57 +09:00
syuilo b16d7cc6c4 chore(frontend): より柔軟な文言に変更 2023-05-09 08:09:16 +09:00
syuilo 8f36a80775 fix e2e test 2023-05-09 08:01:54 +09:00
syuilo a531b8aeee refactor for e2e 2023-05-09 07:49:53 +09:00
syuilo f8ed6b1a54 refactor 2023-05-08 18:30:40 +09:00
syuilo 41e9aa6f9b fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正
Fix #10801
2023-05-08 18:23:35 +09:00
Acid Chicken (硫酸鶏) 1a96425768
chore: 猫耳の先端って本来少し丸まっているものなのではないだろうか (#10800)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-08 17:51:52 +09:00
syuilo 6fd63c1fb6 tweak of #10799 2023-05-08 17:49:19 +09:00
syuilo 85a4c8dbb1
feat(frontend): アカウント初期設定ウィザード (#10799)
* wip

* 🎨

* 🎨

* wip

* wip

* 🎨

* Update CHANGELOG.md

* wip

* Update MkUserSetupDialog.vue

* add stories

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

* update stories

* Update MkUserSetupDialog.Follow.stories.impl.ts

* test: load mock user account

* ✌️

* ✌️

* test: reset on each render

* test: use id to identify

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-05-08 17:29:19 +09:00
syuilo d5e92c3822 refactor(frontend): use css modules 2023-05-08 10:32:08 +09:00
syuilo 151586ab60 refactor 2023-05-08 08:52:01 +09:00
syuilo 5c80d9093b fix(frontend): fix MkInput style 2023-05-08 08:13:41 +09:00
tamaina 44ba2fd7cb fix(client): Fix #10746
NSFWメディアの上に表示された「もっと見る」ボタンが押しづらい問題を修正
2023-05-07 12:37:11 +00:00
Acid Chicken (硫酸鶏) d526cd70fd
fix: use max-width instead of width 2023-05-07 19:21:55 +09:00
Acid Chicken (硫酸鶏) 9016573736
chore: min-scale for MkAcct 2023-05-07 19:08:43 +09:00
syuilo 448a933f77 enhance(frontend): モデレーターはノートに添付された画像上から直接NSFW設定できるように 2023-05-07 18:18:32 +09:00
syuilo 8310d929dc enhance(frontend): 閲覧注意設定された画像は表示した状態でもそれが閲覧注意だと分かる表示をするように 2023-05-07 17:57:55 +09:00
syuilo e36f9599d2 🎨 2023-05-06 09:53:09 +09:00
syuilo 9ee002285d 🎨 2023-05-05 08:37:20 +09:00
syuilo febb9f388c enhance(frontend): make MkCondensedLine experimental 2023-05-05 08:34:05 +09:00
Acid Chicken (硫酸鶏) 2cfed3395e
feat: condense acct (#10753)
* feat: condense acct

* fix: watch parent element size

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-05 08:16:55 +09:00
syuilo 2c606028b3 :art 2023-05-05 08:05:04 +09:00
syuilo d535ec21a2 feat: チャンネルに色を設定できるように 2023-05-02 09:36:40 +09:00
syuilo 0cbdbf24f1 Create MkColorInput.vue 2023-05-02 09:23:30 +09:00
syuilo 4495969d7f Update MkInput.vue 2023-05-02 09:22:37 +09:00
syuilo f5e9886c70 Update MkInput.vue 2023-05-02 09:17:10 +09:00
syuilo 1631e62739 refactor(frontend): use css modules 2023-05-02 09:07:57 +09:00
Namekuji d28866f71a
enhance: account migration (#10592)
* copy block and mute then create follow and unfollow jobs

* copy block and mute and update lists when detecting an account has moved

* no need to care promise orders

* refactor updating actor and target

* automatically accept if a locked account had accepted an old account

* fix exception format

* prevent the old account from calling some endpoints

* do not unfollow when moving

* adjust following and follower counts

* check movedToUri when receiving a follow request

* skip if no need to adjust

* Revert "disable account migration"

This reverts commit 2321214c98.

* fix translation specifier

* fix checking alsoKnownAs and uri

* fix updating account

* fix refollowing locked account

* decrease followersCount if followed by the old account

* adjust following and followers counts when unfollowing

* fix copying mutings

* prohibit moved account from moving again

* fix move service

* allow app creation after moving

* fix lint

* remove unnecessary field

* fix cache update

* add e2e test

* add e2e test of accepting the new account automatically

* force follow if any error happens

* remove unnecessary joins

* use Array.map instead of for const of

* ユーザーリストの移行は追加のみを行う

* nanka iroiro

* fix misskey-js?

* ✌️

* 移行を行ったアカウントからのフォローリクエストの自動許可を調整

* newUriを外に出す

* newUriを外に出す2

* clean up

* fix newUri

* prevent moving if the destination account has already moved

* set alsoKnownAs via /i/update

* fix database initialization

* add return type

* prohibit updating alsoKnownAs after moving

* skip to add to alsoKnownAs if toUrl is known

* skip adding to the list if it already has

* use Acct.parse instead

* rename error code

* 🎨

* 制限を5から10に緩和

* movedTo(Uri), alsoKnownAsはユーザーidを返すように

* test api res

* fix

* 元アカウントはミュートし続ける

* 🎨

* unfollow

* fix

* getUserUriをUserEntityServiceに

* ?

* job!

* 🎨

* instance => server

* accountMovedShort, forbiddenBecauseYouAreMigrated

* accountMovedShort

* fix test

* import, pin禁止

* 実績を凍結する

* clean up

* ✌️

* change message

* ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに

* Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに"

This reverts commit 3bd7be35d8.

* validateAlsoKnownAs

* 移行後2時間以内はインポート可能なファイルサイズを拡大

* clean up

* どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする

* handle error?

* リモートからの移行処理の条件を是正

* log, port

* fix

* fix

* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost

* fix indent

* fix

* experimental

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-30 00:09:29 +09:00
tamaina 87657d0acf wip 2023-04-29 14:01:25 +00:00
Acid Chicken (硫酸鶏) 9d5911d4e4
feat: make MkImgWithBlurhash transitionable (#10500)
* feat: make `MkImgWithBlurhash` animatable

* refactor: split out transition styles

* fix: bug

* test: waitFor image loads

* style: remove unused await

* fix

* fix type error

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-29 22:57:46 +09:00
かっこかり 8fbca63cec
feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647)
* (add) renote user dialog

* (change) noteMenu order

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

* (change) menu text

* Update CHANGELOG.md

* (change) dialog title text

* (fix) grammar mistakes in CHANGELOG.md

* (change) i18n keys

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-29 15:48:06 +09:00
syuilo 59dc9516d0 refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
syuilo e461fb169e refactor(frontend): refactor MkNumberDiff.vue 2023-04-22 17:24:19 +09:00
syuilo eb0e2ceef7 🎨 2023-04-22 17:11:13 +09:00
syuilo 2718d86171 🎨 2023-04-22 16:04:03 +09:00
syuilo d437e148db 🎨 2023-04-22 12:50:40 +09:00
syuilo eacdc0136f 🎨 2023-04-22 12:19:49 +09:00
syuilo 5a7a1d0be9 🎨 2023-04-22 10:50:54 +09:00
syuilo 9145302b3a fix(frontend): fix wrong icon name 2023-04-22 08:00:37 +09:00
syuilo 18df1c7a52 Revert "🎨"
This reverts commit af738d9ca9.
2023-04-21 09:29:32 +09:00
syuilo af738d9ca9 🎨 2023-04-20 20:01:54 +09:00
syuilo 795cb1ecf4 🎨 2023-04-20 15:39:59 +09:00
syuilo 206baa13e6 enhance(frontend): tweak retention rate heatmap rendering 2023-04-20 10:41:09 +09:00
syuilo 7cc797062d tweak MkSignupDialog.rules.vue 2023-04-20 10:11:48 +09:00
syuilo 67d218fe2b tweak MkSignupDialog.rules.vue 2023-04-20 09:52:08 +09:00
syuilo e1f9ab77f8
feat: Server rules (#10660)
* enhance(frontend): サーバールールのデザイン調整

* enhance(frontend): i18n

* enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動

* enhance(frontend): サーバールールのデザイン調整

* Update CHANGELOG.md

* 不要な差分を削除

* fix(frontend): lint

* ui tweak

* test: add stories

* tweak

* test: bind args

* test: add interaction tests

* fix bug

* Update packages/frontend/src/pages/admin/server-rules.vue

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>

* Update misskey-js.api.md

* chore: windowを明示

* 🎨

* refactor

* 🎨

* 🎨

* fix e2e test

* 🎨

* 🎨

* fix icon

* fix e2e

---------

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-19 21:24:31 +09:00
SASAGAWA Kiyoshi b26807b59b
fix: text color of follow button (#10672) 2023-04-19 08:24:37 +09:00
syuilo 9ad250bbb8 enhance(frontend): improve MkPostForm behaviour 2023-04-16 07:59:23 +09:00
tamaina 15761a0fa8
enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452)
* ✌️

* fix

* ✌️

* 422px上限

* 334

* min-height: 130px

* 64px

* fix

* wip

* ✌️

* fix

* max-height: none

* MkImgWithBlurHashでratioを計算する

* wip

* fix

* fix?

* Revert "fix?"

This reverts commit e39d832dd1.

* Revert "fix"

This reverts commit 15be36ba55.

* Revert "wip"

This reverts commit af7d86f69d.

* fix

* Revert "Revert "wip""

This reverts commit bb0036ae22.

* Revert "Revert "fix""

This reverts commit c1d94a45c5.

* Revert "Revert "fix?""

This reverts commit 9cb4fbfd96.

* fix

* use clamp

* readable

* add 1:1, 3:4

* moveComment

* 3:4 → 2:3

* fix

* default

* fallback

* Revert "fallback"

This reverts commit 741717dd49.

* Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
#10626
2023-04-15 21:35:19 +09:00
かっこかり bcbf06ac8c
feat(client): データセーバーモードの追加 (#10478)
* change nsfw settings

* Update CHANGELOG.md

* (fix) eliminate warning message when manually hide

* Apply suggestions from code review

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

* (change) translation key

* revert nsfw settings (partial)

* (add) data saver setting

* Integrate MkMediaBlurhash and MkImgWithBlurhash

* Update CHANGELOG.md

* 🎨

* リモートのファイルでsizeが0の場合は表示しない, refを作らない

* fix

* かっこ

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-15 15:29:57 +09:00
Acid Chicken (硫酸鶏) c47a0f78ff
fix(client): cat ears are clipped in MkReactionsViewer (#10445)
* fix: cat ears are clipped in MkReactionsViewer

* fix: missing padding

* fix border

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-14 16:00:41 +09:00
Acid Chicken (硫酸鶏) 47c7b4b9cc
fix(#10609): remove isChromatic on real build (#10613)
* perf: remove isChromatic on real build

* revert: Revert #10475 in MkTime

This reverts commit 7d11cf8ec9.

* @rollup/plugin-replace as dependencies

* fix pnpm-lock,yaml

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 23:23:11 +09:00
tamaina 55c10d0d88 fix(client): fix narrow style of MkPostForm 2023-04-13 11:27:21 +00:00
happo31 dffefdad95
fix: #9998 MkNote.vue, MkNoteDetailed.vue で、特定のMFMによってフッターのボタンが押せなくなる (#9999)
* fix(client): add `overflow: clip;`

* fix(client): add `overflow: clip;`

* Revert "fix(client): add `overflow: clip;`"

This reverts commit c43226afde.

Revert "fix(client): add `overflow: clip;`"

This reverts commit c722515105.

* feat(client): add z-index to .footer
2023-04-13 15:43:10 +09:00
tamaina 7d11cf8ec9 Revert #10475 in MkTime 2023-04-13 03:38:43 +00:00
Acid Chicken (硫酸鶏) 9bb6c536c0
test(#10336): add components/Mk[A-B].* stories (#10475)
* chore(#10336): register snippets

* test(#10336): add `components/Mk[A-B].*` stories

* build: desynced lockfile

* ci(#10336): preload assets

* ci(#10336): use pull_request

* build: update lockfile

* fix: reactivity transform

* chore: track upstream changes

* refactor: avoid temporary previous tapping declarations

* revert: avoid temporary previous tapping declarations

This reverts commit e649b1b1e6.

* test: flaky snapshots

* style: import
2023-04-13 12:20:39 +09:00
syuilo 5d56799070 feat: role timeline
Resolve #10581
2023-04-12 11:40:08 +09:00
tamaina 81d2c5a4a7
enhance: カスタム絵文字関連の変更 (#9794)
* PackedNoteなどのemojisはプロキシしていないURLを返すように

* MFMでx3/x4もしくはscale.x/yが2.5以上に指定されていた場合にはオリジナル品質の絵文字を使用する

* update CHANGELOG.md

* fix changelog

* ??

* wip

* fix

* merge

* Update packages/frontend/src/scripts/media-proxy.ts

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

* merge

* calc scale

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-12 10:58:56 +09:00
tamaina 0db88a5a3b
refactor: サウンド関連の設定をpizzaxに移行 (#8105)
* 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を戻した

* backend/src/web/index.ts

* notification-badges

* add scripts

* change create-notification.ts

* 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

* refactor

* キャッシュ対策

* Truncate push notification message

* fix

* wip

* clean up

* migration

* migration

* comment

* move soundConfigStore

* ✌️

* clean up

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

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* remove reversi setting

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

* return createEmptyNotification()

* fix

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

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

* pollEnded

* pollEnded

* URLをsw.jsに戻す

* clean up

* clean up

* update sounds.vue

* update

* fix type

* ✌️

* ;v;

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-12 10:39:57 +09:00
syuilo de0577bc38 enhance(frontend): tweak post form style 2023-04-11 14:57:06 +09:00
たーびん f6dc100748
fix #10554 チャンネルの検索用ページとAPIの追加 (#10555)
* add channel search

* move  channel search to channel list page

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
2023-04-11 07:42:27 +09:00
tamaina 567c66567e fix(client): 🎨 fix MkEmojiPicker safe-area-inset-bottom
Fix https://github.com/misskey-dev/misskey/pull/10534
2023-04-10 16:46:58 +00:00
syuilo 29c9a7d71a enhance(frontend): 常に広告を見られるオプションを追加 2023-04-10 10:22:25 +09:00
YS 3ec060f0dc
MkContainer.vue i18n をtemplateから見えるように (#10560) 2023-04-10 08:31:06 +09:00
Takeshi Kishi e58b357918
fix(client): PWA時の絵文字ピッカーの位置をホームバーに重ならないように調整 (#10534)
* fix emoji picker padding

emoji picker bottoms are hidden by iPhone Home Bar.
To fix this, add safe-area padding

* update CHANGELOG
2023-04-09 01:37:45 +09:00
syuilo eefa06622b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-08 15:53:39 +09:00
syuilo 132feea1fa :art 2023-04-08 15:49:29 +09:00
Acid Chicken (硫酸鶏) 33e9428510
chore: disable sampling for cat ears (#10513)
* chore: sample 3px for cat ears

* fix: typo

* chore: disable avatar plot for cat ears
2023-04-08 06:22:39 +00:00
syuilo 551b00302b use css module 2023-04-08 14:32:21 +09:00
Namekuji 25ebb73756
feat: account migration (#10507)
* add Move activity

* add endpoint to move from local to remote

* follow move activity coming to inbox

* fix move endpoint

* add known-as endpoint to create account alias

* add migration page

* add route to migration page

* add move and known-as endpoints

* fix dependnecies error

* fix new endpoints

* fix move activity id

* fix refollow

* add movedToUri and alsoKnownAs to api

* fix moveToUri indicator

* fix missing context

* add chengelog

* rename MkMoved to MkAccountMoved

* add missing semicolon

* fix targetUri

* fix followings query

* remove redundant null check
2023-04-08 14:16:26 +09:00
syuilo 40b3041608 tweak MkWindow.vue 2023-04-08 13:01:28 +09:00
syuilo e3b8e8746e lint fixes 2023-04-08 12:57:05 +09:00
syuilo 33bce49ee8 lint fix 2023-04-08 12:56:21 +09:00
remi 44a4faebc0
feat: add minimize/Fold button for windows (#10508)
* add window minimizing!

* Fix window being able to go offscreen

* Revert en-US.yml changes

---------

Co-authored-by: mothmoon <remilia@remilia.se>
2023-04-08 12:55:05 +09:00
Acid Chicken (硫酸鶏) abda3b6c8c
ci(#10336): use TurboSnap (#10494)
* ci(#10336): use TurboSnap

* build: fix version

* ci(#10336): update build dir

* chore(#10336): fire changes

* chore: stabilize icon width on `PageHeader`

* chore: fire changes

* ci: invalid ignore

* ci: trace logs

* chore: debug

* revert: debug

This reverts commit 2329165e25.

* chore: do not reuse build dir

* build: scripts

* ci: tweak

* revert: re-revert debug

This reverts commit 596ef05d9e.

* chore: detect changes manually

* fix: syntax

* ci: do not use only-changed

* ci: fix command

* revert: re-re-revert debug

This reverts commit b027170d75.

* ci: use build dir

* revert: re-re-re-revert debug

This reverts commit 529ab126ed.

* ci: fix path

* revert: re-re-re-re-revert debug

This reverts commit 0b0c0b9ea4.

* ci: fix typo

* ci: only show story files

* revert: re-re-re-re-re-revert debug

This reverts commit 9f5b88df32.

* ci: skip when no stories found

* ci: use skip

* revert: re-re-re-re-re-re-revert debug

This reverts commit 0df4bdc30b.

* ci: fix micromatch version

* revert: re-re-re-re-re-re-re-revert debug

This reverts commit 63063b02bb.

* revert: re-re-re-re-re-re-re-re-revert debug

This reverts commit 01d9669e2a.

* chore: pin tabler icon width globally

* ci: notify when Chromatic skips

* ci: fix endpoint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-07 20:34:23 +09:00
syuilo 19349b930a 🎨 2023-04-06 08:23:00 +09:00
Acid Chicken (硫酸鶏) 3b3f683f8c
feat(#8149): respect nsfw settings on gallery list (#10481)
* feat(#8149): respect nsfw settings on gallery list

* ci(#10336): use pull_request

* test(#8149): add interaction tests

* test(#10336): use `waitFor`

* chore: transition
2023-04-06 08:19:49 +09:00
Acid Chicken (硫酸鶏) 41aafdea00
test(#10336): stabilize MkError stories 2023-04-06 03:10:45 +09:00
syuilo 0bb882c9d4 🎨 2023-04-05 15:45:44 +09:00
tamaina 6798effbab
enhance(client): 投稿フォームをちょっといい感じに (#10442)
* .formラッパーを削除

* fix type of MkPostFormAttaches

* 🚀

* 🎨

* 🎨

* 🎨

* 🎨

* specifiedの時は連合なしをdisabledに

* ✌️

* set select default

* gap: 2px (max-width: 500px) / 4px

* wip

* ✌️

* 🎨

* fix maxTextLength

* 今後表示しない

* 🎨

* cache channel

* 🎨

* 連合なしにする

* use i18n.ts.neverShow

* ✌️

* refactor

* fix indent

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 14:30:03 +09:00
Acid Chicken (硫酸鶏) 7bd0001e76
Merge branch 'develop' into fix/visibility-widening 2023-04-05 00:41:49 +09:00
syuilo 6954a6300c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-04 14:07:04 +09:00
syuilo 30d6992684 perf(backend): 通知をRedisに保存するように
Resolve #10168
2023-04-04 14:06:57 +09:00
tamaina c25d89ef9c fix(client): fix prop type in MkOmit 2023-04-04 01:45:01 +00:00
Acid Chicken (硫酸鶏) 38d0b62167
build(#10336): Storybook & Chromatic & msw (#10365)
* build(#10336): init

* fix(#10336): invalid name conversion

* build(#10336): load locales and vite config

* refactor(#10336): remove unused imports

* build(#10336): separate definitions and generated codes

* refactor(#10336): remove hatches

* refactor(#10336): module semantics

* refactor(#10336): remove unused common preferences

* fix: typo

* build(#10336): mock assets

* build(#10336): impl `SatisfiesExpression`

* build(#10336): control themes

* refactor(#10336): semantics

* build(#10336): make .storybook as an individual TypeScript project

* style(#10336): use single quote

* build(#10336): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(#10336): update dependencies

* docs: note about Storybook

* build(#10336): sync

* build(#10336): full reload server on change

* chore: use defaultStore instead

* build(#10336): show popups on Story

* refactor(#10336): remove redundant div

* docs: fix

* build(#10336): interactions

* build(#10336): add an interaction test for `<MkA/>`

* build(#10336): bump storybook

* docs(#10336): mention to pre-build misskey-js

* build(#10336): write stories for `MkAcct`

* build(#10336): write stories for `MkAd`

* build(#10336): fix missing type definition

* build(#10336): use `toHaveTextContent`

* build(#10336): write some stories

* build(#10336): hide internal args

* build(#10336): generate `components/global` stories only

* build(#10336): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(#10336): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(#10336): note development status

* build(#10336): use chokidar-cli

* docs(#10336): note chokidar-cli mode

* chore(#10336): untrack generated stories files

* fix: pointer handling

* build(#10336): finalize

* chore: add static option to `MkLoading`

* refactor(#10336): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(#10336): make storybook buildable

* build(#10336): staticify assets

* build(#10336): staticified directory structure

* build(#10336): normalize path for Windows

* ci(#10336): create actions

* build(#10336): ignore tsc errors

* build(#10336): ignore tsc errors

* build(#10336): missing dependencies

* build(#10336): missing dependencies

* build(#10336): use fast-glob

* fix: invalid lockfile

* ci(#10336): increase heap size

* build(#10336): use unpkg for storybook tabler icons

* build(#10336): use unpkg for storybook twemojis

* build(#10336): disable `ProfilePageCat`

* build(#10336): blur `MkA` before interaction ends

* ci(#10336): stabilize

* ci(#10336): fetch-depth

* build(#10336): isChromatic

* ci(#10336): notify on changes

* ci(#10336): fix typo

* ci(#10336): missing working directory

* ci(#10336): skip build

* ci(#10336): fix path

* build(#10336): fails on Windows

* build(#10336): available on Windows

* ci(#10336): disable animation on chromatic

* ci(#10336): add static option to `PageHeader.tabs`

* chore: void

* ci(#10336): change parameters

* docs(#10336): update CONTRIBUTING

* docs(#10336): note about meta overriding and etc.

* ci(#10336): use Chromatic for checks

* ci(#10336): use `pull_request` instead of `pull_request_target` for now

* ci(#10336): use `exitOnceUploaded`

* ci(#10336): reuse built storybook

* ci(#10336): back to `pull_request_target`

* chore: unused dependencies

* style(#10336): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00
A.Yamamoto ce1fb06ce8
Merge branch 'develop' into fix/visibility-widening 2023-04-03 15:08:54 +09:00
Acid Chicken (硫酸鶏) 8a9847b06a
Merge branch 'develop' into acid-chicken-patch-1 2023-04-03 13:01:15 +09:00
syuilo c032dd1214 fix(frontend): tweak MkPagination behaviouyr 2023-04-03 11:50:17 +09:00
A.Yamamoto a46bfc7c14
レビュー対応
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-03 11:24:19 +09:00
na2na-p 3877b366b3
除外範囲考慮するように 2023-04-03 10:16:43 +09:00
syuilo 9224b6635f refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
syuilo f16a7cbcf2 refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
syuilo 7a8a756789 refactor(frontend): remove $instance 2023-04-01 13:46:04 +09:00
syuilo c823cbe63b refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
Acid Chicken (硫酸鶏) 14977ed2b7
fix: the avatar in the title bar is clipped 2023-03-31 07:47:03 +00:00
Acid Chicken (硫酸鶏) 13a406b6cf
Merge branch 'develop' into acid-chicken-patch-1 2023-03-31 16:41:55 +09:00
tamaina 6a4d56c81c fix(client): set overflow: clip to page header title container
#10413
2023-03-31 07:38:28 +00:00