Skip to content

Bug: ノートの「編集」で画像を添付すると、送信の有無に関わらずクライアントでは添付される #44

@Suzlun

Description

@Suzlun

💡 Summary

仮にこのようなノートを編集するとして
Screenshot_20240918_002543_Chrome

編集でファイルを添付すると、編集した段階ですでに反映されてしまう
Screenshot_20240918_002528_Chrome

中断(送信を押さなくても)してもクライアントでのノートは編集された状態のまま
Screenshot_20240918_002900_Chrome

リロードすると直る。そりゃ送信されてない当たり前だけど。
Screenshot_20240918_002535_Chrome

🥰 Expected Behavior

編集を中断すると、情報が破棄される。
理想をいえば、送信するまでクライアントのノート情報は編集されないほうが好ましい

🤬 Actual Behavior

Summaryのとおり。まぁ致命的なバグではない。

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):Android S23 及び Windows
* Browser:Chrome
* Server URL:prismisskey.space、dev.9ineverse.com
* Type4ny:0.1.4

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request

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