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
F13351286: D10423.id25076.diff
Sun, Jun 23, 8:34 AM
F13344210: D10423.diff
Fri, Jun 21, 7:04 AM
F13333609: D10423.diff
Tue, Jun 18, 8:17 AM
F13300658: D10423.diff
Fri, Jun 7, 9:25 AM
F13269598: D10423.diff
Wed, May 29, 6:29 AM
F13252795: D10423.diff
May 25 2024, 2:04 AM
F13219840: D10423.id25076.diff
May 18 2024, 9:16 PM
F13205840: D10423.diff
May 15 2024, 2:34 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
Branch
editfilelink
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2441
Build 2445: [Placeholder Plan] Wait for 30 Seconds

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).