Page MenuHomePhabricator

Refine unusual inline comment client interactions
ClosedPublic

Authored by epriestley on May 4 2020, 4:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 1:21 AM
Unknown Object (File)
Fri, Apr 19, 8:21 AM
Unknown Object (File)
Thu, Apr 11, 8:42 AM
Unknown Object (File)
Feb 22 2024, 10:16 PM
Unknown Object (File)
Feb 20 2024, 1:36 PM
Unknown Object (File)
Jan 17 2024, 2:12 PM
Unknown Object (File)
Jan 16 2024, 9:43 AM
Unknown Object (File)
Jan 11 2024, 12:03 PM
Subscribers
None

Details

Summary

Ref T13513. Refine some inline behaviors, see test plan.

Test Plan
  • Edit a comment ("A"), type text ("AB"), cancel, edit.
    • Old behavior: edit and undo states (wrong, and undo does not function).
    • New behavior: edit state only.
  • Edit a comment ("A"), type text ("AB"), cancel. Undo ("AB"), cancel. Edit.
    • Old behavior: "AB" (wrong: you never submitted this text).
    • New behavior: "A".
  • Create a comment, type text, cancel.
    • Old behavior: counter appears in filetree (wrong, comment is undo-able but should not be counted).
    • New behavior: no counter.
  • Cancel editing an empty comment with no text.
    • Old behavior: Something buggy -- undo, I think?
    • New behavior: it just vanishes (correct behavior).

Diff Detail

Repository
rP Phabricator
Branch
inline7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24331
Build 33519: Run Core Tests
Build 33518: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 4 2020, 8:15 PM
This revision was automatically updated to reflect the committed changes.