Commit Graph

112 Commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏) ee3f408c7d
feat: impl IdlingRenderScheduler (#10547)
* feat: impl IdleRender

* test: pin time on Chromatic

* test: pin time on Chromatic

* fix: typo

* style: rename

* style: rename

* chore: back to setTimeout

* style: linebreak

* refactor: remove unused budget option

* refactor: use raw unix time

* fix: conflict error

* fix: floor

* fix: subtract

* Revert "fix: subtract"

This reverts commit 2ef4afaafc69d2fb8329b04c1b124dfa97b7e863.

* Revert "fix: floor"

This reverts commit bef8ecdf45c6afc52138921d16e2caca78cfd38d.

* Revert "refactor: use raw unix time"

This reverts commit 5199e13cb2829f3036101f95445cca3cb9c83703.
2023-05-20 03:38:07 +09:00
syuilo ed3c137543 Revert "refactor: define _IS_CHROMATIC_"
This reverts commit a35f0d43e4.
2023-05-16 19:37:15 +09:00
syuilo a35f0d43e4 refactor: define _IS_CHROMATIC_ 2023-05-16 19:24:10 +09:00
Acid Chicken (硫酸鶏) cbb779f60c
ci: skip non-Japanese locale on TurboSnap 2023-05-11 22:06:13 +09:00
Acid Chicken (硫酸鶏) 34e958c3a7
test: Storybook is broken 2023-05-08 23:40:21 +09:00
syuilo 85a4c8dbb1
feat(frontend): アカウント初期設定ウィザード (#10799)
* wip

* 🎨

* 🎨

* wip

* wip

* 🎨

* Update CHANGELOG.md

* wip

* Update MkUserSetupDialog.vue

* add stories

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

* update stories

* Update MkUserSetupDialog.Follow.stories.impl.ts

* test: load mock user account

* ✌️

* ✌️

* test: reset on each render

* test: use id to identify

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-05-08 17:29:19 +09:00
Acid Chicken (硫酸鶏) f3206d094d
build: set default theme for Storybook 2023-04-23 12:47:43 +09:00
syuilo e1f9ab77f8
feat: Server rules (#10660)
* enhance(frontend): サーバールールのデザイン調整

* enhance(frontend): i18n

* enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動

* enhance(frontend): サーバールールのデザイン調整

* Update CHANGELOG.md

* 不要な差分を削除

* fix(frontend): lint

* ui tweak

* test: add stories

* tweak

* test: bind args

* test: add interaction tests

* fix bug

* Update packages/frontend/src/pages/admin/server-rules.vue

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>

* Update misskey-js.api.md

* chore: windowを明示

* 🎨

* refactor

* 🎨

* 🎨

* fix e2e test

* 🎨

* 🎨

* fix icon

* fix e2e

---------

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-19 21:24:31 +09:00
Acid Chicken (硫酸鶏) d2d17847dc
ci: fix story impl files were ignored 2023-04-16 11:00:07 +00: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 (硫酸鶏) 2b19e1f732
test: add `/@:acct` stories (#10517)
* test: add `/@:acct` stories

* test: add mocks
2023-04-09 04:16:56 +00:00
Acid Chicken (硫酸鶏) 95f670e3ec
test: use M PLUS Rounded 1c on Storybook (#10520)
* test: use M PLUS Rounded 1c on Storybook

* test: fix hostname
2023-04-08 17:18:00 +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
Acid Chicken (硫酸鶏) 3b3f683f8c
feat(#8149): respect nsfw settings on gallery list (#10481)
* feat(#8149): respect nsfw settings on gallery list

* ci(#10336): use pull_request

* test(#8149): add interaction tests

* test(#10336): use `waitFor`

* chore: transition
2023-04-06 08:19:49 +09:00
Acid Chicken (硫酸鶏) d6e04da20b
style(#10336): update comment-out codes 2023-04-04 15:03:45 +09:00
Acid Chicken (硫酸鶏) 14591aa8f2
style(#10336): reduce prettier indents 2023-04-03 14:51:14 +09:00
Acid Chicken (硫酸鶏) d6b1e5be2f
Merge branch 'storybook' of https://github.com/misskey-dev/misskey into storybook 2023-04-02 23:26:52 +09:00
Acid Chicken (硫酸鶏) ddb1635a46
ci(#10336): disable animation on chromatic 2023-04-02 23:26:35 +09:00
Acid Chicken (硫酸鶏) 29c63adfb4
build(#10336): fails on Windows 2023-04-02 22:53:05 +09:00
Acid Chicken (硫酸鶏) faf827a50a
build(#10336): isChromatic 2023-04-02 21:31:28 +09:00
Acid Chicken (硫酸鶏) 388ecfb1ea
ci(#10336): stabilize 2023-04-02 14:59:19 +09:00
Acid Chicken (硫酸鶏) edeabac8f7
build(#10336): use unpkg for storybook twemojis 2023-04-01 23:04:08 +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 (硫酸鶏) 0f334f900c
build(#10336): normalize path for Windows 2023-04-01 18:35:03 +09:00
Acid Chicken (硫酸鶏) 88981e9d5b
build(#10336): staticified directory structure 2023-04-01 18:22:15 +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 (硫酸鶏) 4521e61ae2
fix: missing case 2023-04-01 17:54:30 +09:00
Acid Chicken (硫酸鶏) f39b5be064
refactor(#10336): bind to local args 2023-04-01 16:35:05 +09:00
Acid Chicken (硫酸鶏) 1521bb088c
build(#10336): finalize 2023-04-01 16:26:08 +09:00
Acid Chicken (硫酸鶏) 139dade62c
build(#10336): use chokidar-cli 2023-04-01 14:17:52 +09:00
Acid Chicken (硫酸鶏) 5667f0f839
build(#10336): subcomponents on sidebar 2023-04-01 13:59:00 +09:00
Acid Chicken (硫酸鶏) a47f4b8955
build(#10336): generate `components/global` stories only 2023-04-01 13:45:31 +09:00
Acid Chicken (硫酸鶏) 5605b03ce4
build(#10336): hide internal args 2023-04-01 12:18:42 +09:00
Acid Chicken (硫酸鶏) 671ce6a531
build(#10336): write some stories 2023-04-01 04:20:38 +09:00
Acid Chicken (硫酸鶏) 98fd6b5879
build(#10336): write stories for `MkAcct` 2023-03-31 01:01:53 +09:00
Acid Chicken (硫酸鶏) 356fd72603
build(#10336): interactions 2023-03-25 23:32:47 +09:00
Acid Chicken (硫酸鶏) 899c6241c3
refactor(#10336): remove redundant div 2023-03-25 12:23:28 +09:00
Acid Chicken (硫酸鶏) 8ca9621d42
build(#10336): show popups on Story 2023-03-25 12:21:16 +09:00
Acid Chicken (硫酸鶏) 2bce064ada
build(#10336): full reload server on change 2023-03-25 11:34:17 +09:00
Acid Chicken (硫酸鶏) 8332c03bd8
build(#10336): sync 2023-03-25 04:00:09 +09:00
Acid Chicken (硫酸鶏) bd7cc6ac38
docs: note about Storybook 2023-03-24 23:22:49 +09:00
Acid Chicken (硫酸鶏) c2d8759812
build(#10336): update dependencies 2023-03-23 16:44:41 +09:00
Acid Chicken (硫酸鶏) bf5fff879f
style: typing 2023-03-22 00:48:11 +09:00
Acid Chicken (硫酸鶏) 1d0ca7eecf
chore: suppress linter 2023-03-22 00:25:17 +09:00
Acid Chicken (硫酸鶏) 5ced8aef27
build(#10336): avoid intrinsic component names 2023-03-21 13:12:30 +09:00
Acid Chicken (硫酸鶏) 49f8bb4974
style(#10336): use single quote 2023-03-21 13:05:40 +09:00
Acid Chicken (硫酸鶏) cc3fbefc83
build(#10336): make .storybook as an individual TypeScript project 2023-03-21 13:01:40 +09:00
Acid Chicken (硫酸鶏) bf527cd6e7
refactor(#10336): semantics 2023-03-21 11:58:58 +09:00
Acid Chicken (硫酸鶏) 0ac4d744fd
build(#10336): control themes 2023-03-21 02:05:00 +09:00
Acid Chicken (硫酸鶏) bdbbb92ff6
build(#10336): impl `SatisfiesExpression` 2023-03-20 23:07:13 +09:00
Acid Chicken (硫酸鶏) 2eecb8e876
build(#10336): mock assets 2023-03-20 22:12:11 +09:00
Acid Chicken (硫酸鶏) ca7d2081a2
refactor(#10336): remove unused common preferences 2023-03-20 16:29:36 +09:00
Acid Chicken (硫酸鶏) 3907cb51d6
refactor(#10336): module semantics 2023-03-20 16:27:40 +09:00
Acid Chicken (硫酸鶏) be7b71a2f5
refactor(#10336): remove hatches 2023-03-20 16:15:03 +09:00
Acid Chicken (硫酸鶏) 6e21147ff6
build(#10336): separate definitions and generated codes 2023-03-20 16:13:07 +09:00
Acid Chicken (硫酸鶏) a19c560e7b
refactor(#10336): remove unused imports 2023-03-20 14:58:24 +09:00
Acid Chicken (硫酸鶏) 0dcb99df19
build(#10336): load locales and vite config 2023-03-20 14:56:34 +09:00
Acid Chicken (硫酸鶏) 91e0e498eb
fix(#10336): invalid name conversion 2023-03-19 22:31:18 +09:00
Acid Chicken (硫酸鶏) 1dfcca7b9c
build(#10336): init 2023-03-19 22:25:06 +09:00