lp://qastaging/~scope-aggregator/scope-aggregator/trunk-utopic

Created by Kyle Nitzsche and last modified
Get this branch:
bzr branch lp://qastaging/~scope-aggregator/scope-aggregator/trunk-utopic
Members of scope-aggregator can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
scope-aggregator
Project:
scope-aggregator
Status:
Development

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

56. By Kyle Nitzsche

remerge MR 253983

55. By Kyle Nitzsche

partial merge frmom trunk to pick up install from store work

54. By Kyle Nitzsche

suppress debug messages. release 1.1

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

52. By Kyle Nitzsche

remove unused bools. add missing cat_id string

51. By Kyle Nitzsche

add missing comma to hints.json

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

48. By Kyle Nitzsche

working but thorough testing needed

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
This branch contains Public information 
Everyone can see this information.

Subscribers