Commit graph

135 commits

Author SHA1 Message Date
Kagami Sascha Rosylight
5d922e3084 chore(frontend): use @vitest/coverage-v8 2023-06-24 15:20:15 +02:00
syuilo
fd4c43786a chore(dev): use buraha via npm 2023-06-24 18:22:53 +09:00
syuilo
60cc7f62e6 update deps 2023-06-24 13:11:53 +09:00
syuilo
91d790bbb6 update deps 2023-06-02 11:34:38 +09:00
Acid Chicken (硫酸鶏)
337dd97b49
perf(#10923): CSS Modules のクラス名をインライン化する (#10930)
* perf(#10923): unwind css module class name

* perf(#10923): support multiple components

* refactor: clean up

* refactor(#10923): avoid `useCssModule()`

* fix(#10923): allow direct literal class name

* fix(#10923): avoid computed class name

* fix(#10923): allow literal keys

* fix(#10923): typo

* fix(#10923): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(#10923): hidden tale

* perf(#10923): also unwind scoped css contained components

* perf(#10923): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
syuilo
8b33a70fc4 vue-plyrやめるなど
- 問題点が多い
- バンドルサイズ削減
2023-05-30 11:32:29 +09:00
syuilo
115167e6da update deps 2023-05-29 17:52:55 +09:00
syuilo
1de774fa3d update deps 2023-05-24 10:16:42 +09:00
syuilo
acd5e0b8f6 update deps 2023-05-19 16:34:56 +09:00
tamaina
59255e11b8
perf: MkImgWithBlurhashとMkMediaImageを最適化 (#10782)
* #10781

* fix tsconfig

* fetch image??

* Revert "fetch image??"

This reverts commit 0925c28d5a4f328264c39d5591dc736795541683.

* wip

* Revert "wip"

This reverts commit be97c6cb88318bcea441edeeecb69b6d6ed0dd8f.

* 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 9448e64228428175a3d624c04df1bfad0f59cb69.

* container-name

* Revert "container-name"

This reverts commit 94385d32213a00a06a59fbd2296d6ef1b5f91785.

* width: 100%;

* improve performance

* refactor

* wip

* WIP

* wip

* Revert "wip"

This reverts commit 36e3b75cab8114e423544b79a8e2df353880f43b.

* Revert "WIP"

This reverts commit 05b729ef9189aea052ba411ac10f30a46cc668c8.

* Revert "wip"

This reverts commit 0801e7936116c58154d7cecfea955dd15fa61a77.

* #10860

* wip

* no worker

* Revert "no worker"

This reverts commit a9c49e4fb49976958a7594393343d52be0e082d7.

* ✌️

* workerNumber固定は不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-19 09:44:06 +09:00
syuilo
e707aadbcc update deps 2023-05-17 14:11:32 +09:00
syuilo
93629fb29d upgrade aiscript to 0.13.3 2023-05-14 20:08:32 +09:00
syuilo
6f1994c665 update deps 2023-05-12 11:41:53 +09:00
syuilo
484dfb6a01 enhance(frontend): update aiscript to 0.13.2 2023-05-06 12:58:59 +09:00
syuilo
bcd123371b update deps 2023-05-02 20:52:36 +09:00
Chocolate Pie
149ddebf16
fix(frontend): ロールのタイトルのバグを解決、Reactivity Transformで型エラーを出さないように (#10729)
* fix: #10569を解決

* fix: ロールが存在しない場合、タイトルにエラーメッセージを表示させる

* fix: Reactivity Transformで型エラーを出さないように

* feat: i18n対応

* feat: タブでエラー表示

* fix: エラーメッセージを分ける

* fix: 使う変数の間違えを修正

* productionビルドできない問題を修正

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-29 23:36:28 +09:00
syuilo
8b833c88ad vite動かなかったため戻した 2023-04-21 09:17:14 +09:00
syuilo
4054f9cccf update deps 2023-04-21 09:02:49 +09:00
syuilo
8c9cb9ee15 update deps 2023-04-19 12:52:14 +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
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 e649b1b1e6771bee674f2dfb044e0efd72d0be5d.

* test: flaky snapshots

* style: import
2023-04-13 12:20:39 +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 2329165e252640504ef17e97389e0460ada83e70.

* chore: do not reuse build dir

* build: scripts

* ci: tweak

* revert: re-revert debug

This reverts commit 596ef05d9eabe11c0ec3125fa4a87071d59b9b2f.

* chore: detect changes manually

* fix: syntax

* ci: do not use only-changed

* ci: fix command

* revert: re-re-revert debug

This reverts commit b027170d7504277006ce9abac386df8c38d55fd2.

* ci: use build dir

* revert: re-re-re-revert debug

This reverts commit 529ab126ed63ec10eeeaaee3e9ef581b75e739c9.

* ci: fix path

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

This reverts commit 0b0c0b9ea48d37d617b777e9f602ccf8a2400381.

* ci: fix typo

* ci: only show story files

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

This reverts commit 9f5b88df3225f23efd72bb099cfebe359af7acdb.

* ci: skip when no stories found

* ci: use skip

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

This reverts commit 0df4bdc30bbf425c8682594d500a6d986517e721.

* ci: fix micromatch version

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

This reverts commit 63063b02bbcb37e85b93afe3f919b185425ddcf0.

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

This reverts commit 01d9669e2a2c758c478bad5379fe19768e2096bc.

* 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
a561b83070 fix deps 2023-04-06 20:29:17 +09:00
syuilo
88f22da052 update deps 2023-04-06 20:22:26 +09:00
Acid Chicken (硫酸鶏)
55652a7a18
build(#10336): bump storybook to v7 2023-04-04 15:01:55 +09:00
Acid Chicken (硫酸鶏)
9946ba0f08
build(#10336): available on Windows 2023-04-02 22:54:52 +09:00
Acid Chicken (硫酸鶏)
388ecfb1ea
ci(#10336): stabilize 2023-04-02 14:59:19 +09:00
Acid Chicken (硫酸鶏)
3f4d93a287
build(#10336): use unpkg for storybook tabler icons 2023-04-01 22:49:50 +09:00
Acid Chicken (硫酸鶏)
fc76829eb4
build(#10336): use fast-glob 2023-04-01 22:22:07 +09:00
Acid Chicken (硫酸鶏)
8b30a0d641
build(#10336): missing dependencies 2023-04-01 21:57:31 +09:00
Acid Chicken (硫酸鶏)
97731705ba
build(#10336): missing dependencies 2023-04-01 21:54:12 +09:00
Acid Chicken (硫酸鶏)
b0fa9f3809
build(#10336): ignore tsc errors 2023-04-01 21:47:31 +09:00
Acid Chicken (硫酸鶏)
20fb266a93
build(#10336): ignore tsc errors 2023-04-01 21:45:20 +09:00
Acid Chicken (硫酸鶏)
ec8905f81c
build(#10336): staticify assets 2023-04-01 18:18:11 +09:00
Acid Chicken (硫酸鶏)
65f20de821
build(#10336): make storybook buildable 2023-04-01 18:05:14 +09:00
Acid Chicken (硫酸鶏)
139dade62c
build(#10336): use chokidar-cli 2023-04-01 14:17:52 +09:00
Acid Chicken (硫酸鶏)
2b831da1d1
Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook 2023-04-01 13:46:54 +09:00
syuilo
152247bfda refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
Acid Chicken (硫酸鶏)
558d73b21a
build(#10336): fix missing type definition 2023-03-31 16:34:54 +09:00
Acid Chicken (硫酸鶏)
98fd6b5879
build(#10336): write stories for MkAcct 2023-03-31 01:01:53 +09:00
Acid Chicken (硫酸鶏)
d1c5556724
Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook 2023-03-30 23:02:38 +09:00
Acid Chicken (硫酸鶏)
3db0147392
build(#10336): bump storybook 2023-03-30 23:00:01 +09:00
tamaina
26068a3a8f use workspace:*, use pnpm@8.1.0 2023-03-30 13:01:00 +00:00
syuilo
bb2b33f2c9 update deps 2023-03-30 12:03:04 +09:00
Kagami Sascha Rosylight
cee1d5e2d0
chore: integrate misskey-js as a workspace item (git subtree) (#10409)
* Additional changes for the merge

* api-misskey-js
2023-03-30 09:33:19 +09:00
Acid Chicken (硫酸鶏)
356fd72603
build(#10336): interactions 2023-03-25 23:32:47 +09:00
Kagami Sascha Rosylight
abdb43c440 Revert "Additional changes for the merge"
This reverts commit efb5e1d1cc.
2023-03-25 08:20:34 +01:00
Kagami Sascha Rosylight
efb5e1d1cc Additional changes for the merge 2023-03-25 08:13:30 +01:00
Acid Chicken (硫酸鶏)
2bce064ada
build(#10336): full reload server on change 2023-03-25 11:34:17 +09:00
Acid Chicken (硫酸鶏)
c2d8759812
build(#10336): update dependencies 2023-03-23 16:44:41 +09:00
Acid Chicken (硫酸鶏)
0ac4d744fd
build(#10336): control themes 2023-03-21 02:05:00 +09:00
Acid Chicken (硫酸鶏)
6e21147ff6
build(#10336): separate definitions and generated codes 2023-03-20 16:13:07 +09:00
Acid Chicken (硫酸鶏)
1dfcca7b9c
build(#10336): init 2023-03-19 22:25:06 +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
e5ad37e6d0 update aiscript 2023-03-17 20:41:25 +09:00
syuilo
0944c1cd6f update tabler-icons 2023-03-16 14:14:14 +09:00
syuilo
6da6c4dd45 enhance(client): update AiScript to 0.13.0 2023-03-15 18:26:59 +09:00
syuilo
c0bad443ff update deps 2023-03-10 14:00:14 +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
76f3bdcdf9 update deps 2023-02-26 18:51:45 +09:00
CaffeinePower
b965f5e4a9
feat: swc build in windows (#10032)
* feat: add optional swc

* fix: windowsで動かない現象を修正

* fix: fix swc path alias

* fix: docker build時に`Host key verification failed`と言われてgitリポジトリからパッケージをインストールできないのでssh -> htpsに変更
2023-02-23 15:36:17 +09:00
syuilo
716ffcace6 update deps 2023-02-20 17:04:57 +09:00
Kagami Sascha Rosylight
dd52be3a01
ci: run typecheck and eslint separately (#9966)
* ci: run typecheck and eslint separately

* fix syntax
2023-02-17 10:57:40 +09:00
syuilo
1ff14d81c1 update deps 2023-02-09 09:25:31 +09:00
Roxy Squires
4b8b29b862
enhance - Added vue-plyr as the standard video player (#9766)
* Added Video player

Added vue-plyr as the video play

* Create node.js.yml

* Delete node.js.yml

* Added vue-plyr into pnpm-lock.yaml

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-03 17:15:25 +09:00
syuilo
65ed702d87 update deps 2023-02-03 14:44:09 +09:00
syuilo
515692d7a6 update aiscript 2023-02-01 11:20:28 +09:00
syuilo
d8f33bc0af update deps 2023-01-27 11:40:18 +09:00
syuilo
da274cd458 update deps 2023-01-24 14:49:29 +09:00
syuilo
a3aafa03ad update deps 2023-01-22 04:17:58 +09:00
Masaya Suzuki
3ff43cca02
frontendに@type/nodeをインストールする (#9571) 2023-01-15 11:55:12 +09:00
syuilo
cedb4267ba update deps 2023-01-15 09:19:02 +09:00
syuilo
68e65ed5df update mfm-js 2023-01-14 09:02:33 +09:00
syuilo
e51432a461 remove katex 2023-01-11 08:58:13 +09:00
syuilo
6a18360269 update mfm-js 2023-01-09 16:07:14 +09:00
syuilo
155ca39063 update aiscript 2023-01-07 17:18:30 +09:00
syuilo
3e7d8b5f17 update deps 2023-01-06 19:59:31 +09:00
syuilo
dc5b4a0402 enhance(client): show fireworks when visit user who today is birthday
Resolve #9476
2023-01-06 13:25:49 +09:00
syuilo
1cae688ccb update aiscript 2023-01-05 16:57:49 +09:00
syuilo
e44f83fb9c update AiScript to 0.12.0 2023-01-03 15:51:49 +09:00
syuilo
a9f4217214 update deps 2023-01-02 20:02:51 +09:00
syuilo
b64daa5a58 🎨 2022-12-31 20:36:49 +09:00
tamaina
87a0ed8b46
fix(client): add sanitize-html to MkAutocomplete (#9433)
* fix(server): /emoji to accept `@.` host expression

* fix(client): use MkEmoji for custom emoji in MkEmojiPicker

* change convertToWebp

* nanka iroiro

* remove

* fix

* nearLosslessは労多くして益少なしなのでやめる

* do not cleanup tmp for development

* update sharp.js to 0.31.3

* mixed: true

* fix MkAutocomplete of 912791b3ab

* clean up

* https://github.com/misskey-dev/misskey/pull/9431#discussion_r1059215943

* edit mkautocomplete.vue use sanitize-html

* fix package.json
2022-12-30 13:02:18 +09:00
syuilo
25c8d7782d update deps 2022-12-28 18:28:01 +09:00
syuilo
9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
Renamed from packages/client/package.json (Browse further)