Commit graph

453 commits

Author SHA1 Message Date
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
syuilo
9bc5d52e41 feat: チャンネルにノートをピン留めできるように
Resolve #7740
2023-03-31 15:01:56 +09:00
syuilo
f0a70a70c3 refactor 2023-03-31 14:14:30 +09:00
syuilo
ffbe896f28 enhance(client): ノートのリアクションを大きく表示するオプションを追加 2023-03-30 12:49:23 +09:00
Acid Chicken (硫酸鶏)
49d4c538fe
fix: typo 2023-03-29 23:37:43 +09:00
Acid Chicken (硫酸鶏)
4d3f0be419
chore: respect the animation preference 2023-03-27 05:16:39 +00:00
Acid Chicken (硫酸鶏)
07cfab0489
fix: add tight state to cat ears for workarounds 2023-03-26 09:36:46 +00:00
Acid Chicken (硫酸鶏)
453574644c
fix: add workaround for cat ears on iOS Safari 2023-03-26 09:25:51 +00:00
syuilo
5f52b13325 enhance(frontend): クリップボタンをノートアクションに追加できるように 2023-03-24 16:54:37 +09:00
Acid Chicken (硫酸鶏)
7f9a41b05c
fix: redesign cat ears (#10039)
* fix: viewing disgusting objects when user is a cat with having transparent avatar

* chore: mask cat ears when useBlurEffect is enabled

* fix: typo

* style: add comment

* chore: shrink mask

* chore: blur mask

* refactor: minify

* chore: use SVG to determine ear color

* style: comment

* refactor: use `<component>`

* refactor: separate cat definitions

* refactor: use singleton SVG definitions

* perf: use CSS instead of SVG

* refactor: unused definer

* refactor: not used anymore

* refactor: minify

* refactor: minify

* fix: import
2023-03-23 18:06:26 +09:00
syuilo
3d6aaa7aaa tweak drive-cleaner 2023-03-20 13:20:21 +09:00
Kagami Sascha Rosylight
c091d9e6d5
feat(frontend/MkUrlPreview): oEmbedのサポート (#10306)
* feat(frontend/MkUrlPreview): oEmbedのサポート

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* playerとoEmbedの統合

* Update CHANGELOG.md

* loading=lazyはここでは不要

* border: 0

* プレビュー直後にautoplayできる機能の復旧

* add test

* refactor test

* explain about cache

* expandPreviewはもう使わない

* summaly v4

* update summaly

* scrolling=no to fix pixiv

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-19 16:59:31 +09:00
syuilo
ac0e0122f6 refactor 2023-03-17 15:09:43 +09:00
syuilo
58fc17e3b6 fix: tweak retention rate aggregation 2023-03-15 17:43:13 +09:00
Kagami Sascha Rosylight
0d2bee787d
fix(frontend/XHome): fall back to user.uri if user.url does not exist (#10313)
* fix(frontend/XHome): fall back to user.uri if user.url does not exist

* Update CHANGELOG.md
2023-03-13 09:46:33 +09:00
Kagami Sascha Rosylight
1ea4469bec
fix(frontend/MkSignup): prevent uncaught errors from interrupted signup (#10265)
* fix(frontend/MkSignup): prevent uncaught errors from interrupted signup

* nullable sitekey

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-11 14:32:13 +09:00
tamaina
88e3d3e8cb
enhance(server): 画像圧縮周り(主にサムネイルの仕様)の変更 (#10287)
* DriveService, is-mime-image

* static, previewをavifに, アニメーション画像でもthumbnailを生成

* fallback

* animated: true

* fix

* avatarはwebp

* revert ?? file.url

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-11 14:11:40 +09:00
nenohi
e13202a452
Issue:#9828対応 (#9916) 2023-03-10 19:30:21 +09:00
syuilo
258bd3c905 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-10 14:22:42 +09:00
YS
b7c26dc29d
絵文字ピッカーのすべての絵文字でマウスホバー時にtitle表示されるように (#9765)
* 絵文字ピッカーの絵文字アイコン選択のコンポーネント化とすべてでtitle表示

* コンポーネント化を取り消し、イベントとデータ属性で行う

* fix typo

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 14:15:49 +09:00
syuilo
66aef2e716 🎨 2023-03-10 14:07:34 +09:00
tamaina
89393aaf95
Merge pull request #10248 from saschanaz/alt-pre-line
fix(frontend/MkMediaList): altメッセージのnewlineを認識
2023-03-10 00:17:06 +09:00
syuilo
fcb6e0adb9 chore(test): data属性がclassになっているのを修正 2023-03-09 19:59:11 +09:00
Acid Chicken (硫酸鶏)
93ea9c2033
chore(frontend): add debugger for #6864 (#10270) 2023-03-09 14:35:38 +09:00
tamaina
c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002)
* refreshAccounts
Resolve #9322

* アカウント管理画面でリストを更新するように

* Update packages/frontend/src/account.ts

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

* ✌️

* クライアント起動時は現在ログインしているアカウントのみリフレッシュする

* clean up

* なんかめっちゃ変えた

* refactor

* refactor

* fix lint

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
Kagami Sascha Rosylight
4835f0fb43
fix(frontend): GIFバナーの復活など (#10247)
* Restore GIF banner

* Add ALT banner, detect APNG too

* Add vitest

* Add CI for vitest

* Upload coverage?

* frontend
2023-03-09 12:48:39 +09:00
syuilo
6607b39235 fix(client): ロールで広告を無効にするとadmin/adsでプレビューがでてこない
Fix #10272
2023-03-09 12:28:40 +09:00
Ebise Lutica
9d1a874ddc
フォローリクエストのUI改善 (#10275)
* フォローリクエストのUI改善

* Update CHANGELOG.md
2023-03-09 12:17:34 +09:00
RyotaK
116dd097bd
fix: 登録フォームにおける競合状態を修正 (#10267)
* fix: 登録フォームにおける競合状態を修正

* エラーを修正
2023-03-08 16:32:13 +09:00
syuilo
dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo
b20703c185 tweak of 0554dd8375 2023-03-07 19:48:51 +09:00
syuilo
0554dd8375 enhance(client): DM作成時にメンションも含むように 2023-03-07 17:12:46 +09:00
RyotaK
6feead5185
fix: 登録時のフォームにおいて送信できる条件を修正 (#10238)
* fix: 登録時のフォームにおいて送信できる条件を修正

* テストを追加
2023-03-07 16:07:13 +09:00
Kagami Sascha Rosylight
d90a98a8a7 fix(frontend/MkMediaList): altメッセージのnewlineを認識 2023-03-06 22:02:51 +01:00
syuilo
353b1cc682 [ci skip] 🎨 2023-03-05 20:52:26 +09:00
syuilo
4480fa1efe refactor(client): use css module 2023-03-05 20:28:39 +09:00
syuilo
f8ab34734c enhance(client): tweak MkFolder component 2023-03-05 20:28:27 +09:00
syuilo
aa01ba7cce enhance(client): tweak brain diver detection 2023-03-05 20:00:37 +09:00
syuilo
7b8e1e6913 enhance(client): tweak signup form 2023-03-05 14:05:28 +09:00
syuilo
5d46c1c9bb (CSS完全に)理解した 2023-03-03 14:55:56 +09:00
syuilo
87c6d0cbee 🎨 2023-03-03 12:29:34 +09:00
syuilo
3066a133ac fix(client): prevent null reference error 2023-03-03 11:43:53 +09:00
syuilo
cf8a7f93d5 🎨 2023-03-03 08:48:52 +09:00
syuilo
187a698d54 🎨 2023-03-02 20:47:24 +09:00
syuilo
ebd7b27075 clean up 2023-03-02 18:40:55 +09:00
syuilo
dad915e522 enhance(client): provide sticktyFooter 2023-03-02 18:40:43 +09:00
syuilo
39e41d7424 🎨 2023-03-01 17:30:23 +09:00
Kagami Sascha Rosylight
6d82371449
fix(frontend): read KeyboardEvent.key instead of which/code (#10083) 2023-03-01 15:24:09 +09:00
Khsmty
c34e7e6e08
enhance(client): Renote した時の表示をリップルエフェクトと toast に (#10116)
* enhance(client): Renote した時の表示を toast に

* fix: lint エラー

* enhance(client): Renote した時の表示をリップルエフェクトに

* toast も追加

* rippleeffect のタイミング変更

* toast の位置を header に被らないように
2023-03-01 14:55:57 +09:00
syuilo
78d66d3806 🎨 2023-03-01 14:54:02 +09:00
syuilo
44f041587c 🎨 2023-03-01 14:46:53 +09:00
syuilo
064a6bf065 🎨 2023-03-01 10:56:51 +09:00
syuilo
7c3a390763 enhance(client): ノートの操作部をホバー時のみ表示するオプション 2023-02-28 20:53:32 +09:00
tamaina
17d0bde50e
fix(client): photoswipe(画像の拡大表示)がなんか変 (#10138)
* fix(client): photoswipe(画像の拡大表示)がなんか変
Fix  #10037

* important

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-28 17:26:42 +09:00
tamaina
12932d2831
fix: 外部メディアプロキシ使用時にアバタークロップができない問題を修正 (#10142)
* wip

* fix

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

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-28 17:14:23 +09:00
syuilo
785c67ea8d 🎨 2023-02-28 15:27:54 +09:00
syuilo
d8dcce807b fix(client): モバイル環境でポップアップが表示されない
Fix #10110
2023-02-26 20:51:06 +09:00
Khsmty
72888b4814
enhance(client): photoswipe 表示時に戻る操作をしても前の画面に戻らないように (#10098)
* enhance(client): photoswipe 表示時に戻る操作をしても前の画面に戻らないように

* add: changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 12:25:27 +09:00
syuilo
24553eb69a 🎨 2023-02-25 18:03:16 +09:00
syuilo
86eab355c6 🎨 2023-02-25 17:49:54 +09:00
syuilo
e7a1046b87 enhance(client): tweak contextmenu position calculation 2023-02-25 13:44:37 +09:00
syuilo
a683278fb8 enhance(client): renoteした際の表示を改善
Resolve #10078
2023-02-25 09:44:35 +09:00
YS
cc8d60e53b
バックグラウンドで一定時間経過したらページネーションのアイテム更新をしない (#10053) 2023-02-25 08:18:12 +09:00
syuilo
0691901345 enhance(client): improve clip menu ux 2023-02-24 20:48:19 +09:00
tamaina
5c989ed18f
fix/refaftor(client): MkTime.vueの変更 (#10061)
* fix(client): MkTime.timeにstringでもDateでない値が入った場合、?を表示

* fix(client): MkTimeを改良

* numberを許容

* falsyな値もとる

* 不明

* ありません

* fix
2023-02-24 16:21:49 +09:00
taiy
8856d68571
enhance(client): MkUrlPreviewの閉じるボタンを見やすく (#9913)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-24 14:38:47 +09:00
syuilo
ff8437c378 enhance(client): ローカルのみ -> 連合なし
Resolve #10055
2023-02-24 10:24:25 +09:00
tamaina
becc4d2e54
fix: i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042)
* wip

* fix

* create migration

* oops

* fix front const

* changelog

* fix type

* fix

* wip

* Revert "wip"

This reverts commit 6cdb3600e280be3550b8b6353b2c7930f7b31438.

* enumのこす

* fix

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-23 20:46:14 +09:00
syuilo
c174f23389 chore(client): tweak custom emoji size 2023-02-23 15:42:57 +09:00
syuilo
fb7e5a3fac enhance(client): tweak renote collapsing logic 2023-02-23 08:08:17 +09:00
syuilo
3157d81e95 enhance(client): make possible to reload page of window
Resolve #10007
2023-02-22 17:43:10 +09:00
syuilo
f0cb587c89 fix(client): ユーザーのハッシュタグ検索が機能していないのを修正 2023-02-22 17:25:33 +09:00
syuilo
9c69501404 lint 2023-02-22 15:50:08 +09:00
syuilo
0fb9c372dd lint 2023-02-22 15:28:17 +09:00
tamaina
b9ee14fe5b
fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正 (#9943)
* fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正
Fix #9627

* update CHANGELOG.md

* clean up

* search-by-username-and-host大改造
2023-02-22 14:47:51 +09:00
syuilo
870f7608be enhance: exploreで公開ロール一覧とそのメンバーを閲覧できるように 2023-02-22 14:43:18 +09:00
syuilo
69869307bf enhance(client): improve entrance page
Resolve #9986
2023-02-22 11:00:34 +09:00
kabo2468
a7f464147d
enhance(client): MFMのx3, x4が含まれていたらノートをたたむようにした (#10012) 2023-02-21 10:45:53 +09:00
syuilo
b5fa8767da 🎨 2023-02-20 17:28:09 +09:00
syuilo
716ffcace6 update deps 2023-02-20 17:04:57 +09:00
tamaina
980bf1306e
🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985)
* wip

* fix

* wip

* wip

* ✌️

* rename key

* 🎨

* update CHANGELOG.md

* パスワードレスログインの判断はサーバーで

* 日本語

* 日本語

* 日本語

* 日本語

* ✌️

* fix

* refactor

* トークン→確認コード

* fix password-less / qr click

* use otpauth

* 日本語

* autocomplete

* パスワードレス設定は外に出す

* 🎨

* 🎨

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-20 16:40:24 +09:00
Kagami Sascha Rosylight
7c5fc2c423
style(frontend): fix autofixable eslint errors (#9968) 2023-02-17 10:56:23 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
8caf288ac1
drop group (#9942)
* drop group

* Update operations.ts
2023-02-15 13:37:18 +09:00
syuilo
8f2049bcd2
drop messaging (#9919)
* drop messaging (from backend)

* wip
2023-02-15 13:06:06 +09:00
taiy
5cf5b66696
fix(client): use tabler icons (#9915) 2023-02-14 13:17:00 +09:00