@Brian: Right. That could work under the following assumptions:
- the result uri uniquely identifies a result (currently we don't really
require that nor make any assumptions around that anywhere in the shell as far
as I remember) in the scope which is interested in providing that functionality;
- given a result uri, the scope can produce a *single* result in response;
- that would require a new method in the scopes API ("result_for_uri",
"search_by_uri" or some such) to be implemented by scope author to provide this
new functionality.
- the shell would need to do 2 calls (get the result by uri first, pass it to
preview).
- alternatively, implement this with a new method such as "preview_by_uri", but
I think I'm leaning towards the former approach with result_for_uri as building
the previews is (usually) more complex part of the scope, so requiring scope
authors to think of yet another entry point for previews is probably too much.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1492252
Title:
Allow direct linking to a Preview via uri
Status in Client Developer Experience:
New
Status in unity-scopes-api package in Ubuntu:
Invalid
Status in unity-scopes-shell package in Ubuntu:
Confirmed
Bug description:
I can already link to a scopes search via the scope:// protocol but it
would be great to be able to link directly to a preview page via a
scope:// uri. This would be especially helpful for uApp Explorer to
link directly to an app in the official store (rather than the search
page like it does now).
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1492252/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp