lp://qastaging/~scope-aggregator/scope-aggregator/trunk-utopic
- Get this branch:
- bzr branch lp://qastaging/~scope-aggregator/scope-aggregator/trunk-utopic
Branch merges
Branch information
Recent revisions
- 57. By Kyle Nitzsche
-
do not show hints when either firstboot or hints_is_hidden files exist inn cache dir. write hints_is_hidden when user dismisses hints
- 53. By Kyle Nitzsche
-
fixes regression in in suppressing link to child (noticed when departments used.)
The AggScopeChild class used too take a link_to_child var and it was used
to create the canned query(which has a department_id var).But now, the canned query is not created till after the first result is received.
So I have now filed out the ACG api to include set_category_link_to_ child. And now getChildScopes() checks the json for the apt key and sets the current
child_scope struct up appropriately, and then Query::make_child_ scopes( ) checks
the proper value and sets the AggChildScoe instance appropriately - 50. By Kyle Nitzsche
-
I found that when dismissing hints the query inevitably runs twice (but not
really freshly the second time), which interfered with my new approach to only
register categories after the first result is received. Essentially, the query was
receiving the first result twice and was thus attempting to register the same
categories twice, which caused exceptions and bad behavior. To work around this,
I now check whether each category is already registered, and if so, I register it with
a unique timestamped id. Also, the category ids now encode more info, saying
whether the category is has a link to the child scope, whether it is search
or surface, and whether the renderer template is overridden by our declaration
or is obtained from the incoming result.example category id:
"com.canonical.scopes. fbphotos_ fbphotos+ link_nooverride _surface+ Thu Apr 2 19:18:44 2015" - 49. By Kyle Nitzsche
-
when not overriding the surface or search template, grab and use the incoming renderer template from the result and use it
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~knitzsche/+junk/trunk-old