Page MenuHomePhabricator

Fix a couple of home menu issues for logged-out viewers
ClosedPublic

Authored by epriestley on Jan 31 2017, 7:38 PM.
Tags
None
Referenced Files
F18898123: D17274.id.diff
Fri, Nov 7, 6:16 PM
F18865600: D17274.diff
Mon, Nov 3, 1:04 PM
F18757535: D17274.id41557.diff
Oct 5 2025, 6:00 PM
F18732591: D17274.diff
Sep 30 2025, 6:55 PM
F18650062: D17274.diff
Sep 20 2025, 11:18 PM
F18642885: D17274.id41559.diff
Sep 19 2025, 1:02 AM
F18590085: D17274.diff
Sep 12 2025, 5:09 AM
F18442787: D17274.id.diff
Aug 31 2025, 5:59 PM
Subscribers
None

Details

Summary

Ref T12174. These items could fatal ($item not defined) if the viewer was not logged in.

Test Plan
  • Viewed home as a logged-out user.

Diff Detail

Repository
rP Phabricator
Branch
home3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15455
Build 20364: Run Core Tests
Build 20363: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 31 2017, 7:40 PM
src/applications/home/menuitem/PhabricatorHomeLauncherProfileMenuItem.php
52–54

oops this should be ! hue hue

I didn't think to check logged out homepage.

Actually, I guesss "More Applications" is fine to show whether the user is logged in or not.

  • Show "More Applications" even if the user is not logged in, it's fine for them to go explore Paste or whatever.
This revision was automatically updated to reflect the committed changes.

What's the plan with mobile

I liked the old behavior (show menu by default). I don't think this behavior (show default item by default) is awful if you want to keep it, but I'd plan to swap back to the old behavior unless you particularly like this one.

I prefer the menu, mostly because I use Feed more on mobile.