HomePhabricator

Write "hasReplies" to database for inline comments

Description

Write "hasReplies" to database for inline comments

Summary:
Ref T1460. Ref T2618.

When publishing a draft inline, mark the inline it replies to (if any) as replied to.

Also, don't load deleted comments as drafts (sets the stage for T2618).

I'll make an effort to clean up the loading mess here in the next revision, and find some more appropriate home for the shared code.

Test Plan: Made and replied to comments in Differential and Diffusion. Saw comments get marked as "Has Replies" and "Is Reply".

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2618, T1460

Differential Revision: https://secure.phabricator.com/D12025

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Mar 9 2015, 9:11 PM
Reviewer
btrahan
Differential Revision
D12025: Write "hasReplies" to database for inline comments
Parents
rPf66edccf6220: Respect outbound HTTP setting in macro generation
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
T1460: Add "Done" link to an inline comment