Page MenuHomePhabricator

Add Drafts to PhameHome
ClosedPublic

Authored by chad on Dec 12 2015, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 8:54 PM
Unknown Object (File)
Thu, Dec 5, 8:54 PM
Unknown Object (File)
Tue, Dec 3, 2:17 PM
Unknown Object (File)
Mon, Dec 2, 4:01 AM
Unknown Object (File)
Sun, Dec 1, 7:10 AM
Unknown Object (File)
Sun, Dec 1, 7:10 AM
Unknown Object (File)
Sun, Dec 1, 7:10 AM
Unknown Object (File)
Sun, Dec 1, 7:10 AM
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.