Page MenuHomePhabricator

Modernize DifferentialRevisionSearchEngine
ClosedPublic

Authored by epriestley on May 15 2016, 5:37 PM.
Tags
None
Referenced Files
F15495652: D15921.id38337.diff
Sun, Apr 13, 5:22 AM
F15490788: D15921.id38337.diff
Fri, Apr 11, 8:34 PM
F15486285: D15921.id38348.diff
Thu, Apr 10, 6:21 AM
F15484989: D15921.id38348.diff
Wed, Apr 9, 9:12 PM
F15468831: D15921.id.diff
Fri, Apr 4, 6:19 AM
F15468022: D15921.diff
Thu, Apr 3, 7:26 PM
F15464082: D15921.id38337.diff
Wed, Apr 2, 6:22 AM
F15423791: D15921.id38348.diff
Mar 22 2025, 6:20 PM
Subscribers
None

Details

Summary

Ref T10939. Ref T4144. This moves the revision SearchEngine to modern code so I can add some kind of bucketing layer on top of it.

This seems to have worked pretty cleanly. One thing is that I removed the ability to search for "pending drafts":

  • This was added in D1927 from a bootcamp task, was an indirect solution to a questionable problem, and almost certainly would not meet the bar today.
  • Later, in D3324, we added the icons to the list. I think this is a better solution in general. In particular, it specifically addressed the query being kind of junky.
  • At the time, Differential had a prebuilt "Drafts" filter. This was removed in D6347 with the move to ApplicationSearch, which simplified the large number of prebuilt filters. Although we got a lot of feedback about that, none requested that the drafts filter be restored.
Test Plan

Searched for responsible users, subscribers, orders, projects, repositories.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable