Page MenuHomePhabricator

Add a description/toggle to PHUIObjectItemView
ClosedPublic

Authored by chad on May 23 2017, 11:44 PM.
Tags
None
Referenced Files
F13088469: D18006.diff
Thu, Apr 25, 1:26 AM
Unknown Object (File)
Tue, Apr 23, 2:07 PM
Unknown Object (File)
Wed, Apr 10, 6:34 PM
Unknown Object (File)
Fri, Apr 5, 3:43 PM
Unknown Object (File)
Sat, Mar 30, 7:15 AM
Unknown Object (File)
Feb 17 2024, 12:31 PM
Unknown Object (File)
Feb 17 2024, 11:38 AM
Unknown Object (File)
Feb 17 2024, 11:37 AM
Subscribers

Details

Summary

Gives the ability to hide a big long block of text in an ObjectListItem without cluttering the UI.

Test Plan

Added a test case to UIExamples. Click on icon, see content. Click again, content go away.

image.png (386×594 px, 31 KB)

image.png (974×2 px, 208 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • use in DiffusionHistoryListView
This revision is now accepted and ready to land.May 24 2017, 1:34 PM
src/applications/diffusion/view/DiffusionHistoryListView.php
109

Since this isn't batched, I'd expect it to be quite slow in the general case (e.g., if we show 100 commits and they each mention revisions/users, we'll do 100+ single queries), but we can deal with that later.

(There isn't a very good "right" way to do it right now and I'd like to move us to something like HandlePool since I think that has been successful in making it a lot less cumbersome to do fetches with handles efficiently.)

hmmmmmm, ok, should I file something?

This revision was automatically updated to reflect the committed changes.

Sure, couldn't hurt if you want to jot it down.