Commit graph

199 commits

Author SHA1 Message Date
かっこかり
3187c6b28d
refactor(frontend): MkNumberのアニメーションを内製してgsapを削除 (#12859)
* (refactor) MkNumberのアニメーションを内製

* 秒数調整

* fix

* fix pnpm-lock

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

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-02 16:55:02 +09:00
syuilo
379079ee42 chore(frontend): update vue to 3.4 2023-12-31 17:01:56 +09:00
tamaina
1d5a0d0777
chore: use @misskey-dev/eslint-plugin (#12860)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-31 15:26:57 +09:00
tamaina
2a33981811
chore: use summaly, browser-image-resizer, and sharp-read-bmp on registry.npmjs.org instead of git (#12856)
* chore: use @misskey-dev/summaly on registry.npmjs.org instead of git

* fix backend dependency

* fic backend dependency

* @misskey-dev/sharp-read-bmp

* fix

* use @misskey-dev/browser-image-resizer
2023-12-31 09:45:35 +09:00
zyoshoka
13990279c3
enhance: Unicode 15.0で新たに追加された絵文字をリアクションに使えるように (#12683) 2023-12-18 14:51:29 +09:00
syuilo
507d436699 update mfm-js 2023-12-18 13:22:34 +09:00
syuilo
8a9f4ef441 update deps 2023-12-18 13:14:58 +09:00
syuilo
2ecc0299b4 update deps 2023-12-16 14:00:27 +09:00
おさむのひと
b5c319b2c7
fix(frontend): testが落ちるのを修正 (#12679) 2023-12-16 08:56:26 +09:00
woxtu
76d1ed39a1
Cleanup unused dependencies (#12660) 2023-12-14 18:25:39 +09:00
syuilo
aedc1d0ee9 update deps 2023-12-14 13:22:12 +09:00
syuilo
319267e096 update deps 2023-12-09 13:02:14 +09:00
おさむのひと
b0039f0946
chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) (#12593)
* [wip]run standalone vite

* [wip]run standalone vite

* some fix (tabler icons, sw, streaming)

* fix theme

* fix run scripts

* favicon

* client-assets

* cssの読み込み順序とCSP設定の変更

* fix lang change

* fix clientManifest

* baseを相対パスにしてドメイン直下とサブディレクトリ配下両方に対応

* 色々修正

* 色々修正

* 色々修正

* fix

* Revert "client-assets"

This reverts commit 582601e90eb771875bdf8aba263da2316a59d01b.

# Conflicts:
#	packages/frontend/vite.config.ts

* 色々修正

* fix

* fix

* add url and proxy to server proxy

* Update packages/frontend/src/index.html

* wip

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* Merge remote-tracking branch 'origin/develop' into feat/launch-standalone-frontend

# Conflicts:
#	packages/frontend/src/pages/welcome.entrance.a.vue

* fix tabler load

* Apply suggestions from code review

* Update packages/frontend/src/index.html

* fix

* fix vite.config.local-dev.ts

* fix CONTRIBUTING.md

---------

Co-authored-by: FruitRiin <nassii74@gmail.com>
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: 果物リン <fruitriin@riinswork.space>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: ozelot <contact@ozelot.dev>
2023-12-08 08:22:08 +09:00
zyoshoka
406b4bdbe7
refactor(frontend): 非推奨となったReactivity Transformを使わないように (#12539)
* refactor(frontend): 非推奨となったReactivity Transformを使わないように

* refactor: 不要な括弧を除去

* fix: 不要なアノテーションを除去

* fix: Refの配列をrefしている部分の対応

* refactor: 不要な括弧を除去

* fix: lint

* refactor: Ref、ShallowRef、ComputedRefの変数の宣言をletからconstに置換

* fix: type error

* chore: drop reactivity transform from eslint configuration

* refactor: remove unnecessary import

* fix: 対応漏れ
2023-12-07 14:42:09 +09:00
syuilo
9c90ff7d06 update deps 2023-12-04 19:40:46 +09:00
syuilo
51cf906b25 update deps 2023-11-27 21:05:20 +09:00
woxtu
01d06e7121
Fix a frontend testing script (#12471) 2023-11-27 08:06:47 +09:00
syuilo
77ac51a680 update typescript to 5.3 2023-11-21 11:32:13 +09:00
syuilo
4f9922d46c update deps 2023-11-17 15:10:04 +09:00
syuilo
30bb24d18c update deps 2023-11-14 10:35:48 +09:00
ikasoba
54870d067b
aiscript-vscodeのバージョンを更新 (#12299) 2023-11-10 17:18:23 +09:00
syuilo
1729307fcf update deps 2023-11-03 14:41:21 +09:00
syuilo
5772de2a62 fix vitest 2023-11-01 15:40:10 +09:00
syuilo
77db652bff update deps 2023-11-01 14:06:54 +09:00
かっこかり
1a8243f1ca
MkCodeのパースエンジンをShikiに変更 (#12102)
* (swap) prism -> shiki

* fix styles

* (bump) aiscript-vscode to v0.0.5

* refactor

* replace prism-editor (beta)

* Update scratchpad.vue

* (enhance) MkCodeEditor自動インデント改行

* (fix) lint

* (add) scratchpad: MkStickyContainer

* Update CHANGELOG.md

* clean up

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-29 14:12:40 +09:00
syuilo
a8dc6d08b1 update deps 2023-10-28 12:31:18 +09:00
syuilo
fdeee5dd05 update deps 2023-10-23 09:20:55 +09:00
syuilo
42a3489bcb update deps 2023-10-20 15:46:12 +09:00
syuilo
cc256f117e update deps 2023-10-19 19:51:59 +09:00
syuilo
145c5c8b2b update deps 2023-10-18 09:43:59 +09:00
syuilo
e9db0680c4 update deps 2023-10-17 09:04:17 +09:00
syuilo
9338ab461e update deps 2023-10-16 20:13:05 +09:00
syuilo
cf6e53b2ac update deps 2023-10-10 16:26:48 +09:00
syuilo
13dbfef9f8 update deps 2023-10-09 20:55:40 +09:00
syuilo
e6ca53c5e1 update rollup to 4.0.0 2023-10-06 17:36:43 +09:00
syuilo
95dc70021f update deps 2023-10-06 17:19:17 +09:00
syuilo
ac19b055c7 update deps 2023-09-29 15:11:08 +09:00
syuilo
82a51d49a0 improve moderation log 2023-09-24 15:10:56 +09:00
syuilo
509cea511c update deps 2023-09-24 11:09:49 +09:00
syuilo
5a4cf059ee update deps 2023-09-23 12:46:19 +09:00
syuilo
032b6c6afb update deps 2023-09-22 16:47:42 +09:00
syuilo
51c3ef5561 update deps 2023-09-21 15:24:47 +09:00
syuilo
6459eadcf1 update deps 2023-09-21 10:25:44 +09:00
syuilo
b9c6992aac
update deps (#11849)
* update deps

* wip

* wip
2023-09-20 16:43:45 +09:00
syuilo
b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
syuilo
60f3cc6f07 update aiscript to 0.16.0 2023-09-17 16:54:25 +09:00
syuilo
6cf466e5d1
update deps (#11820)
* update deps

* fix

* wip

* wip

* wip

* Update docker-compose.yml.example

* Delete reviewer-lottery.yml

* Update RepositoryModule.ts

* wip

* wip

* clean up

* update deps

* wip

* wip
2023-09-15 14:28:29 +09:00
syuilo
ff9a65e8fa
feat: passkey support (#11804)
https://github.com/MisskeyIO/misskey/pull/149
2023-09-08 14:05:03 +09:00
woxtu
32f5949935
chore: Goodbye gulp (#11447)
* Add a script for building assets

* Replace with script executions

* Remove gulp dependencies

* Fix dependencies

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-07 16:56:17 +09:00
syuilo
59ab4af7ca update deps 2023-09-05 17:43:43 +09:00
syuilo
1f7a81aae7
update deps (#11764)
* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
2023-09-04 13:33:38 +09:00
syuilo
2b4c8c9e0f
update deps (#11409)
* update deps

* Update .eslintrc.js

* Update .eslintrc.js

* lint

* lint

* Update update.ts

* update deps

* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
Ebise Lutica
007ed5c929
enhance(frontend): TwitterアイコンをXに変更 (#11436) 2023-07-31 17:05:40 +09:00
Kagami Sascha Rosylight
47b684100d
refactor(frontend): use nodemon for storybook (#11297)
* refactor(frontend): use nodemon for storybook

* Update package.json
2023-07-20 17:41:48 +09:00
syuilo
32430a0dba update aiscript to 0.15.0 2023-07-20 12:43:58 +09:00
syuilo
2ddf575cdc use storybook 7.0.27
Resolve #11318
2023-07-20 10:26:08 +09:00
syuilo
8a058876a3 update aiscript to 0.14.1 2023-07-20 10:24:09 +09:00
syuilo
c50b952ff9 update aiscript to 0.14.0 2023-07-19 11:26:08 +09:00
syuilo
54c0ed2ed7 update deps 2023-07-18 20:00:45 +09:00
syuilo
545371011a use happy-dom 10.0.3
Resolve #11287
2023-07-16 07:43:55 +09:00
syuilo
9d5dd7201e update deps 2023-07-15 16:36:39 +09:00
syuilo
9a5bc78eb4 update deps 2023-07-15 16:07:30 +09:00
syuilo
d5c4e77c44 update deps 2023-07-07 10:53:06 +09:00
syuilo
8099bc24e1
refactor(backend): use node16 for moduleResolution (#10938)
* refactor(backend): use node16 for moduleResolution

* update deps

* Update tsconfig.json

* ✌️

* revive KEYWORD

* restore strict-event-emitter-types dependency

* restore ms dependency

* cancel redundant import reorder

* fix

* Delete ms.ts

* remove rndstr

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-06-25 21:13:15 +09:00
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