[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-09-27 Thread Brian Douglass
Thanks for the update! Out of curiosity, what sort of changes need to
happen in unity8?

-- 
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/1492252

Title:
  Allow direct linking to a Preview via uri

Status in Client Developer Experience:
  New
Status in Canonical System Image:
  Confirmed
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-09-27 Thread Paweł Stołowski
Hi Brian, I started working on the implementation in unity-scopes-shell
at the time we discussed this, but it turned out to be more complex than
expected.

First off, the solution with preview_by_key I suggested above turned out
to be a no-go, because it was incompatible with how preview actions work
(I should have noticed it early...); so, the way to go is a
"result_for_key" method that needs to be implemented by scopes which
want to support canned queries requesting a preview.

Second off, I've some of that "new approach" implemented in the shell
plugin, but we will need changes in plugin<->shell interface too, and
for the unity8 shell side of things I need somebody from unity8 team. I
hope this will happen at some point, but this enhancement is not a
priority at the moment.

-- 
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/1492252

Title:
  Allow direct linking to a Preview via uri

Status in Client Developer Experience:
  New
Status in Canonical System Image:
  Confirmed
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-09-26 Thread Brian Douglass
Hi guys! I was just wondering if this issue was on a feature roadmap or
anything. It would be really useful for uApp Explorer.

-- 
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/1492252

Title:
  Allow direct linking to a Preview via uri

Status in Client Developer Experience:
  New
Status in Canonical System Image:
  Confirmed
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-07-01 Thread Pat McGowan
** Changed in: canonical-devices-system-image
   Importance: Undecided => Wishlist

** Changed in: canonical-devices-system-image
   Status: New => Confirmed

** Changed in: canonical-devices-system-image
 Assignee: (unassigned) => Alejandro J. Cura (alecu)

-- 
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 Canonical System Image:
  Confirmed
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-30 Thread Brian Douglass
Wonderful, I can't wait! Thank you so much for getting to this.

-- 
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 Canonical System Image:
  New
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-30 Thread Pawel Stolowski
Ok, after some internal discussion about this enhancement the agreed
solution is to provide a new "preview_by_key" method (temporary name)
which scopes can implement to support canned queries requesting
previews. The argument of this method will be a string that acts as a
unique key and it's up to the scope what it really is (it can be just a
uri).

-- 
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 Canonical System Image:
  New
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-29 Thread Pawel Stolowski
Re-assigning to unity-scopes-api as a new endpoint handler (get result
by uri, or get preview by uri depending on how it ends up implemented in
the shell plugin) will be needed, plus an enhancement to CannedQuery.

** Changed in: unity-scopes-api (Ubuntu)
   Status: Invalid => Confirmed

** Changed in: unity-scopes-api (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: unity-scopes-api (Ubuntu)
 Assignee: (unassigned) => Pawel Stolowski (stolowski)

** Changed in: unity-scopes-shell (Ubuntu)
 Assignee: (unassigned) => Pawel Stolowski (stolowski)

-- 
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 Canonical System Image:
  New
Status in unity-scopes-api package in Ubuntu:
  Confirmed
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-29 Thread Alejandro J. Cura
** Also affects: canonical-devices-system-image
   Importance: Undecided
   Status: New

-- 
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/1492252

Title:
  Allow direct linking to a Preview via uri

Status in Client Developer Experience:
  New
Status in Canonical System Image:
  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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-27 Thread Pawel Stolowski
@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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-26 Thread Michal Predotka
** Also affects: canonical-developer-experience
   Importance: Undecided
   Status: New

-- 
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 : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-06-26 Thread Michal Predotka
As an app developer I'm looking forward to use this kind of
functionality. That way I could for example give a link in my free demo
app to a paid, full version app in the store.

-- 
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 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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-04-18 Thread Brian Douglass
Just a suggestion, but what if you had an optional feature where (if
enabled) the preview would fetch the single result and display it? So
for example, linking directly to an app in the click store scope would
first launch an api call then show the preview using the results of the
call. That way each scope can implement it (or not implement it) in a
way that makes the most sense to them.

I don't pretend to know anything about the internals of the scopes
implementation so my suggestion could be way off base.

-- 
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 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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-04-18 Thread Pawel Stolowski
This poses a challenge, because shell needs to pass the complete copy of
the activated result with preview request. When preview is requested by
the user via the UI, the shell naturally has the result in question and
can pass it. But to make this work via a canned query, we would need to
serialize entire result in the canned query, so that the query can be
invoked from any context of the UI. While this is doable, I think it
will be very fragile and hard for apps to get right (even a subtle
change in preview handling internals of the scope may break canned
queries created for it by external apps).

-- 
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 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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2016-04-18 Thread Pawel Stolowski
** Changed in: unity-scopes-shell (Ubuntu)
   Importance: Undecided => Wishlist

-- 
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 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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2015-10-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: unity-scopes-shell (Ubuntu)
   Status: New => Confirmed

-- 
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 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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2015-09-06 Thread Michi Henning
I don't believe any change is required on the scopes API side for this.
It looks like this would be purely a shell feature.

** Changed in: unity-scopes-api (Ubuntu)
   Status: New => Invalid

-- 
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 unity-scopes-api package in Ubuntu:
  Invalid
Status in unity-scopes-shell package in Ubuntu:
  New

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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1492252] Re: Allow direct linking to a Preview via uri

2015-09-06 Thread Michi Henning
** Also affects: unity-scopes-shell (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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 unity-scopes-api package in Ubuntu:
  New
Status in unity-scopes-shell package in Ubuntu:
  New

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/ubuntu/+source/unity-scopes-api/+bug/1492252/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp