Commit graph

2923 commits

Author SHA1 Message Date
かっこかり
4f85b6aa91
fix(frontend): Twitchの埋め込みが開けない問題を修正 (#14247)
* fix(frontend): twitchの埋め込みが開けない問題を修正

* Update Changelog

* fix test
2024-07-18 15:41:32 +09:00
かっこかり
ec91e18899
fix(frontend): add missing import (follow-up of #12265) 2024-07-18 01:56:02 +09:00
かっこかり
25b65925f7
refactor: misskey-assetsサブモジュールを削除 (#12818)
* (change) misskey-assetsサブモジュールを削除

* なんか残ってた
2024-07-18 01:47:11 +09:00
かっこかり
3331f3972a
fix(frontend): 「アニメーション画像を再生しない」がオンのときにバナー画像・サーバー背景画像がアニメーションしないように (#14243)
* fix: stop animating banner and backgrounds when stop showing animated images is enabled

(cherry picked from commit 8fe2596316)

* chore: nest ternary

(cherry picked from commit 2783fe5f5b)

* chore: flip ternary

(cherry picked from commit b9d66f824c)

* update changelog

---------

Co-authored-by: Marie <marie@kaifa.ch>
2024-07-18 01:22:24 +09:00
woxtu
6942a920c8
refactor(frontend): Improve typing (#14240)
* Improve typing

* Remove redundant promise

* Refactor

* Update packages/frontend/src/scripts/mfm-function-picker.ts

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* Update packages/frontend/src/scripts/mfm-function-picker.ts

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-07-18 00:31:52 +09:00
Chocolate Pie
68bcd91d57
chore: Use clipboard API directly (#14227)
* chore: Use clipboard API directly

* fix: Fix lint
2024-07-17 21:52:05 +09:00
FineArchs
070f0e723d
AiScriptを0.19.0にアップデート (#14226)
* Update autogen files

* Update CHANGELOG.md

* Update flash-edit.vue
2024-07-17 16:55:17 +09:00
KevinWh0
374a16a0d4 Fix vertical align of ... 2024-07-16 23:26:15 +02:00
KevinWh0
5e65b6d01d Merge develop into feature/search-drive-via-alt-text 2024-07-16 23:02:15 +02:00
KevinWh0
f97417cfca Add stuff talked about on MR 2024-07-16 22:06:38 +02:00
Eiichi Yoshikawa
3b075c9c44
fix(frontend): MkSignin.vueのcredentialRequestからReactivityを削除 (#14223)
* Remove reactivity from credentialRequest in MkSignin.vue

* Update Changelog
2024-07-16 08:38:42 +09:00
Marie
b9d66f824c chore: flip ternary 2024-07-15 18:51:04 +00:00
Marie
2783fe5f5b chore: nest ternary 2024-07-15 16:54:29 +00:00
dakkar
ded459304e preserve ti-fw classes for icons - fixes #580
I thought that `ti-fw` was mostly useless, but it turns out that:

- it affects the alignment of icons in many places

- it's set separately in some places
  (e.g. `packages/frontend/src/ui/_common_/navbar.ts` has `<i
  class="ti-fw" :class="[$style.itemIcon,
  navbarItemDef[item].icon]"></i>`)

so we have to keep it around.
2024-07-15 16:33:10 +01:00
Marie
8fe2596316 fix: stop animating banner and backgrounds when stop showing animated images is enabled 2024-07-15 10:48:05 +00:00
viridian
70c87848dd feat: Filter notifications by edit 2024-07-14 23:55:25 +02:00
easrng
16795f18a7
Enhance(frontend): Allow negative delay in MFM (#14200)
Co-authored-by: easrng <me@easrng.net>
2024-07-14 21:31:30 +09:00
かっこかり
722acf5986
fix(frontend): follow-up of #13089 (#14206)
* fix(frontend): #13089 を修正

* fix

* 正規表現を強化

* fix
2024-07-14 17:28:34 +09:00
かっこかり
b9f3fccfac
fix(frontend): Nested RouteのときにRouterViewに当たるキーがルートのpathとぶち当たる可能性があるのを修正 (#14202)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 16:21:59 +09:00
かっこかり
3c032dd5b9
enhance: 非ログイン時には別サーバーに遷移できるように (#13089)
* enhance: 非ログイン時にはMisskey Hub経由で別サーバーに遷移できるように

* fix

* サーバーサイド照会を削除

* クライアント側の照会動作

* hubを経由せずにリモートで続行できるように

* fix と pleaseLogin誘導箇所の追加

* fix

* fix

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 15:27:52 +09:00
かっこかり
6dd6fcf88f
enhance(frontend): サーバー情報・お問い合わせページを改修 (#14198)
* improve(frontend): サーバー情報・お問い合わせページを改修 (#238)

* Revert "Revert "enhance(frontend): add contact page" (#208)" (This reverts commit 5a329a09c987b3249f97f9d53af67d1bffb09eea.)

* improve(frontend): サーバー情報・お問い合わせページを改修

(cherry picked from commit e72758d8cda3db009c5d1bf1f4141682931b91f8)

* fix

* Update Changelog

* tweak

* lint

* 既存の翻訳を使用するように

---------

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
2024-07-14 14:49:50 +09:00
Sayamame-beans
7afa593d11
Feat: ユーザーのアイコン/バナーの変更可否をロールで設定可能に (#14078)
* feat: implement role policy "canUpdateBioMedia"

* docs(changelog): update changelog

* docs(changelog): update changelog

* chore: regenerate misskey-js type definitions

* chore: Apply suggestion from code review

Co-authored-by: anatawa12 <anatawa12@icloud.com>

* chore: fix unnecessarily strict inequality check

* chore: policies should be gotten only once

---------

Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:31:05 +09:00
かっこかり
b5fd6183d2
deps(frontend): AiScript VSCodeのバージョンを上げる (#14199) 2024-07-14 08:00:27 +09:00
かっこかり
bcc92d546f
fix(frontend): ホットキーのレートリミットがallowRepeatを考慮しない問題を修正 (#14192) 2024-07-13 16:15:25 +09:00
かっこかり
1b175ea759
fix(frontend): すでにfocus trap対象の要素にinertがかかっている場合は解除するように (#14189)
* fix(frontend): すでにfocus trap対象の要素にinertがかかっている場合は解除するように

* 他のfocus-trapped要素とのインタラクションがある場合の動作を変更

* typo
2024-07-13 13:02:27 +09:00
dakkar
872460404a use correct user for preview/link of collapsed parent - fixes #575 2024-07-12 12:17:30 +01:00
dakkar
d433c336d8 only require alt-text on image/video/audio - fixes #536 2024-07-12 11:40:37 +01:00
かっこかり
76b1c74a37
fix(frontend): use proper import path 2024-07-12 16:39:09 +09:00
かっこかり
385969e9f5
fix(frontend): フォーカスの挙動を修正 (#14158)
* fix(frontend): 直前のパターンを記録するように

* fix(frontend): フォーカス/タブ移動に関する挙動を調整 (#226)

Cherry-pick commit e8c030673326871edf3623cf2b8675d68f9e1b13

Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com>

* focusのデザイン修正

* move scripts

* Modalにfocus trapを追加

* 記録するホットキーはレートリミット式にする

* escキーのハンドリングをMkModalに統一

* fix

* enterで子メニューを開けるように

* lint

* fix focus trap

* improve switch accessibility

* 一部のmodalのフォーカストラップが外れない問題を修正

* fix

* fix

* Revert "記録するホットキーはレートリミット式にする"

This reverts commit 40a7509286a87911ad4cc06d9482e8a2e5d0e7e8.

* Revert "fix(frontend): 直前のパターンを記録するように"

This reverts commit 5372b2594023952cff34aa62253ed4efef15b5dd.

* Revert "Revert "fix(frontend): 直前のパターンを記録するように""

This reverts commit a9bb52e799e110927ad92cd8f26af980819334e1.

* Revert "Revert "記録するホットキーはレートリミット式にする""

This reverts commit bdac34273e0bc5f13604c7e2f9fa6b1321a0df3d.

* 試験的にCypressでのFocustrapを無効化

* fix

* fix focus-trap

* Update Changelog

* ✌️

* fix focustrap invocation logic

* スクロールがsticky headerを考慮するように

* 🎨

* スタイルの微調整

* 🎨

* remove deprecated key aliases

* focusElementが足りなかったので修正

* preview系にfocus時スタイルが足りなかったので修正

* `returnFocusElement` -> `returnFocusTo`

* lint

* Update packages/frontend/src/components/MkModalWindow.vue

* Apply suggestions from code review

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>

* keydownイベントをまとめる

* use correct pesudo-element selector

* fix

* rename

---------

Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-12 16:25:44 +09:00
かっこかり
121af778a0
enhance(frontend): 未使用のサウンド設定を削除 (#14116)
* enhance(frontend): 未使用のサウンド設定を削除

* Update Changelog

* Update CHANGELOG.md
2024-07-11 18:44:18 +09:00
かっこかり
6b876da44a
enhance(frontend): ウェルカムタイムラインのデザインを調整 (#14156)
* enhance(frontend): 非ログイン時のハイライトTLのデザイン調整

* Update Changelog

* fix cw handling

* ホバーしてたらスクロールを止めるように

* fix

* lint
2024-07-11 18:41:04 +09:00
woxtu
679318541a
Improve background color specification (#14176) 2024-07-11 16:29:18 +09:00
かっこかり
02e0a86b12
fix(frontend): remove unused statement
fix #14162
2024-07-10 01:00:40 +09:00
かっこかり
a5407131d4
fix/refactor(frontend): hotkeyの改修 (#14157)
* improve(frontend): hotkeyの改修 (#234)

(cherry picked from commit 678be147f4db709dadf25d007cc2e679e98a370e)

* Change path, add missing script

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>

* fix

* fix

* add missing keycodes

* fix

* update changelog

---------

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
2024-07-09 17:59:15 +09:00
かっこかり
b9ed3b2427
fix(dev): devサーバーで/notes/に直でアクセスしたらサーバー側のレスポンスが返ってくる問題を修正 (#14137) 2024-07-06 11:46:43 +09:00
syuilo
6dd2e9fc0b refactor(frontend): refactor popup api and make sure call dispose callback
Close #14122
2024-07-04 13:14:49 +09:00
zyoshoka
fab7d5e484
fix(storybook): build skipping even after updating impl story files (#14124) 2024-07-04 12:33:43 +09:00
syuilo
427648c4b8
update deps (#14057)
* wip

* locales/index.jsのymlファイル取得ロジックを調節

* regenerate pnpm-lock.yaml

* fix(backend): typecheck fails

* chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend

* chore: migrate ESLint configs to flat config (#14094)

* chore: migrate ESLint configs to flat config

* fix: update paths

* fix: frontend lint fails

* refactor(misskey-js): lint build.js

* update deps

---------

Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <root@zyoshoka.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-02 11:38:34 +09:00
zyoshoka
f1b1e2a7cc
fix(storybook): prevent infinite remount of component (#14101)
* fix(storybook): prevent infinite remount of component

* fix: disable flaky `.toMatch()` test
2024-07-02 10:57:20 +09:00
Leah
b5a69c3aea Add locales for search bar 2024-06-28 17:17:13 +02:00
Leah
1c0b1cab4f Style the searchbar 2024-06-28 16:55:48 +02:00
Leah
2ebdc36c7a Add search for files in drive 2024-06-28 16:27:28 +02:00
dakkar
7bafb3ab2e rename our components - fixes #534 2024-06-28 11:10:21 +01:00
woxtu
4096dabe1e
Add null checking (#14089) 2024-06-27 21:59:19 +09:00
ぬるきゃっと
77012f2f29
fix(frontend): テーマプレビューが見れない問題を修正 (#14097)
* fix(frontend): テーマプレビューが見れない問題を修正

* fix: MkPreview.vue, preview.vue
2024-06-27 10:40:46 +09:00
yupix
1c5d0cf536
feat: アンテナの編集画面のボタンにgapを追加 (#14091) 2024-06-26 10:25:18 +09:00
woxtu
634764e1a6
refactor(frontend): Remove unused directives (#14085) 2024-06-24 21:32:12 +09:00
dakkar
4bcad17013 fix "detailed" component load 2024-06-22 22:17:32 +01:00
woxtu
b269c43168
Fix type annotations (#14071) 2024-06-23 01:00:12 +09:00
dakkar
e082cbe669 make same replacements to Sk* 2024-06-22 16:14:06 +01:00
dakkar
5461c040ba move icon replacements to their own file 2024-06-22 15:53:36 +01:00
dakkar
5e3b21fd09 replaced last few ti-* 2024-06-22 15:53:36 +01:00
dakkar
fccfde8f2b replaced many more ti-* 2024-06-22 15:53:36 +01:00
dakkar
f2c56f395e replaced more ti-* 2024-06-22 15:53:36 +01:00
dakkar
138127a5b6 replaced ti-apps and a few more 2024-06-22 15:53:36 +01:00
dakkar
9f8873574c replaced tool pencil bell refresh 2024-06-22 15:53:36 +01:00
dakkar
b675c66d70 replaced another bunch, and some fixes 2024-06-22 15:53:36 +01:00
dakkar
712682ea47 replaced ti-whirl 2024-06-22 15:53:36 +01:00
dakkar
df26b6501d replaced a bunch of ti-* 2024-06-22 15:53:32 +01:00
dakkar
fc00c7401e replaced ti-arrow-back-up ti-quote ti-send 2024-06-22 15:53:13 +01:00
dakkar
4910c1f030 replaced most ti-arrow* 2024-06-22 15:53:13 +01:00
dakkar
db0c17dd3e replaced ti-movie 2024-06-22 15:53:13 +01:00
dakkar
3d917a4430 fix eye-closed → ti-eye-exclamation
we use eye-slash for sensitive, only in a few places we used
eye-closed and I think we shouldn't
2024-06-22 15:53:13 +01:00
dakkar
b34a8a9a69 replaced ti-clock 2024-06-22 15:53:13 +01:00
dakkar
acddf7e149 replaced ti-rocket ti-repeat ti-repeat-off 2024-06-22 15:53:13 +01:00
dakkar
172f9e7443 replaced ti-player-* and ti-volume-* 2024-06-22 15:53:13 +01:00
dakkar
d21d428d64 replaced ti-music 2024-06-22 15:53:13 +01:00
dakkar
0b72513ce5 replaced ti-external-link 2024-06-22 15:53:13 +01:00
dakkar
48d29fa1ae replaced ti-hourglass-empty and ti-search 2024-06-22 15:53:13 +01:00
dakkar
a25f13cb67 replaced ti-leaf and ti-hash 2024-06-22 15:53:13 +01:00
dakkar
d6ba786169 replaced ti-asterisk and ti-mood-happy 2024-06-22 15:53:13 +01:00
dakkar
5a016778d4 fix an icon 2024-06-22 15:53:13 +01:00
dakkar
ad56e745c8 replaced ti-file*
and some simplification
2024-06-22 15:53:13 +01:00
dakkar
e1bf3e2fff replaced ti-video 2024-06-22 15:53:13 +01:00
dakkar
834e449978 replaced ti-photo 2024-06-22 15:53:13 +01:00
dakkar
99d7ba8bbc replaced ti-upload 2024-06-22 15:53:13 +01:00
dakkar
8f60c6d7e1 replaced ti-cloud 2024-06-22 15:53:13 +01:00
dakkar
e84844b4ae replaced ti-id 2024-06-22 15:53:13 +01:00
dakkar
dfc5cbd5d7 replaced ti-trash 2024-06-22 15:53:13 +01:00
dakkar
f1bfe9602e replaced ti-forms 2024-06-22 15:53:13 +01:00
dakkar
cf9e5d72e0 replaced ti-app-window 2024-06-22 15:53:13 +01:00
dakkar
20aff7dd74 replaced ti-folder-plus 2024-06-22 15:53:13 +01:00
dakkar
f28095ddeb replaced ti-folder 2024-06-22 15:53:13 +01:00
dakkar
d4e1df7243 replaced ti-x 2024-06-22 15:53:13 +01:00
dakkar
bdffa579b8 replaced ti-help-circle 2024-06-22 15:53:13 +01:00
dakkar
cd3b8e6d8f replaced ti-chevron-down 2024-06-22 15:53:13 +01:00
dakkar
fb618dc624 replaced ti-chevron-up 2024-06-22 15:53:13 +01:00
dakkar
232bbd20e3 replaced ti-copy 2024-06-22 15:53:13 +01:00
dakkar
582f4b01ce replaced ti-cookie 2024-06-22 15:53:13 +01:00
dakkar
e1074c22ba replaced ti-device-tv 2024-06-22 15:53:13 +01:00
dakkar
318e5ff0f9 replaced ti-minus 2024-06-22 15:53:13 +01:00
dakkar
180ba9f5df replaced ti-plane-departure 2024-06-22 15:53:13 +01:00
dakkar
721b41a436 replaced ti-checklist 2024-06-22 15:53:13 +01:00
dakkar
5e465e222e simplify the announcement icons 2024-06-22 15:53:13 +01:00
dakkar
d2b4b2fb94 replaced ti-info-circle 2024-06-22 15:53:13 +01:00
dakkar
5409440501 replaced ti-exclamation-circle and ti-user-exclamation 2024-06-22 15:53:13 +01:00
dakkar
527bbd036c replaced ti-users 2024-06-22 15:53:13 +01:00
dakkar
84fd5822bc remove our icon classes from a test file 2024-06-22 15:53:13 +01:00
dakkar
3f38f409f9 replaced ti-reload 2024-06-22 15:53:13 +01:00
dakkar
278916be58 replaced ti-alert-triangle with ph-warning-circle 2024-06-22 15:53:13 +01:00