Page MenuHomePhorge

Restore draft after editing
Needs ReviewPublic

Authored by nannanko on Mon, Oct 13, 12:02 AM.

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
Maniphest Tasks
T167: Restore user's draft
Summary

m.replace will replace user's draft, this restore it after editing.

Type: add

Test Plan

Type some draft in a room, then edit a event, check if old draft is restored when exit editing.

Continuously select multiple events for editing, check if initial draft is restored when exit editing.

Verify unit tests pass.

Diff Detail

Repository
rK kazv
Branch
nannanko/delete-edit-message
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 470
Build 923: GitLab CI for kazv
Build 922: arc lint + arc unit

Event Timeline

src/tests/quick-tests/tst_SendMessageBoxDrafts.qml
156

I don't know why, the test_saveDraftsOnSwitching() doesn't pass without this line.

nannanko marked an inline comment as not done.Mon, Oct 13, 12:11 AM
nannanko edited the summary of this revision. (Show Details)
nannanko edited the summary of this revision. (Show Details)