Page MenuHomePhabricator

Show icons and disabled/archived/closed results in typahead dynamic list
ClosedPublic

Authored by epriestley on Feb 14 2014, 3:18 PM.
Tags
None
Referenced Files
F18630055: D8231.id.diff
Tue, Sep 16, 10:39 AM
F18626151: D8231.diff
Tue, Sep 16, 12:28 AM
F18619989: D8231.diff
Mon, Sep 15, 3:55 AM
F18572924: D8231.diff
Wed, Sep 10, 7:38 AM
F18544772: D8231.diff
Mon, Sep 8, 1:16 AM
F18166589: D8231.id.diff
Aug 15 2025, 10:41 AM
F17691312: D8231.id19591.diff
Jul 14 2025, 9:17 PM
F17677887: D8231.id.diff
Jul 13 2025, 12:21 PM
Tokens
"Haypence" token, awarded by btrahan.

Details

Summary

Ref T4420. This is mostly a design change, but addresses two functional issues:

  1. Many sources exclude disabled accounts, system agents, archived projects, etc. It is rare to select these, but excluding them completely is too severe, and we've made more than a handful of changes over time to replace a "users" endpoint with an "accounts" endpoint (to include disabled users) or similar. Instead, always show these results, but sort them last and use a special style to clearly mark them as closed, disabled, or otherwise unusual.
    • As a practical consequence, all the similar endpoints can now be merged, so "accounts" and "users" return the exact same result sets.
  2. Increasingly, sources can return multiple object types in a single list. For example, "CC" can have a user or mailing list, and soon a project or repository. However, the result list is fairly homogenous across types and it isn't easy to quickly pick out projects vs users. To help with this, add icons showing the result type.
Test Plan

{F113079}

(The main search results get touched here too, I verified they didn't blow up.)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped