Page MenuHomePhabricator

Add Drafts to PhameHome
ClosedPublic

Authored by chad on Dec 12 2015, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 4:55 AM
Unknown Object (File)
Fri, Apr 12, 8:24 AM
Unknown Object (File)
Wed, Apr 10, 4:02 PM
Unknown Object (File)
Tue, Apr 9, 12:53 AM
Unknown Object (File)
Thu, Mar 28, 5:57 AM
Unknown Object (File)
Mar 5 2024, 1:53 AM
Unknown Object (File)
Mar 5 2024, 1:53 AM
Unknown Object (File)
Mar 5 2024, 1:53 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.