Page MenuHomePhabricator

Convert search results to use PHUIObjectItemView
ClosedPublic

Authored by chad on Mar 3 2015, 5:16 AM.
Tags
None
Referenced Files
F14033685: D11948.diff
Sat, Nov 9, 7:13 PM
F14018952: D11948.diff
Tue, Nov 5, 8:41 PM
F13983857: D11948.diff
Sun, Oct 20, 9:12 AM
F13981415: D11948.id28773.diff
Sat, Oct 19, 4:23 PM
F13962780: D11948.id28784.diff
Tue, Oct 15, 12:15 PM
F13957723: D11948.id.diff
Mon, Oct 14, 10:55 AM
Unknown Object (File)
Sun, Oct 13, 2:51 PM
Unknown Object (File)
Sep 10 2024, 5:31 AM
Subscribers

Details

Summary

This moves global search results to use standard UI, and hopefully allow us to easily add more information.

Test Plan

Tested a number of open and closed task queries, tried a few users and projects. All seem to work well.

pasted_file (245×386 px, 20 KB)

pasted_file (338×599 px, 40 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Convert search results to use PHUIObjectItemView.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.

It would also be nice to know what other information might be available to return in the results for 'free', like object name, status color, fulltext snippet that was matched... anything useful?

epriestley edited edge metadata.

There isn't too much we can pick up for free (for instance, statuses don't have universal colors). We can probably get some stuff cheaply if there's anything specific you're after, although nothing relevant springs to mind for me offhand.

I think we can do snippets in MySQL somewhat-cheaply but we'd have to do our own matching. I'm less sure we can do them in ElasticSearch.

This revision is now accepted and ready to land.Mar 3 2015, 9:46 AM
This revision was automatically updated to reflect the committed changes.

I think there are maybe three (likely easy) things that could help global search.

  • Snippets (as in, show me why this was matched)
  • Grouping (group results by type, perhaps a design challenge)
  • Collapse "advanced" panel, like ApplicationSearch already does. (make people click 'edit query' to go advanced