This commit is contained in:
yupix 2025-05-04 12:57:40 +00:00 committed by GitHub
commit 1a684aea1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 2 deletions

View File

@ -898,6 +898,7 @@
- Fix: エラー画像URLを設定した後解除するとデフォルトの画像が表示されない問題の修正
- Fix: MkCodeEditorで行がずれていってしまう問題の修正
- Fix: Summaly proxy利用時にプレイヤーが動作しないことがあるのを修正 #13196
- Enhance: フォルダー作成時、フォルダー名に `Untitled` をデフォルト値として使用するように
### Server
- Enhance: 連合先のレートリミットを超過した際にリトライするようになりました
@ -914,6 +915,7 @@
- Fix: ジョブに関する設定の名前を修正 relashionshipJobPerSec -> relationshipJobPerSec
- Fix: コントロールパネル->モデレーション->「誰でも新規登録できるようにする」の初期値をONからOFFに変更 #13122
- Fix: リモートユーザーが復活してもキャッシュにより該当ユーザーのActivityが受け入れられないのを修正 #13273
- Fix: フォルダーの作成・更新を行う際、フォルダー名に最低1文字要求するように変更
## 2023.12.2

View File

@ -43,7 +43,7 @@ export const meta = {
export const paramDef = {
type: 'object',
properties: {
name: { type: 'string', default: 'Untitled', maxLength: 200 },
name: { type: 'string', default: 'Untitled', minLength: 1, maxLength: 200 },
parentId: { type: 'string', format: 'misskey:id', nullable: true },
},
required: [],

View File

@ -49,7 +49,7 @@ export const paramDef = {
type: 'object',
properties: {
folderId: { type: 'string', format: 'misskey:id' },
name: { type: 'string', maxLength: 200 },
name: { type: 'string', minLength: 1, maxLength: 200 },
parentId: { type: 'string', format: 'misskey:id', nullable: true },
},
required: ['folderId'],

View File

@ -331,6 +331,8 @@ function createFolder() {
os.inputText({
title: i18n.ts.createFolder,
placeholder: i18n.ts.folderName,
default: 'Untitled',
minLength: 1,
}).then(({ canceled, result: name }) => {
if (canceled || name == null) return;
misskeyApi('drive/folders/create', {