Homec4science

Write "hasReplies" to database for inline comments

Authored by epriestley <git@epriestley.com> on Mar 9 2015, 19:51.

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

Committed
epriestley <git@epriestley.com>Mar 9 2015, 22:11
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf66edccf6220: Respect outbound HTTP setting in macro generation
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2972894a4df9: Write "hasReplies" to database for inline comments (authored by epriestley <git@epriestley.com>).Mar 9 2015, 22:11