Page MenuHomePhabricator

Add a description/toggle to PHUIObjectItemView
ClosedPublic

Authored by chad on May 23 2017, 11:44 PM.
Tags
None
Referenced Files
F15459059: D18006.id.diff
Mon, Mar 31, 9:29 AM
F15456397: D18006.diff
Sun, Mar 30, 9:26 AM
F15427298: D18006.id43308.diff
Sun, Mar 23, 1:36 PM
F15390232: D18006.id43309.diff
Mar 15 2025, 6:02 AM
F15379490: D18006.id43309.diff
Mar 13 2025, 9:29 PM
F15371247: D18006.id43313.diff
Mar 12 2025, 11:59 AM
Unknown Object (File)
Feb 15 2025, 4:23 PM
Unknown Object (File)
Feb 9 2025, 4:12 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.