Commit Graph

39 Commits

Author SHA1 Message Date
mattyatea 8d058b0529 Merge remote-tracking branch 'misskey-original/develop' into develop
# Conflicts:
#	packages/frontend/src/components/MkEmojiEditDialog.vue
#	packages/frontend/src/components/MkMenu.vue
#	packages/frontend/src/pages/about.vue
#	packages/frontend/src/pages/admin/index.vue
#	packages/frontend/src/pages/custom-emojis-manager.vue
#	packages/frontend/src/pages/settings/mute-block.vue
#	packages/frontend/src/pages/settings/theme.vue
#	packages/frontend/src/ui/_common_/navbar-for-mobile.vue
2023-12-26 23:38:43 +09:00
zyoshoka 0009aa332b
refactor(frontend): import宣言周りのエラーを修正 () 2023-12-24 16:16:58 +09:00
mattyatea 8c4a08c383 Merge remote-tracking branch 'misskey-original/develop' into develop
# Conflicts:
#	locales/index.d.ts
#	locales/ja-JP.yml
#	package.json
#	packages/backend/src/server/api/endpoints/admin/emoji/copy.ts
#	packages/backend/src/server/api/endpoints/admin/meta.ts
#	packages/backend/src/server/api/endpoints/channels/timeline.ts
#	packages/backend/src/server/api/endpoints/notes/featured.ts
#	packages/frontend/src/components/MkButton.vue
#	packages/frontend/src/components/MkClickerGame.vue
#	packages/frontend/src/components/MkDialog.vue
#	packages/frontend/src/components/MkDrive.vue
#	packages/frontend/src/components/MkEmojiEditDialog.vue
#	packages/frontend/src/components/MkEmojiPicker.section.vue
#	packages/frontend/src/components/MkEmojiPicker.vue
#	packages/frontend/src/components/MkFollowButton.vue
#	packages/frontend/src/components/MkInstanceTicker.vue
#	packages/frontend/src/components/MkLaunchPad.vue
#	packages/frontend/src/components/MkMenu.vue
#	packages/frontend/src/components/MkNote.vue
#	packages/frontend/src/components/MkNoteSimple.vue
#	packages/frontend/src/components/MkPostForm.vue
#	packages/frontend/src/components/MkRadio.vue
#	packages/frontend/src/components/MkSignupDialog.form.vue
#	packages/frontend/src/components/MkSwitch.vue
#	packages/frontend/src/custom-emojis.ts
#	packages/frontend/src/pages/about.emojis.vue
#	packages/frontend/src/pages/about.vue
#	packages/frontend/src/pages/admin/index.vue
#	packages/frontend/src/pages/admin/other-settings.vue
#	packages/frontend/src/pages/custom-emojis-manager.vue
#	packages/frontend/src/pages/settings/general.vue
#	packages/frontend/src/pages/settings/mute-block.vue
#	packages/frontend/src/pages/timeline.vue
#	packages/frontend/src/pages/user/home.vue
#	packages/frontend/src/pages/user/index.files.vue
#	packages/frontend/src/scripts/get-note-menu.ts
#	packages/frontend/src/store.ts
#	packages/frontend/src/ui/_common_/stream-indicator.vue
#	packages/frontend/src/ui/classic.sidebar.vue
#	packages/frontend/src/ui/universal.vue
#	packages/frontend/src/ui/universal.widgets.vue
#	packages/frontend/vite.config.ts
#	packages/misskey-js/etc/misskey-js.api.md
#	packages/misskey-js/src/api.types.ts
#	packages/misskey-js/src/entities.ts
#	packages/misskey-js/src/streaming.types.ts
2023-12-13 07:08:57 +09:00
zyoshoka 406b4bdbe7
refactor(frontend): 非推奨となったReactivity Transformを使わないように ()
* 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
mattyatea 1802c5da5f Merge remote-tracking branch 'misskey-original/develop' into develop
# Conflicts:
#	package.json
#	packages/frontend/src/components/MkPostForm.vue
#	packages/frontend/src/navbar.ts
2023-12-02 00:47:40 +09:00
woxtu ea1a2dc8db
Update the Vitest configuration () 2023-11-29 10:41:11 +09:00
mattyatea f56ffdf0d5 Revert "feat: frontendのbuildに圧縮をかけるように(意味があるのかはわからない)"
This reverts commit e970ddef
2023-09-21 06:22:40 +09:00
mattyatea 62b70f85f0 なんかもう色々変えた 2023-09-18 21:47:39 +09:00
mattyatea e970ddef2c feat: frontendのbuildに圧縮をかけるように(意味があるのかはわからない) 2023-09-18 08:25:23 +09:00
syuilo d2831c612f Update vite.config.ts 2023-09-15 19:49:52 +09:00
かっこかり 7bd0a5b7cb
(refactor) do generateDTS in build-assets () 2023-09-10 19:31:01 +09:00
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 5c7ef366ec.

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

* wip

* Revert "wip"

This reverts commit be97c6cb88.

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

* container-name

* Revert "container-name"

This reverts commit 94385d3221.

* width: 100%;

* improve performance

* refactor

* wip

* WIP

* wip

* Revert "wip"

This reverts commit 36e3b75cab.

* Revert "WIP"

This reverts commit 05b729ef91.

* Revert "wip"

This reverts commit 0801e79361.

* 

* wip

* no worker

* Revert "no worker"

This reverts commit a9c49e4fb4.

* ✌️

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

* function => const

* ✌️

* Revert "function => const"

This reverts commit 34f2feb224.

* 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