Page MenuHomePhabricator

Move ActionList mobile links to better location
ClosedPublic

Authored by chad on Jan 12 2015, 4:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 3:23 PM
Unknown Object (File)
Tue, Dec 17, 6:17 PM
Unknown Object (File)
Tue, Dec 17, 6:17 PM
Unknown Object (File)
Sat, Dec 7, 11:29 AM
Unknown Object (File)
Wed, Dec 4, 1:54 PM
Unknown Object (File)
Nov 27 2024, 1:04 PM
Unknown Object (File)
Nov 10 2024, 9:44 PM
Unknown Object (File)
Nov 10 2024, 1:04 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.