Page MenuHomePhabricator

Add Drafts to PhameHome
ClosedPublic

Authored by chad on Dec 12 2015, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 19, 8:05 AM
Unknown Object (File)
Wed, Feb 19, 8:05 AM
Unknown Object (File)
Wed, Feb 19, 8:05 AM
Unknown Object (File)
Wed, Feb 19, 8:05 AM
Unknown Object (File)
Wed, Feb 19, 8:05 AM
Unknown Object (File)
Tue, Feb 11, 4:58 AM
Unknown Object (File)
Sun, Feb 9, 12:06 AM
Unknown Object (File)
Sun, Feb 2, 1:41 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
Branch
phame-home-4 (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9502
Build 11332: Run Core Tests
Build 11331: arc lint + arc unit

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.