Page MenuHomePhabricator

Fix interaction between undo and inline comment placement
ClosedPublic

Authored by epriestley on Mar 25 2015, 1:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 5:56 PM
Unknown Object (File)
Sun, Dec 29, 10:54 PM
Unknown Object (File)
Sun, Dec 29, 10:19 PM
Unknown Object (File)
Dec 12 2024, 5:56 AM
Unknown Object (File)
Dec 11 2024, 2:05 AM
Unknown Object (File)
Dec 6 2024, 4:58 PM
Unknown Object (File)
Dec 5 2024, 7:55 AM
Unknown Object (File)
Nov 20 2024, 4:10 PM
Subscribers

Details

Summary

Fixes T7658. Currently, we remove the "undo" before placing the comment, but that causes us to lose track of which row we should be examining.

Instead, place the comment first, then remove the "undo".

Test Plan

This stuff is hard to test comprehensively, but the original report reproduced easily and is now fixed. I wasn't able to break anything by adding/editing/deleting comments.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix interaction between undo and inline comment placement.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Mar 25 2015, 1:47 PM
This revision was automatically updated to reflect the committed changes.