Page MenuHomePhabricator

When adding `{Fnnn}` file references by editing comments, link objects to files
ClosedPublic

Authored by epriestley on Sep 5 2014, 11:45 AM.
Tags
None
Referenced Files
F13300658: D10423.diff
Fri, Jun 7, 9:25 AM
F13269598: D10423.diff
Wed, May 29, 6:29 AM
F13252795: D10423.diff
Sat, May 25, 2:04 AM
F13219840: D10423.id25076.diff
Sat, May 18, 9:16 PM
F13205840: D10423.diff
May 15 2024, 2:34 AM
F13189941: D10423.diff
May 11 2024, 6:36 AM
Unknown Object (File)
May 7 2024, 10:16 AM
Unknown Object (File)
May 3 2024, 10:38 AM
Subscribers

Details

Summary

Fixes T6037. We don't currently write the "this file is attached to such-and-such object" edge on comment edits.

Test Plan

Edited a comment, adding {Fnnn}. Verified file was not attached before the edit, but was afterward.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to When adding `{Fnnn}` file references by editing comments, link objects to files.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.

inline about the TODO as I think its TODONE and want to clarify for myself.

src/applications/transactions/editor/PhabricatorApplicationTransactionCommentEditor.php
72–73

this ended up getting done generically in the main editor, right?

This revision is now accepted and ready to land.Sep 5 2014, 5:40 PM

Oh, sorry, meant to write an inline about that.

I basically think we're good without having a notification/story about the edit. All the uses I've seen are very normal/boring and I'm never surprised or confused as a user.

epriestley updated this revision to Diff 25084.

Closed by commit rP25f4a23a959f (authored by @epriestley).