Page MenuHomePhabricator

Add Drafts to PhameHome
ClosedPublic

Authored by chad on Dec 12 2015, 9:04 PM.
Tags
None
Referenced Files
F13281978: D14756.diff
Sun, Jun 2, 11:33 AM
F13248380: D14756.id35684.diff
Fri, May 24, 2:35 AM
F13248377: D14756.id35683.diff
Fri, May 24, 2:35 AM
F13248376: D14756.id35682.diff
Fri, May 24, 2:35 AM
F13248375: D14756.id.diff
Fri, May 24, 2:35 AM
F13248374: D14756.diff
Fri, May 24, 2:35 AM
F13214993: D14756.diff
Fri, May 17, 2:12 PM
F13196755: D14756.diff
Sun, May 12, 11:32 PM
Subscribers

Details

Reviewers
epriestley
Maniphest Tasks
T9927: Improve PhameHome
Commits
Restricted Diffusion Commit
rP32a7674c22b9: Add Drafts to PhameHome
Summary

Adds a list of your drafts. Fixes T9927

Test Plan

Load up home, see my drafts. Fake 0 drafts, see fallback message.

pasted_file (464×309 px, 37 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Add Drafts to PhameHome.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/phame/controller/PhameHomeController.php
61

This should also have withBloggerPHIDs(array($viewer->getPHID())) or something, since otherwise we'll load everyone else's drafts and filter them really slowly in PHP.

And probably just skip this completely if !$viewer->isLoggedIn() since logged-out users can't have drafts?

This revision is now accepted and ready to land.Dec 12 2015, 9:11 PM
chad edited edge metadata.
  • updates to visibility
chad marked an inline comment as done.Dec 12 2015, 9:25 PM
This revision was automatically updated to reflect the committed changes.