Page MenuHomePhabricator

Refine unusual inline comment client interactions
ClosedPublic

Authored by epriestley on May 4 2020, 4:33 PM.
Tags
None
Referenced Files
F18804378: D21212.diff
Sat, Oct 18, 7:51 AM
F18703649: D21212.id50514.diff
Sep 28 2025, 4:42 AM
F18112310: D21212.diff
Aug 12 2025, 4:21 PM
F18103077: D21212.id50514.diff
Aug 10 2025, 1:33 AM
F18101077: D21212.id.diff
Aug 9 2025, 12:19 PM
F18087074: D21212.id.diff
Aug 6 2025, 2:11 AM
F18083074: D21212.diff
Aug 5 2025, 8:51 AM
F17912987: D21212.id.diff
Jul 29 2025, 5:06 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.