touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00117
[Bug 1324540] Re: *QueryBase classes should be extended
** Changed in: unity-scopes-api
Status: Fix Committed => Fix Released
** Changed in: unity-scopes-api (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1324540
Title:
*QueryBase classes should be extended
Status in API for Unity scopes integration:
Fix Released
Status in “unity-scopes-api” package in Ubuntu:
Fix Released
Bug description:
Scopes' SearchQueryBase, PreviewQueryBase etc. subclasses often need
parameters that are passed to the respective ScopeBase methods (for
example the query parameter in search(), or result parameter in
preview()), but we're leaving it up to scopes to actually copy these,
to have them available in their run() implementation. Since pretty
much every scope needs them we should change the classes to have those
by default.
List of desired changes:
- CannedQuery (+SearchMetadata?) from search() should be available in SearchQueryBase
- Result (+ActionMetadata?) from preview()/activate()/perform_action() should be available in PreviewQueryBase / ActivationQueryBase
- activation ids from perform_action() in ActivationQueryBase (not
convinced about those though)
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-scopes-api/+bug/1324540/+subscriptions