Commit graph

14 commits

Author SHA1 Message Date
syuilo
a5e61b8c19 Revert "refactor"
This reverts commit 0134e6e420.
2024-09-17 17:05:52 +09:00
syuilo
0134e6e420 refactor 2024-09-17 17:00:48 +09:00
zyoshoka
f1b1e2a7cc
fix(storybook): prevent infinite remount of component ()
* fix(storybook): prevent infinite remount of component

* fix: disable flaky `.toMatch()` test
2024-07-02 10:57:20 +09:00
zyoshoka
9849aab402
test(): add components/MkC.* stories ()
* test(storybook): add `components/MkC.*` stories

* test(storybook): add some tests

* test: add sleep

* test: comment-out flaky test

* test(storybook): add test for `MkChannelFollowButton`

* chore(storybook): tweak sleep duration in `MkChannelFollowButton` story test

* fix(chromatic): add delay to `MkChannelList`

* chore: replace `mswDecorator` with `mswLoader`

* fix(storybook): tweak some parameters

* chore: serve static files

* fix(chromatic): add delay to `MkCwButton`

* chore: delete logging for debug

* fix: add right click in `MkContextMenu` play

* refactor: remove unused imports
2024-06-08 18:00:54 +09:00
Acid Chicken (硫酸鶏)
b8800b8b95
build: upgrade Storybook to 8 beta ()
* chore: upgrade Storybook to 8

* ci: restore Storybook workflow

* build: createRequire

* ci: TurboSnap life extension
2024-02-14 18:48:25 +09:00
tamaina
c1514ce91d (re) update SPDX-FileCopyrightText
Fix  
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7 Revert "update SPDX-FileCopyrightText"
This reverts commit 9b5aeb76d8.
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8 update SPDX-FileCopyrightText 2024-02-12 11:37:45 +09:00
syuilo
257c4fccf1
feat: Refine 2fa ()
* wip

* Update 2fa.qrdialog.vue

* Update 2fa.vue

* Update CHANGELOG.md

* tweak

* ✌️
2023-08-28 18:25:31 +09:00
Kagami Sascha Rosylight
59046d583d
refactor(locales, sw): use es module ()
* refactor(locales): use es module

* fix sw build

* fix gulp

* try fixing storybook

* Revert "try fixing storybook"

This reverts commit 5f2a4eee01.

* try fixing storybook 2

* Update main.ts

* Update build.js

* Update main.ts

* Update changes.ts

* fix sw lint

* Update build.js
2023-07-09 17:19:07 +09:00
Acid Chicken (硫酸鶏)
34e958c3a7
test: Storybook is broken 2023-05-08 23:40:21 +09:00
syuilo
85a4c8dbb1
feat(frontend): アカウント初期設定ウィザード ()
* 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
Acid Chicken (硫酸鶏)
38d0b62167
build(): Storybook & Chromatic & msw ()
* build(): init

* fix(): invalid name conversion

* build(): load locales and vite config

* refactor(): remove unused imports

* build(): separate definitions and generated codes

* refactor(): remove hatches

* refactor(): module semantics

* refactor(): remove unused common preferences

* fix: typo

* build(): mock assets

* build(): impl `SatisfiesExpression`

* build(): control themes

* refactor(): semantics

* build(): make .storybook as an individual TypeScript project

* style(): use single quote

* build(): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(): update dependencies

* docs: note about Storybook

* build(): sync

* build(): full reload server on change

* chore: use defaultStore instead

* build(): show popups on Story

* refactor(): remove redundant div

* docs: fix

* build(): interactions

* build(): add an interaction test for `<MkA/>`

* build(): bump storybook

* docs(): mention to pre-build misskey-js

* build(): write stories for `MkAcct`

* build(): write stories for `MkAd`

* build(): fix missing type definition

* build(): use `toHaveTextContent`

* build(): write some stories

* build(): hide internal args

* build(): generate `components/global` stories only

* build(): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(): note development status

* build(): use chokidar-cli

* docs(): note chokidar-cli mode

* chore(): untrack generated stories files

* fix: pointer handling

* build(): finalize

* chore: add static option to `MkLoading`

* refactor(): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(): make storybook buildable

* build(): staticify assets

* build(): staticified directory structure

* build(): normalize path for Windows

* ci(): create actions

* build(): ignore tsc errors

* build(): ignore tsc errors

* build(): missing dependencies

* build(): missing dependencies

* build(): use fast-glob

* fix: invalid lockfile

* ci(): increase heap size

* build(): use unpkg for storybook tabler icons

* build(): use unpkg for storybook twemojis

* build(): disable `ProfilePageCat`

* build(): blur `MkA` before interaction ends

* ci(): stabilize

* ci(): fetch-depth

* build(): isChromatic

* ci(): notify on changes

* ci(): fix typo

* ci(): missing working directory

* ci(): skip build

* ci(): fix path

* build(): fails on Windows

* build(): available on Windows

* ci(): disable animation on chromatic

* ci(): add static option to `PageHeader.tabs`

* chore: void

* ci(): change parameters

* docs(): update CONTRIBUTING

* docs(): note about meta overriding and etc.

* ci(): use Chromatic for checks

* ci(): use `pull_request` instead of `pull_request_target` for now

* ci(): use `exitOnceUploaded`

* ci(): reuse built storybook

* ci(): back to `pull_request_target`

* chore: unused dependencies

* style(): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00