Merge lp:~knitzsche/scope-aggregator/hints-dismiss-via-cannedquery-user-data into lp:scope-aggregator
Proposed by
Kyle Nitzsche
Status: | Merged |
---|---|
Merged at revision: | 160 |
Proposed branch: | lp:~knitzsche/scope-aggregator/hints-dismiss-via-cannedquery-user-data |
Merge into: | lp:scope-aggregator |
Diff against target: |
146 lines (+60/-19) 4 files modified
CMakeLists.txt (+1/-1) include/query.h (+2/-2) src/query.cpp (+51/-12) src/utils.cpp (+6/-4) |
To merge this branch: | bzr merge lp:~knitzsche/scope-aggregator/hints-dismiss-via-cannedquery-user-data |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary.Wang | Approve | ||
Jin | Pending | ||
Zhang Enwei | Pending | ||
Review via email: mp+287373@code.launchpad.net |
Description of the change
this MR is 1 of 2 needed to remove the problem of hints quickstart help using the query string to signal back to the agg scope not to show quickstart any more.
I found that we can use canned query's user_data to contain the signal and this can be retrieved inside the agg scope.
The other MR is against hints scope. And of course the agg scopes that use this feature (photos and today that I know of) will also need to be updated and released with these.
To post a comment you must log in.
Looks good to me
Thanks.
P.S I was not aware that we have an api to handle this. I will make some code change to use user_data instead query_string, alongside with new features added or bug fixing.