Commit Graph

1378 Commits

Author SHA1 Message Date
かっこかり e75d749784
fix(frontend): ダイアログのお知らせが画面からはみ出ることがある問題を修正 (#15878)
* fix(frontend): ダイアログのお知らせが画面からはみ出ることがある問題を修正

* Update Changelog

* 🎨

* 🎨

* enhance: スクロールしないと閉じられないように

* Update CHANGELOG.md
2025-05-04 15:50:05 +09:00
かっこかり 0884605b62
fix(frontend): MkFolderのアニメーションにフォールバックを追加 (#15937)
* fix(frontend): Chrome系以外のブラウザでMkFolderがアニメーションしない問題を修正

* fix

* Update Changelog

* fix
2025-05-04 14:06:43 +09:00
かっこかり 8dbd8ff4cf
enhance(frontend): タイムラインpush時のアニメーションを調整 (#15936)
* fix(frontend): タイムラインpush時のアニメーションを復元

* 🎨

* enhance: 消える際のアニメーションも追加

* better support for non-supported browsers

* fix: Skip Note Rendering有効時、TransitionGroupでnoteを追加するときに一瞬がくっとなる問題を修正

* 🎨

* fix
2025-05-04 13:52:01 +09:00
syuilo 5aeedf59ff enhance(frontend): 中クリックでPullToRefreshするように
Close #15931
2025-05-04 11:04:51 +09:00
syuilo 590cb5f4dd perf(frontend): improve MkInstanceTicker rendering performance 2025-05-04 06:43:53 +09:00
syuilo 90e69f4d10
add note 2025-05-03 21:51:58 +09:00
syuilo e76e2534d7 perf(frontend): improve MkPullToRefresh render performance 2025-05-03 21:40:18 +09:00
syuilo 27682b980c
tweak MkPullToRefresh.vue 2025-05-03 21:14:59 +09:00
syuilo ef79cc290f perf(frontend): tweak PageWithHeader 2025-05-03 20:15:18 +09:00
syuilo e7c170cf0c tweak MkPullToRefresh 2025-05-03 18:35:43 +09:00
syuilo f0544ede87 tweak MkPullToRefresh 2025-05-03 16:51:23 +09:00
syuilo df1a3742dd feat(frontend): マウスでもタイムラインを引っ張って更新できるように & MkPullToRefreshのパフォーマンス向上 2025-05-03 10:26:40 +09:00
Julia d10fdfe973
Merge commit from fork
* SP-2025-03.1 always wrap icon&thumbnail URLs

if they're not HTTP URLs, the frontend won't be able to display them
anyway (`<img src="mailto:…">` or '<div stile="background-image:
url(nntp:…)">` aren't going to work!), so let's always run them through the
media proxy, which will fail harder (fetching a `javascript:` URL
won't do anything in the backend, might do something in the frontend)
and will always protect the client's address in cases like `gemini:`
where the browser could try to fetch

* SP-2025-03.2 use object binding for more styles

interpolating a random (remote-controlled!) string into a `style`
attribute is a bad idea; using VueJS object binding, we should get
proper quoting and therefore safe parse failures instead of CSS
injections / XSS

* SP-2025-03.3 slightly more robust "self" URL handling

parse URLs instead of treating them as strings; this is still not
perfect, but the `URL` class only handles full URLs, not relative
ones, so there's so way to ask it "give me a URL object that
represents this resource relative to this base URL"

notice that passing very weird URLs to `MkUrl` and `MkUrlPreview` will
break the frontend (in dev mode) because there's an untrapped `new
URL(…)` that may explode; production builds seem to safely ignore the
error, though

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-04-29 08:15:54 +09:00
syuilo e5fcb5b53f enhance(frontend): disable router view transition
Fix #15723
2025-04-28 21:25:47 +09:00
syuilo cf07e1e4b9 perf(frontend): improve timeline performance 2025-04-28 12:53:58 +09:00
syuilo 4054f1a0c4 🎨 2025-04-28 10:07:23 +09:00
syuilo c99f4dc4ce enhance(frontend): add drive tip 2025-04-28 09:46:41 +09:00
syuilo 83893ce52f fix syntax errors 2025-04-27 20:04:13 +09:00
syuilo 0a1ff77f23 perf(frontend): use css-native implementation for spacer rather than vue component 2025-04-27 19:55:56 +09:00
syuilo 0f9dff0521 enhance(frontend): improve usability 2025-04-27 17:43:30 +09:00
syuilo 14d3439a42 enhance(frontend): タイムラインをスワイプで切り替えられるように
Resolve #15722
2025-04-27 17:38:48 +09:00
syuilo 889295d621 fix(frontend): スワイプが効かないなど、不具合の元になるmarginをgapに置き換え 2025-04-27 17:29:17 +09:00
syuilo e24a2362fd refactor(frontend): PageWithHeaderにMkSwiperを持たせるように 2025-04-27 17:16:51 +09:00
syuilo 66187174d4 🎨 2025-04-27 13:41:41 +09:00
かっこかり 6a69e4180b
fix(frontend): PageWithHeaderからPageHeaderに全Propsが伝わっていなかった問題を修正 (#15858) 2025-04-27 10:46:55 +09:00
syuilo 5042a0aa8f fix(frontend): タイムラインでノートが重複して表示されることがあるのを修正
Fix #15870
Close #15874
2025-04-27 09:16:17 +09:00
syuilo 7b38806413
feat: Job queue inspector (#15856)
* wip

* wip

* Update job-queue.vue

* wip

* wip

* Update job-queue.vue

* wip

* Update job-queue.vue

* wip

* Update QueueService.ts

* Update QueueService.ts

* Update QueueService.ts

* Update job-queue.vue

* wip

* wip

* wip

* Update job-queue.vue

* wip

* Update MkTl.vue

* wip

* Update index.vue

* wip

* wip

* Update MkTl.vue

* 🎨

* jobs search

* wip

* Update job-queue.vue

* wip

* wip

* Update job-queue.vue

* Update job-queue.vue

* Update job-queue.vue

* Update job-queue.vue

* wip

* Update job-queue.job.vue

* wip

* wip

* wip

* Update MkCode.vue

* wip

* Update job-queue.job.vue

* wip

* Update job-queue.job.vue

* Update misskey-js.api.md

* Update CHANGELOG.md

* Update job-queue.job.vue
2025-04-19 14:00:38 +09:00
zyoshoka 978ab2f848
fix(storybook): implement missing stories (#15862) 2025-04-18 18:56:46 +09:00
syuilo fd61ac5221 refactor(frontend): refactor styles 2025-04-17 20:23:27 +09:00
anatawa12 5a9f54a07a
Complete unicode emoji after last colon (#13384)
* chore: add types on MkAutocomplete

* feat: complete `:emoji:` to unicode emoji

* chore: do not use fuzzy match for emojiComplete

* docs(changelog): Unicode絵文字をslugから入力する際に`🆗`のように最後の`:`を入力したあとにUnicode絵文字に変換できるように

* docs(changelog): update changelog insertion position

* chore: improve indent

---------

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-16 11:25:21 +09:00
anatawa12 0257d54add
fix: ノートの直後のノートを表示する機能で表示が逆順になっていた問題を修正 (#15841)
* fix: 特定のノート直前のノートを表示する機能で表示が逆順になっていた問題を修正

* docs(changelog): ノートの直後のノートを表示する機能で表示が逆順になっていた問題を修正

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-16 11:16:14 +09:00
syuilo 17e7340933 enhance(frontend): テーマでページヘッダーの色を変更できるように 2025-04-16 10:59:05 +09:00
syuilo 6d90e09a58 enhance(frontend): タイムライン以外でもスクロール位置の保持を試みるように 2025-04-16 10:35:05 +09:00
syuilo 75267f87d5 refactor(frontend): アカウント情報はstore管理に 2025-04-16 09:25:13 +09:00
syuilo de19d9a4d4 refactor(frontend): MkHorizontalSwipe -> MkSwiper 2025-04-15 20:48:25 +09:00
syuilo 165830d6c8 コミット忘れ 2025-04-15 20:34:00 +09:00
anatawa12 6bd45a27b1
fix: フォルダを開いた状態でメニューからアップロードしてもルートフォルダにアップロードされる問題 (#15836)
* fix: フォルダを開いた状態でメニューからアップロードしてもルートフォルダにアップロードされる問題

* docs(changelog): Fix: フォルダを開いた状態でメニューからアップロードしてもルートフォルダにアップロードされる問題を修正 #15836
2025-04-15 16:09:04 +09:00
syuilo 7c0806f208 feat(frontend): chat column
Resolve #15830
2025-04-15 15:36:53 +09:00
syuilo 58cb7cf179 update i18n 2025-04-08 20:58:56 +09:00
syuilo c500e4392a hideNotesInSensitiveChannel -> excludeNotesInSensitiveChannel 2025-04-08 20:50:38 +09:00
syuilo 3d206d2a0f enhance(frontend): 設定検索時に対象が含まれるMkFolderを自動で開いておくように 2025-04-08 08:43:56 +09:00
syuilo 278629046a 🎨 2025-04-08 08:31:52 +09:00
syuilo 3374a587a1 refactor 2025-04-08 08:28:17 +09:00
syuilo 65b4458474 fix(frontend): fix drawer menu style 2025-04-07 19:31:15 +09:00
syuilo 3a8d015194 enhance(frontend): improve search index 2025-04-07 17:03:43 +09:00
anatawa12 85a7b10fcd
refactor serach index generator code (#15772)
* refactor: flatten search index

* chore: use Function() to simplify parsing attribute

* chore: remove comment handling

* chore: simplify processing SearchLabel and SearchKeyword element

* chore: use SearchLabel in mutedUsers

* chore: small improvements

* chore: remove a fallback path and simplify the entire code

* fix: result path is not correct

* chore: inline function
2025-04-07 14:35:32 +09:00
syuilo 2349a5d20e 🎨
Fix #15753
2025-04-07 10:29:51 +09:00
syuilo 6ef5c8bb92 enhance(frontend): improve migration of old settings 2025-04-07 10:21:49 +09:00
syuilo f9a3db2ac3 refactor(frontend): refactor styles 2025-04-05 19:49:29 +09:00
syuilo f71843a7d3 refactor(frontend): refactor divider of panel style 2025-04-05 19:45:11 +09:00
anatawa12 22f874c81d
fix: chromatic failure (#15757) 2025-04-05 08:46:48 +09:00
anatawa12 5949bb6c7f
fix: unnecesary HMR when we opened setting page (#15756)
* refactor: add MarkerIdAssigner instead of processVueFile and remove transformedCodeCache object

* chore: add minimatch, a glob matcher

* chore: expose MarkerIdAssigner from plugin

* Revert "chore: expose MarkerIdAssigner from plugin"

This reverts commit 88c6d820f8.

* chore: add plugin to generate virtual module

* chore: parse inlining earlier

* chore: use virtual module in search

* chore: use remove old generation

* chore: fix type errors

* chore: add patch to workaround vitejs/vite#19792

* chore: improve filtering files to process

* chore: rename plugin

* docs: add comment for plugin ordering

* fix: unnecessary log

* fix: spdx license header
2025-04-05 08:46:17 +09:00
syuilo 440a4a4d8b refactor(frontend): refactor MkDateSeparatedList 2025-04-03 15:42:25 +09:00
syuilo 7cecaa5c54 perf(frontend): avoid main thread scroll repaint 2025-04-03 14:32:42 +09:00
Nanashi. 98eadd7093
feat: アンテナでセンシティブなチャンネルからのノートを除外できるように (#15346)
* feat(db): マイグレーションを追加

* feat(backend): カラムの定義を追加

* wip

* feat: フラグを設定出来るように

* feat: /notesエンドポイントを対応

* feat: websocketを対応

* test: テストを追加

* docs: CHANGELOGを更新

* docs: CHANGELOGの追加場所を修正

* chore: api.jsonを更新

* docs(CHANGELOG): General欄に移動

* docs: フォーマットを揃える

* chore: クエリを削除

* revert: 英訳を消す

* chore: note.channelを追加するところを変える

* docs: CHANGELOGを更新する

* docs(CHANGELOG): 2025.3.2に移動

* chore: changelogを下に移動

* ci: CI再実行用の空コミット

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-02 16:01:24 +09:00
syuilo d0a98f6e6c fix(frontend): Fix #15744 2025-04-02 13:04:03 +09:00
syuilo 70133a88f2 🎨 2025-04-01 16:52:59 +09:00
syuilo 165c7993e6 fix(frontend): fix PageWithAnimBg style 2025-04-01 13:28:13 +09:00
syuilo 08072e294b 🎨 2025-03-31 20:17:48 +09:00
かっこかり 15a5bb17e3
fix(frontend): チャットのデザイン調整 (#15708)
* fix(frontend): チャットのデザイン調整

* remove unused locales

* 🎨

* Update XMessage.vue

* Update XMessage.vue

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-03-31 17:33:00 +09:00
syuilo 93214862b1 🎨 2025-03-31 13:18:50 +09:00
syuilo ea722b8360 🎨 2025-03-31 13:00:34 +09:00
syuilo 8baf54e629 fix(frontend): fix ad rendering of timeline 2025-03-31 11:01:32 +09:00
syuilo e0d8702839 perf(frontend): tweak MkRange 2025-03-30 18:13:39 +09:00
syuilo 6e929ece6f fix(frontend): suppress inject warn 2025-03-30 18:13:08 +09:00
syuilo 17f3113b92 🎨 2025-03-30 14:30:04 +09:00
syuilo c03f9bff0a 🎨 2025-03-30 11:52:51 +09:00
syuilo 88c743aa33 chore(frontend): remove unused style 2025-03-30 11:45:41 +09:00
syuilo aeda34e5e7 fix(frontend): 広告が無い場合の表示を修正 2025-03-30 09:11:59 +09:00
syuilo 7d842c1a95 fix(frontend): avoid naming confliction of MkAd 2025-03-30 09:07:15 +09:00
syuilo a420a95fae perf(frontend): アニメーション無効時のパフォーマンスを向上 2025-03-30 08:49:14 +09:00
syuilo d9012740a1 enhance(frontend): アイコンのスクロール追従を無効化してパフォーマンス向上できるように 2025-03-29 20:56:59 +09:00
syuilo fb1542429f 🎨 2025-03-29 18:03:31 +09:00
syuilo 25db8c2fa9 🎨 2025-03-29 17:59:09 +09:00
syuilo 7c06ffc422 refactor 2025-03-29 17:28:20 +09:00
syuilo 609a37742c clean up 2025-03-29 16:11:15 +09:00
syuilo d9d796b204 lint fixes 2025-03-29 16:09:27 +09:00
syuilo 6c2c3f08be refactor(frontend): use symbol for di 2025-03-29 16:04:01 +09:00
syuilo e5e4390494 fix(frontend): suppress inject warn 2025-03-29 16:01:51 +09:00
syuilo 5a09e7a8b4 lint 2025-03-29 15:57:34 +09:00
syuilo 7d8c98767a lint 2025-03-29 15:53:44 +09:00
syuilo 1af4081090 enhance(frontend): disable horizontal swipe for timeline/notifications to improve ux 2025-03-29 15:00:29 +09:00
syuilo 33e76f9dfc Revert "🎨"
This reverts commit 3451c9a0de.
2025-03-29 13:55:05 +09:00
syuilo 3451c9a0de 🎨 2025-03-29 13:39:44 +09:00
syuilo fc88410c0d refactor(frontend): tweak MkNotes and MkNotifications 2025-03-29 13:34:53 +09:00
syuilo 3682c0069c Revert "test"
This reverts commit 2b42e8f171.
2025-03-29 12:27:13 +09:00
syuilo 2b42e8f171 test 2025-03-29 11:18:49 +09:00
syuilo a25fa62d64 enhance(frontend): ファイルアップロード処理のリファクタと設定の簡略化 2025-03-28 09:47:34 +09:00
syuilo 61e09d483e refactor 2025-03-28 09:22:37 +09:00
syuilo 22f99b42f6 enhance(frontend): refactor and improve ux 2025-03-25 18:30:28 +09:00
syuilo ef0b97b2dc fix(frontend): コンパネ>通報 の各通報のユーザー詳細が表示できない問題を修正
Fix #15704
2025-03-25 16:17:10 +09:00
syuilo 304d0eb83b enhance: チャットルームに招待されたときの通知を追加 2025-03-25 15:25:43 +09:00
かっこかり 5513337198
fix(frontend): 本番環境で不必要なconsole.logを出さないように (#15702) 2025-03-25 08:02:06 +09:00
syuilo f1f24e39d2
Feat: Chat (#15686)
* wip

* wip

* wip

* wip

* wip

* wip

* Update types.ts

* Create 1742203321812-chat.js

* wip

* wip

* Update room.vue

* Update home.vue

* Update home.vue

* Update ja-JP.yml

* Update index.d.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* Update home.vue

* clean up

* Update misskey-js.api.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lint fixes

* lint

* Update UserEntityService.ts

* search

* wip

* 🎨

* wip

* Update home.ownedRooms.vue

* wip

* Update CHANGELOG.md

* Update style.scss

* wip

* improve performance

* improve performance

* Update timeline.test.ts
2025-03-24 21:32:46 +09:00
syuilo 0471e457fe fix(frontend): fix broken styles 2025-03-23 21:23:52 +09:00
syuilo b5f86e5210 refactor(frontend): refactor page styles 2025-03-22 18:25:45 +09:00
syuilo 96a7c4a568 fix(frontend): チャンネルのフッターが表示されない問題を修正 2025-03-21 21:04:38 +09:00
syuilo ce858a676b refactor(frontend): use PageWithHeader instead of MkStickyContainer+MkPageHeader combination 2025-03-20 21:04:37 +09:00
syuilo 1fd87bd2e4 fix(frontend): prevent transition glitch of MkHorizontalSwipe 2025-03-20 20:28:16 +09:00
syuilo 6015254e59 lint fixes 2025-03-20 19:00:09 +09:00