Page MenuHomePhabricator

Make Tables play well in PHUIObjectBoxView
ClosedPublic

Authored by chad on Jan 7 2014, 12:37 AM.
Tags
None
Referenced Files
F14092706: D7901.diff
Mon, Nov 25, 7:46 AM
Unknown Object (File)
Thu, Nov 21, 1:33 AM
Unknown Object (File)
Sun, Nov 17, 6:48 AM
Unknown Object (File)
Tue, Oct 29, 1:32 PM
Unknown Object (File)
Oct 26 2024, 3:21 AM
Unknown Object (File)
Oct 25 2024, 3:58 PM
Unknown Object (File)
Oct 23 2024, 3:17 AM
Unknown Object (File)
Oct 22 2024, 3:26 PM

Details

Summary

Updates table design to use new standards, work well in PHUIObjectBox. Fixes T4142

Comma

Test Plan

Tested on Diffusion, Settings, will roll out to more places soon

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Tables look great, but one issue inline.

I think you can swap the FormLayoutView back to a FormView? Maybe? If that doesn't work, let me know and we can sort something else out.

If that doesn't work, you can use phabricator_form() to put a style-less <form /> around some content.

src/applications/settings/panel/PhabricatorSettingsPanelHomePreferences.php
199

This button doesn't actually work now (i.e., clicking it does nothing), since FormLayoutView just looks like a form, but is not actually a <form /> tag.

Oh I wound swear PHUIFormlayoutView extended AphrontFormView. Basically I just want something unstyled. Will recheck when I get back.

Yeah that was silly. Basically AphrontFormView adds padding, which I dont want. I can either add a setNoPadding, or wrap the page in a special class. I'll probably do the latter since there isn't much re-use of the former.

chad updated this revision to Unknown Object (????).Jan 7 2014, 3:36 AM
  • Make it work write
chad updated this revision to Unknown Object (????).Jan 7 2014, 6:58 PM
  • Update Diffusion to use new tables.

I got a message saying this wasn't accepted when I went to land. Is that expected?

Yes, if someone requests changes, that person is required to clear the flag for the revision to be marked as accepted.

There's a bunch of meta-discussion on this (mostly in T1279) but it probably shouldn't work just like that forever.