Page MenuHomePhabricator

Share more code between tokenizers and global typeahead
ClosedPublic

Authored by epriestley on Jul 11 2014, 5:18 PM.
Tags
None
Referenced Files
F13188865: D9899.diff
Sat, May 11, 5:33 AM
F13183107: D9899.id23923.diff
Fri, May 10, 6:58 AM
F13183106: D9899.id23766.diff
Fri, May 10, 6:58 AM
F13183105: D9899.id23945.diff
Fri, May 10, 6:58 AM
Unknown Object (File)
Tue, May 7, 7:49 AM
Unknown Object (File)
Fri, May 3, 8:46 AM
Unknown Object (File)
Thu, May 2, 5:36 AM
Unknown Object (File)
Wed, Apr 24, 11:02 PM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Share more code between tokenizers and global typeahead.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
btrahan added inline comments.
webroot/rsrc/js/core/Prefab.js
231

something for later / never, but i was surprised the object didn't have named fields (e.g. object.field) instead of being an array.

This revision is now accepted and ready to land.Jul 17 2014, 10:31 PM
webroot/rsrc/js/core/Prefab.js
231

Ah, that's reasonable. I'll rename this to fields or something.

epriestley edited edge metadata.
  • Rename object to fields.
epriestley updated this revision to Diff 23945.

Closed by commit rPa592b32ca4b9 (authored by @epriestley).