甘瀬ここあ
86d0f6b1fa
fix: sassのmodern-compilerを使うように ( #14651 )
...
* fix(frontend-embed): ビルド時にsassのmodern-compilerを使うように
* fix(frontend): ビルド時にsassのmodern-compilerを使うように
2024-10-03 11:31:50 +08:00
かっこかり
2cbe1d1210
feat(frontend): ノート・ユーザータイムライン埋め込み ( #13929 )
...
* fix
* navhookをbootに移動
* サーバーサイドのbootも分けるように
* 埋め込みページかどうかの判定は最初の一回だけに
* tooltipは出せるように
* fix design
* 埋め込み独自のtooltipを削除
* ロジックの分岐が多かったMkNoteDetailedを分離
* fix indent
* プレビュー用iframeにフォーカスが当たるのを修正
* popupの制御を出す側で行うように
* パラメータが逆になっていたのを修正
* Update MkEmbedCodeGenDialog.vue
* fix
* eliminate misskey-js lint warns
* fix
* add appropriate attributes to embed html
* enhance: サーバーサイドのembed系をさらに分離
* enhance: embed routerを分離(route定義をboot時に変更できるようにする改修を含む)
* type
* lint
* fix indent
* server-side styleを完全に分離
* Revert "refactor: 画面サイズのしきい値をconstにまとめる"
This reverts commit 05ca36f400889456981e89489ae0ae242fa09b67.
* fix
* revert all changes in base.pug
* embedドメインをまとめた
* embedドメインをまとめた
* prevent calling contextmenu in embed page by stopping at the caller
* fix import
* fix import
* improve directory structure
* fix import
* register timeline ui as a container
* wa-
* rename
* wa-
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaImage.vue
* Update EmNote.vue
* revert mkmedialist changes
* 戻し漏れ
* wip
* tweak embed media ui
* revert original media components
* Update boot.embed.js
* rename
* wip
* Update MkNote.vue
* wip
* Update MkSubNoteContent.vue
* Update EmNote.vue
* Update packages/frontend/src/router/definition.ts
* Revert "Update packages/frontend/src/router/definition.ts"
This reverts commit 937ae44521cdb0f250796943b20142b65f8ed944.
* refactor EmMediaImage
* fix import
* remove unused imports
* Update router.ts
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* Update EmNote.vue
* Update EmNote.vue
* Create EmA.vue
* Create EmAvatar.vue
* Update EmAvatar.vue
* wip
* wip
* wip
* Create EmImgWithBlurhash.vue
* Update EmImgWithBlurhash.vue
* Create EmPagination.vue
* wip
* Update boot.ts
* wip
* wip
* wi@p
* wip
* wip
* wiop
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update boot.ts
* wip
* Update MkMisskeyFlavoredMarkdown.ts
* wip
* wip
* wip
* wip
* wip
* Update post-message.ts
* wip
* Update EmNoteDetailed.vue
* Update EmNoteDetailed.vue
* Create instance.ts
* Update EmNoteDetailed.vue
* wip
* Update EmNoteDetailed.vue
* wip
* wip
* wip
* Update pnpm-lock.yaml
* wip
* wip
* wp
* wip
* Update ClientServerService.ts
* wip
* Update boot.ts
* Update vite.config.local-dev.ts
* Update vite.config.ts
* Create index.html
* wa-
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Create EmLink.vue
* Create EmMention.vue
* Update EmMfm.ts
* wip
* wip
* wip
* wip
* Update vite.config.ts
* Update boot.ts
* Update EmA.vue
* うぃp
* wip
* wip
* Create EmError.vue
* wip
* Update MkEmbedCodeGenDialog.vue
* Update EmNote.vue
* wip
* wip
* Update user-timeline.vue
* Update check-spdx-license-id.yml
* wip
* wip
* style(frontend-shared): lint fixes on build.js
* fix(frontend-shared): include `*.{js,json}` files in js-built
* wip
* use alias
* refactor
* refactor
* Update scroll.ts
* refactor
* refactor
* refactor
* wip
* wip
* wip
* wip
* Update roles.vue
* Update branding.vue
* wip
* wip
* wip
* Update page.vue
* wip
* fix import
* add missing css variables
* 絵文字をtwemojiに変更
クライアントデフォルトにあわせるため
* force empoll readonly
* fix compiler error
* fix broken imports
* tweak button style
* run api extractor
* fix storybook theme preloads
* fix storybook instance imports
* Update preview.ts
* Update preview.ts
* Update preview.ts
* Revert "Update preview.ts"
This reverts commit 12bab1c6fbd3baf753515df760ff19d027b85155.
* Revert "Update preview.ts"
This reverts commit 5c0ce01dbdf2194ffe94aba950f747a9968f29c4.
* Revert "Update preview.ts"
This reverts commit f4863524d7e5ca0f25470808849c24a72bea000a.
* Revert "fix storybook instance imports"
This reverts commit ed8eabb246edf731d31adffbe3c77c539e53ae9e.
* Revert "wip"
This reverts commit d3c1926519878155193a1654f49141e515d49683.
* Revert "Update page.vue"
This reverts commit 27c7900b0c1ae296b56075e8a9c22585d9cd744b.
* Revert "Update branding.vue"
This reverts commit c08ccb65ba66774c3e2b3dcfc6153004b5c0aa16.
* Revert "Update roles.vue"
This reverts commit 1488b670660cb1803d17d8f5c78f2d79e59fa52d.
* Revert "wip"
This reverts commit aab1c769814b08c257cad3025422a0eea3bfba4f.
* refactor: use common media proxy
* fix imports
* fix
* fix: MediaProxyの初期化を保証する(storybook対策?)
* enhance(frontend-embed): improve embedParams provide
* fix(backend): MK_DEV_PREFER=backendのときにembed viteが読み込めないのを修正
* fix
* embed-pageを共通化
* fix import
* fix import
* fix import
* const.jsを共通化
(たぶんrevertしすぎた)
* fix type error
* fix duplicated import
* fix lint
* fix
* コメントとして残す
* sharedとembedをlint対象にする
* lint
* attempt to fix eslint (frontend-shared)
* lint fixes
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-09-09 20:57:36 +09:00
sirsegv
1616cb533e
Fix json module imports for node 22 ( #13875 )
2024-06-13 10:18:01 +09:00
おさむのひと
115d91812e
fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする ( #13598 )
...
* fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする
* fix CHANGELOG.md
2024-03-20 10:30:45 +09:00
syuilo
1de29e5566
refactor: migrate to ESM
2024-01-20 13:57:03 +09:00
syuilo
91522381b6
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-01-20 09:53:29 +09:00
syuilo
952386ba8f
refactor: extract bubble-game engine as independent package
2024-01-20 09:53:26 +09:00
Acid Chicken (硫酸鶏)
7881f06be0
refactor: deprecate i18n.t ( #13039 )
...
* refactor: deprecate i18n.t
* revert: deprecate i18n.t
This reverts commit 7dbf873a2f745040ee723df5db659acacff84e12.
* chore: reimpl
2024-01-20 08:11:59 +09:00
syuilo
a637b4e282
feat: reversi
...
Resolve #12962
2024-01-19 20:51:49 +09:00
zyoshoka
0009aa332b
refactor(frontend): import宣言周りのエラーを修正 ( #12773 )
2023-12-24 16:16:58 +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
woxtu
ea1a2dc8db
Update the Vitest configuration ( #12493 )
2023-11-29 10:41:11 +09:00
syuilo
d2831c612f
Update vite.config.ts
2023-09-15 19:49:52 +09:00
かっこかり
7bd0a5b7cb
(refactor) do generateDTS in build-assets ( #11812 )
2023-09-10 19:31:01 +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
d7efdd7123
perf(frontend): minify file names
...
Resolve #10924
2023-05-30 18:55:22 +09:00
Acid Chicken (硫酸鶏)
62fe3bfb54
refactor( #7598 ): add i18n dynamic typings ( #10882 )
...
* refactor: add i18n dynamic typings
* chore: tweak
2023-05-24 17:12:38 +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
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分割したり副作用減らしたりとか
...
#10838
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 #10773
2023-05-06 10:25:15 +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
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 (硫酸鶏)
38d0b62167
build( #10336 ): Storybook & Chromatic & msw ( #10365 )
...
* build(#10336 ): init
* fix(#10336 ): invalid name conversion
* build(#10336 ): load locales and vite config
* refactor(#10336 ): remove unused imports
* build(#10336 ): separate definitions and generated codes
* refactor(#10336 ): remove hatches
* refactor(#10336 ): module semantics
* refactor(#10336 ): remove unused common preferences
* fix: typo
* build(#10336 ): mock assets
* build(#10336 ): impl `SatisfiesExpression`
* build(#10336 ): control themes
* refactor(#10336 ): semantics
* build(#10336 ): make .storybook as an individual TypeScript project
* style(#10336 ): use single quote
* build(#10336 ): avoid intrinsic component names
* chore: suppress linter
* style: typing
* build(#10336 ): update dependencies
* docs: note about Storybook
* build(#10336 ): sync
* build(#10336 ): full reload server on change
* chore: use defaultStore instead
* build(#10336 ): show popups on Story
* refactor(#10336 ): remove redundant div
* docs: fix
* build(#10336 ): interactions
* build(#10336 ): add an interaction test for `<MkA/>`
* build(#10336 ): bump storybook
* docs(#10336 ): mention to pre-build misskey-js
* build(#10336 ): write stories for `MkAcct`
* build(#10336 ): write stories for `MkAd`
* build(#10336 ): fix missing type definition
* build(#10336 ): use `toHaveTextContent`
* build(#10336 ): write some stories
* build(#10336 ): hide internal args
* build(#10336 ): generate `components/global` stories only
* build(#10336 ): write stories for `MkMisskeyFlavoredMarkdown`
* fix: conflict errors
* build(#10336 ): subcomponents on sidebar
* refactor: restore `SatisfiesExpression`
* docs(#10336 ): note development status
* build(#10336 ): use chokidar-cli
* docs(#10336 ): note chokidar-cli mode
* chore(#10336 ): untrack generated stories files
* fix: pointer handling
* build(#10336 ): finalize
* chore: add static option to `MkLoading`
* refactor(#10336 ): bind to local args
* fix: missing case
* revert: restore `SatisfiesExpression`
This reverts commit f246699f38
.
* build(#10336 ): make storybook buildable
* build(#10336 ): staticify assets
* build(#10336 ): staticified directory structure
* build(#10336 ): normalize path for Windows
* ci(#10336 ): create actions
* build(#10336 ): ignore tsc errors
* build(#10336 ): ignore tsc errors
* build(#10336 ): missing dependencies
* build(#10336 ): missing dependencies
* build(#10336 ): use fast-glob
* fix: invalid lockfile
* ci(#10336 ): increase heap size
* build(#10336 ): use unpkg for storybook tabler icons
* build(#10336 ): use unpkg for storybook twemojis
* build(#10336 ): disable `ProfilePageCat`
* build(#10336 ): blur `MkA` before interaction ends
* ci(#10336 ): stabilize
* ci(#10336 ): fetch-depth
* build(#10336 ): isChromatic
* ci(#10336 ): notify on changes
* ci(#10336 ): fix typo
* ci(#10336 ): missing working directory
* ci(#10336 ): skip build
* ci(#10336 ): fix path
* build(#10336 ): fails on Windows
* build(#10336 ): available on Windows
* ci(#10336 ): disable animation on chromatic
* ci(#10336 ): add static option to `PageHeader.tabs`
* chore: void
* ci(#10336 ): change parameters
* docs(#10336 ): update CONTRIBUTING
* docs(#10336 ): note about meta overriding and etc.
* ci(#10336 ): use Chromatic for checks
* ci(#10336 ): use `pull_request` instead of `pull_request_target` for now
* ci(#10336 ): use `exitOnceUploaded`
* ci(#10336 ): reuse built storybook
* ci(#10336 ): back to `pull_request_target`
* chore: unused dependencies
* style(#10336 ): 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) ( #10409 )
...
* 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バナーの復活など ( #10247 )
...
* 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 #9691
2023-01-22 12:25:55 +00:00
tamaina
d456308653
pref: Optimize client imports ( #9506 )
...
* 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