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
F14053673: D9899.id23923.diff
Fri, Nov 15, 6:08 PM
F14033909: D9899.diff
Sat, Nov 9, 8:41 PM
F14003857: D9899.id.diff
Sat, Oct 26, 11:35 AM
F14003587: D9899.id.diff
Sat, Oct 26, 8:01 AM
F13996960: D9899.diff
Thu, Oct 24, 1:22 AM
F13962726: D9899.id23766.diff
Oct 15 2024, 11:56 AM
F13957473: D9899.id23923.diff
Oct 14 2024, 9:35 AM
Unknown Object (File)
Oct 10 2024, 1:18 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
Branch
tok11
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1752
Build 1753: [Placeholder Plan] Wait for 30 Seconds

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).