Page MenuHomePhabricator

Move ActionList mobile links to better location
ClosedPublic

Authored by chad on Jan 12 2015, 4:19 AM.
Tags
None
Referenced Files
F13885084: D11340.id27243.diff
Thu, Oct 3, 1:24 PM
F13885074: D11340.id27253.diff
Thu, Oct 3, 1:22 PM
F13884513: D11340.diff
Thu, Oct 3, 11:16 AM
Unknown Object (File)
Thu, Sep 26, 7:05 PM
Unknown Object (File)
Sat, Sep 7, 1:53 AM
Unknown Object (File)
Aug 29 2024, 9:37 PM
Unknown Object (File)
Aug 29 2024, 9:36 PM
Unknown Object (File)
Aug 29 2024, 8:42 AM
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.