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)
Sat, Apr 6, 2:00 AM
Unknown Object (File)
Wed, Mar 20, 2:26 PM
Unknown Object (File)
Mar 10 2024, 8:56 PM
Unknown Object (File)
Feb 4 2024, 5:06 PM
Unknown Object (File)
Jan 17 2024, 10:36 AM
Unknown Object (File)
Jan 5 2024, 3:51 PM
Unknown Object (File)
Dec 29 2023, 3:58 AM
Unknown Object (File)
Dec 24 2023, 6:21 AM
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.