Page MenuHomePhorge

Implement event editing
ClosedPublic

Authored by tusooa on May 8 2024, 6:54 PM.
Tags
None
Referenced Files
F28780: D22.1726797540.diff
Wed, Sep 18, 6:59 PM
F28712: D22.1726795815.diff
Wed, Sep 18, 6:30 PM
F28453: D22.1726785671.diff
Wed, Sep 18, 3:41 PM
F28431: D22.1726784770.diff
Wed, Sep 18, 3:26 PM
F28415: D22.1726784506.diff
Wed, Sep 18, 3:21 PM
F28371: D22.1726783791.diff
Wed, Sep 18, 3:09 PM
Unknown Object (File)
Mon, Sep 16, 12:30 PM
Unknown Object (File)
Fri, Sep 6, 3:20 AM
Subscribers
None

Details

Summary

This adds a menu item to edit a self-sent text event. It also enables one to send an event with rel-type m.replace.

Type: add

Test Plan
  • Verify unit tests pass.

Basic editing functionality:

  • Open the menu for a self-sent text event.
  • Verify that the Edit button is enabled.
  • Click the Edit button.
  • Verify that the send message box is filled with the body of that event.
  • Input something in the send message box.
  • Send the message.
  • Verify that a local echo is displayed briefly and then the edited version is shown.

Get the correct body for a reply event:

  • Send a message replying to some other text event from Element Web.
  • Edit that message from kazv.
  • Verify that the send message box is only filled with the actual content, not the quotation.

Edit an edited event:

  • Edit an edited event.
  • Verify that the body of the newest is in the send message box.

Reply functionality:

  • Reply to an event in kazv.
  • Verify that the reply can be successfully sent.

Cancelling relationships:

  • In the event menu click on Reply.
  • Click the (x) button on the top-right of the send message box.
  • Verify that the replied-to event is no longer displayed on the top.
  • In the event menu click on Edit.
  • Click the (x) button on the top-right of the send message box.
  • Verify that the event being edited is no longer displayed on the top.
  • Verify that the send message box still contains whatever it contained before clicking (x).

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36
Build 63: GitLab CI for kazv
Build 62: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 8 2024, 6:57 PM
Harbormaster failed remote builds in B36: Diff 49!
This revision is now accepted and ready to land.Jun 1 2024, 2:30 AM
This revision was automatically updated to reflect the committed changes.