Commit graph

28 commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏)
337dd97b49
perf(): CSS Modules のクラス名をインライン化する ()
* perf(): unwind css module class name

* perf(): support multiple components

* refactor: clean up

* refactor(): avoid `useCssModule()`

* fix(): allow direct literal class name

* fix(): avoid computed class name

* fix(): allow literal keys

* fix(): typo

* fix(): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(): hidden tale

* perf(): also unwind scoped css contained components

* perf(): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
syuilo
d7efdd7123 perf(frontend): minify file names
Resolve 
2023-05-30 18:55:22 +09:00
Acid Chicken (硫酸鶏)
62fe3bfb54
refactor(): add i18n dynamic typings ()
* refactor: add i18n dynamic typings

* chore: tweak
2023-05-24 17:12:38 +09:00
tamaina
59255e11b8
perf: MkImgWithBlurhashとMkMediaImageを最適化 ()
* 

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

* 

* 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
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
syuilo
23f106a0c1 refactor(frontend): boot分割したり副作用減らしたりとか
2023-05-15 19:08:46 +09:00
syuilo
38391010af Revert "make __VUE_OPTIONS_API__ false"
This reverts commit 636428c72e.
2023-05-14 13:23:25 +09:00
syuilo
636428c72e make __VUE_OPTIONS_API__ false 2023-05-14 12:24:21 +09:00
syuilo
732d714c96 fix(dev): fix vite config
Fix 
2023-05-06 10:25:15 +09:00
Chocolate Pie
149ddebf16
fix(frontend): ロールのタイトルのバグを解決、Reactivity Transformで型エラーを出さないように ()
* 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
Acid Chicken (硫酸鶏)
47c7b4b9cc
fix(): remove isChromatic on real build ()
* perf: remove isChromatic on real build

* revert: Revert  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 (硫酸鶏)
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
Kagami Sascha Rosylight
cee1d5e2d0
chore: integrate misskey-js as a workspace item (git subtree) ()
* Additional changes for the merge

* api-misskey-js
2023-03-30 09:33:19 +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
Kagami Sascha Rosylight
4835f0fb43
fix(frontend): GIFバナーの復活など ()
* 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
tamaina
b19dba80f4 Fix 2023-01-22 12:25:55 +00:00
tamaina
d456308653
pref: Optimize client imports ()
* pref: Optimize client imports

* split api?

* fix

* ✌️

* no vue split?

* Revert "no vue split?"

This reverts commit 27ccec971e2925184a58da65c3472655def2617c.

* function => const

* ✌️

* Revert "function => const"

This reverts commit 34f2feb224f65cc4fca090b29450adb00e85c2c5.

* function api
2023-01-17 17:36:18 +09:00
syuilo
6f1243f722 Update vite.config.ts 2023-01-16 13:59:14 +09:00
syuilo
027ef1ea4a Update vite.config.ts 2023-01-14 11:10:41 +09:00
syuilo
3f033d6ab7 refactor(client): use css modules 2023-01-10 11:15:29 +09:00
syuilo
72dfbfcf35 Update vite.config.ts 2023-01-10 08:39:19 +09:00
syuilo
1bb2c22493 Update vite.config.ts 2023-01-09 16:45:18 +09:00
syuilo
6071e962f4 Revert "Update vite.config.ts"
This reverts commit c438bd2e27.
2023-01-09 16:16:00 +09:00
syuilo
c438bd2e27 Update vite.config.ts 2023-01-09 15:51:36 +09:00
syuilo
9b595b93f8 update es version 2022-12-28 09:17:33 +09:00
syuilo
9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
Renamed from packages/client/vite.config.ts (Browse further)