Page MenuHomePhabricator

Formally track "initial", "committed", and "active" states for inline comments
ClosedPublic

Authored by epriestley on Mar 25 2021, 9:10 PM.
Tags
None
Referenced Files
F18734415: D21653.id.diff
Tue, Sep 30, 10:53 PM
F18696212: D21653.diff
Sat, Sep 27, 7:09 AM
F18684519: D21653.id51522.diff
Fri, Sep 26, 9:39 AM
F18683054: D21653.id51546.diff
Fri, Sep 26, 6:54 AM
F18591561: D21653.id.diff
Sep 12 2025, 9:33 AM
F18581464: D21653.diff
Sep 11 2025, 6:16 AM
F18571900: D21653.id51546.diff
Sep 10 2025, 5:28 AM
F18571896: D21653.id51522.diff
Sep 10 2025, 5:28 AM
Subscribers
None

Details

Summary

Ref T13559. Various client decisions depend on the "initial" or "committed" states of inline comments. Previously, these were informally constructed from "mostly similar" available values, or glossed over in some cases.

On the server, save the initial state when creating a comment. Save the committed state when applying a "save" operation. Send all three states to the client.

On the client, load and track all three states explicitly.

Test Plan

Created inlines, etc. See followups.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 29 2021, 4:01 PM
This revision was automatically updated to reflect the committed changes.