diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-06-04 16:22:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 16:22:09 +0900 |
| commit | b43dfa260b1416da153d28bcd46a8bcbce02c18d (patch) | |
| tree | 1e4e08092b9f8870db15d267d20b0dd4c9828f95 /packages/frontend/src/os.ts | |
| parent | 🎨 (diff) | |
| download | misskey-b43dfa260b1416da153d28bcd46a8bcbce02c18d.tar.gz misskey-b43dfa260b1416da153d28bcd46a8bcbce02c18d.tar.bz2 misskey-b43dfa260b1416da153d28bcd46a8bcbce02c18d.zip | |
fix/refactor(frontend): 画像編集機能の修正・型強化 (#16156)
* enhance: refine uploadFile
* fix: missing locale
* refactor: harden types
* refactor: シェーダーファイルをlazy-loadingできるように
* fix(frontend): omit console.log in production environment
* fix: glslのバージョン表記は最初の行になければならない
* fix: シェーダーの読み込みが完了してからレンダリングを行うように
* fix merge failure
* fix: ウォーターマークのプリセットがない場合にdividerが2重に表示される問題を修正
* fix: アップローダーダイアログの機能設定でウォーターマークが無効な場合でもデフォルトのプリセットが適用されてしまう問題を修正
* fix lint
* Revert "fix: シェーダーの読み込みが完了してからレンダリングを行うように"
This reverts commit e06f37a7d453ca581858252eae422d8a9e470dc3.
* Revert "fix: glslのバージョン表記は最初の行になければならない"
This reverts commit afcc37d886106c4acd545e4c2922e67f94e1037b.
* Revert "refactor: シェーダーファイルをlazy-loadingできるように"
This reverts commit a1ab2fa38c2b7485c069f9cd089bc7de59416c9d.
* fix: ウォーターマークのFX定義を分ける
* Update packages/frontend/src/components/MkWatermarkEditorDialog.vue
* Update packages/frontend/src/components/MkWatermarkEditorDialog.vue
* Update packages/frontend/src/components/MkWatermarkEditorDialog.vue
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/os.ts')
| -rw-r--r-- | packages/frontend/src/os.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index be247f96c4..83ad0ebdf9 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -13,6 +13,7 @@ import type { ComponentProps as CP } from 'vue-component-type-helpers'; import type { Form, GetFormResultType } from '@/utility/form.js'; import type { MenuItem } from '@/types/menu.js'; import type { PostFormProps } from '@/types/post-form.js'; +import type { UploaderDialogFeatures } from '@/components/MkUploaderDialog.vue'; import type MkRoleSelectDialog_TypeReferenceOnly from '@/components/MkRoleSelectDialog.vue'; import type MkEmojiPickerDialog_TypeReferenceOnly from '@/components/MkEmojiPickerDialog.vue'; import { misskeyApi } from '@/utility/misskey-api.js'; @@ -836,6 +837,7 @@ export function launchUploader( options?: { folderId?: string | null; multiple?: boolean; + features?: UploaderDialogFeatures; }, ): Promise<Misskey.entities.DriveFile[]> { return new Promise(async (res, rej) => { @@ -844,6 +846,7 @@ export function launchUploader( files: markRaw(files), folderId: options?.folderId, multiple: options?.multiple, + features: options?.features, }, { done: driveFiles => { if (driveFiles.length === 0) return rej(); |