Page MenuHomePhabricator

Move ActionList mobile links to better location
ClosedPublic

Authored by chad on Jan 12 2015, 4:19 AM.
Tags
None
Referenced Files
F14038135: D11340.diff
Sun, Nov 10, 9:44 PM
F14036953: D11340.id27243.diff
Sun, Nov 10, 1:04 PM
F14014976: D11340.diff
Sun, Nov 3, 11:25 AM
F14005314: D11340.diff
Sun, Oct 27, 11:15 AM
F14000197: D11340.id27244.diff
Thu, Oct 24, 8:03 PM
F13984488: D11340.id27243.diff
Sun, Oct 20, 1:44 PM
F13961399: D11340.id27253.diff
Oct 15 2024, 4:52 AM
Unknown Object (File)
Oct 3 2024, 1:32 PM
Subscribers

Details

Summary

Ref T5752, moves mobile action menus to the object box instead of crumbs.

Test Plan

View action menus at tablet, desktop, and mobile break points. Verify clicking buttons works as expected opening menu.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Move ActionList mobile links to better location.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
epriestley edited edge metadata.

Nice!

src/view/phui/PHUIButtonView.php
25–27

Since this class extends AphrontTagView, you shouldn't need to add these yourself.

93

(This will be addSigil(), from the superclass.)

98

(This will be setMetadata(), from the superclass.)

webroot/rsrc/css/phui/phui-header-view.css
151

Not a big deal, but can we do this without !important? It always seems hacky to me when I see it.

This revision is now accepted and ready to land.Jan 12 2015, 3:16 PM
This revision was automatically updated to reflect the committed changes.

oh derp, i didn't see your inline comments. I'll follow up with another diff.

We can do this without important, but in this case that seems more hacky. That is, it takes like 4-5 classes to override it and it may break in the future if it needs more specificity. This path (menu-open) is never likely to be extended and I consider this "final", so seemed cleaner.