1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc
epriestley a592b32ca4 Share more code between tokenizers and global typeahead
Summary:
Ref T4420. Fixes T5306. Currently, the main menubar search has a lot of redundant/unshared code.

Move some common functions into `JX.Prefab.whatever()` and call them from the main search.

The major change here is that we apply the same "only show closed/disabled/archived objects if there are no matching open objects" logic, fixing T5306.

Test Plan:
  - Used normal typeaheads.
  - Used global search.
  - Searched for a prefix shared by open and archived projects, didn't see the archived ones until the open ones were exhausted.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5306, T4420

Differential Revision: https://secure.phabricator.com/D9899
2014-07-17 15:52:58 -07:00
..
css Update Phortune UI elements 2014-07-13 09:18:50 -07:00
externals Fix various spelling mistakes 2014-07-13 00:45:33 +10:00
image Update Phortune UI elements 2014-07-13 09:18:50 -07:00
js Share more code between tokenizers and global typeahead 2014-07-17 15:52:58 -07:00
swf React to Aphlict disconnects in the UI 2014-06-24 09:41:40 -07:00