Skip to content

下書き保存時に「有害なリアクションを許可」設定が保持されない #76

Description

@EbiseLutica

概要

投稿フォームで「有害なリアクションを許可」(allowHarmfulReaction) を有効にした状態でサーバー下書きとして保存すると、この設定値が保存されず、復元時に既定値 (false) に戻ってしまいます。

再現手順

  1. 設定 → プロフィール で「有害なリアクションを許可」を有効にする
  2. 投稿フォームでノートを作成
  3. 下書き一覧からサーバー下書きとして保存する(ローカル下書きではない)
  4. 保存した下書きを復元する

期待する動作

allowHarmfulReaction の値が下書きに保存され、復元時に再現される

実際の動作

復元時に既定値 (false) に戻る

原因

MkPostForm.vuesaveServerDraft()allowHarmfulReaction を含めて notes/drafts/create / notes/drafts/update を呼び出しているが、これらの paramDefallowHarmfulReaction が定義されていない(notes/create.tsparamDef には存在する)。

影響範囲

ローカル下書き (localStorage) は影響なし。サーバー下書きのみ。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions