Closed Bug 738816 Opened 13 years ago Closed 12 years ago

Allow marketplace.mozilla.org to be an installable open web application

Categories

(Marketplace Graveyard :: Consumer Pages, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsmith, Assigned: Mardak)

References

Details

Attachments

(1 file)

An idea I was thinking about - Could we make marketplace.mozilla.org an installable open web application? Meaning, having a button on the marketplace page to "install as open web app" that makes a call to the mozApps API install call to install the application to the device? Likely, this will require on the web runtime side to give the marketplace special permissions to allow mozApps API operations within marketplace. The application should be able to be installed onto any device an open web app can run on (e.g. desktop, phone, tablet).

Thoughts on this idea?
Isn't this very similar to what Soup currently does (except that it doesn't work on desktop)?
Similar, except Soup is built as a native apk using web view. The difference I was thinking about with this idea would be running marketplace as an open web application on our platform, not as a native apk.
Most definitely- we've been building the consumer-side UI with the feel of an app in mind, so marketplace.mozilla.org could, inception-style, be an app its self.
Depends on: 738832, 738834
Myk - Knowing that the proof of concept for Mozilla Marketplace App using WebRT desktop is on the table now, should this be marked as a blocker for marketplace beta? How should we change the state of this bug?
(In reply to Jason Smith from comment #4)
> Myk - Knowing that the proof of concept for Mozilla Marketplace App using
> WebRT desktop is on the table now, should this be marked as a blocker for
> marketplace beta? How should we change the state of this bug?

Jason, this issue is definitely a blocker for June, and so we might as well try to get it done for April so we can start testing it. So yes, I'd list it as a blocker for the marketplace beta.
Blocks: 735054
Is this just a matter of adding a manifest to the marketplace? Or is there more?
(In reply to Andy McKay [:andym] from comment #6)
> Is this just a matter of adding a manifest to the marketplace? Or is there
> more?

It's mostly that, also we should (1) provide a magic self-install page or (2) submit the marketplace to the marketplace just like any other app
And then there's testing that the marketplace works when installed natively on Mac and Windows, and fixing any problems we find.  Plus enhancing the marketplace (and runtime) as needed to make sure the marketplace works well when installed as a native app, given that it will be a showcase, whether we highlight it or not, for what you can do with webapps.
(In reply to Bill Walker [:bwalker] [@wfwalker] from comment #7)
> (In reply to Andy McKay [:andym] from comment #6)
> > Is this just a matter of adding a manifest to the marketplace? Or is there
> > more?
> 
> It's mostly that, also we should (1) provide a magic self-install page or
> (2) submit the marketplace to the marketplace just like any other app

Might be good to advertise an "install marketplace app" button also on the marketplace.mozilla.org starting page as well, such that a user sees it stand out them in a a very obvious fashion. Might want to design it to be reusable across the web as well (similar to the browser ID button that existed), as other vendors could reuse it to improve discoverability of the marketplace and the associated native application.

(In reply to Myk Melez [:myk] [@mykmelez] from comment #8)
> And then there's testing that the marketplace works when installed natively
> on Mac and Windows, and fixing any problems we find.  Plus enhancing the
> marketplace (and runtime) as needed to make sure the marketplace works well
> when installed as a native app, given that it will be a showcase, whether we
> highlight it or not, for what you can do with webapps.

For testing this on desktop webRT will likely include something similar to the subjective apps analysis that was done for MWC, but in the context for marketplace. See me for more details.
For Android WebRT the Mozilla Marketplace is bundled, including native launcher icon. It might make sense to add other markets (that identify themselves as markets by using the mozApps API) to the list of available markets, and let the user set a default in some preference.

Of course this only concerns Android, but there should be a similar Marketplace handling for Desktop. Will the Marketplace get some premium placement as soon as the user opts in to use Mozilla Apps, or just in-Firefox on homescreen/awesomebar?

Should this be a UX bug, as on-boarding for Desktop WebRT is mostly tbd?
Who is driving this?  It sounds bigger than just the marketplace.
Myk has asked me to look into this to see if we can uncover any potential mozApps/shell/etc. issues (as well as having the Marketplace as an app.)
Assignee: nobody → edilee
Depends on: 740454
Added bug 738816 for the marketplace. If there's any other actionable items, lets add those as separate bugs.
Blocks: 738545
No longer blocks: 738545
Depends on: 738545
Blocks: 738545
No longer depends on: 738545
Note to marketplace team - This is blocking a Fennec Native Apps Phase 1 feature feature (Fennec Native 14) - We need this implemented as soon as we can to allow Mark Finkle to integrate marketplace install when Fennec Native is installed. See bug 738545.
Assigning to marketplace to make the change.
Assignee: edilee → amckay
Target Milestone: --- → 6.4.9
There was already bug 740454, sorry about the noise.
Assignee: amckay → edilee
Target Milestone: 6.4.9 → ---
Edward: can you give an update on this?
Priority: -- → P3
Attached image marketplace launched screenshot + finder (deleted) β€”
I've been able to install the marketplace using the manifest from bug 740454. Using a Nightly build with bug 739636 and bug 725408.

It installs and launches okay. See attached.

I believe Myk intended this bug to make sure the marketplace app functions correctly and to uncover other bugs. It's difficult to test the expected functionality of a native marketplace because there isn't a dashboard to show installed apps (for bug 738832).

I can get creative and manage to navigate the marketplace app to persona.org to try testing mozApps APIs, but it fails to show apps probably because the marketplace app doesn't have dom.mozApps.whitelist;https://myapps.mozillalabs.com/ pref set.

Trying to use the marketplace developer registration phase, I can't log in because the persona login tries to open a window which the native app prevents (?)

I'll continue testing various navigator.mozApps APIs from the marketplace app. For those wondering how, I use the top-right "mozilla" drop-down to reveal the "website directory" search to find a wiki page that I can control to then link to another page that I control to test out mozApps APIs.

Separate from these in-native-app issues, when viewing persona.org, it doesn't show the icon for the marketplace app because it uses an absolute url (but the icon works fine on desktop). I need to figure out where to file bugs against persona.org.
(In reply to Edward Lee :Mardak from comment #18)
> I believe Myk intended this bug to make sure the marketplace app functions
> correctly and to uncover other bugs.

Yes that's correct.

> I can get creative and manage to navigate the marketplace app to persona.org
> to try testing mozApps APIs, but it fails to show apps probably because the
> marketplace app doesn't have
> dom.mozApps.whitelist;https://myapps.mozillalabs.com/ pref set.

Right - bug 741490.

> Trying to use the marketplace developer registration phase, I can't log in
> because the persona login tries to open a window which the native app
> prevents (?)

Sounds like bug 729853. If you find any other bugs while using marketplace in a chromeless environment, file it in web apps --> desktop runtime.

> Separate from these in-native-app issues, when viewing persona.org, it
> doesn't show the icon for the marketplace app because it uses an absolute
> url (but the icon works fine on desktop). I need to figure out where to file
> bugs against persona.org.

File the bug for now in Web Apps --> Dashboard.
Depends on: 741490, 729853
No longer depends on: 729853
Thanks.  If you need something from the marketplace dev team let us know.
Depends on: 746213
Depends on: 746217
Depends on: 746229
Blocks: 752013
No longer blocks: 735054
Component: Public Pages → Consumer Pages
Product: addons.mozilla.org → Marketplace
QA Contact: web-ui → consumer-pages
Version: unspecified → 1.0
No longer depends on: 741490
Depends on: 765865
On today's Nightly, I'm able to..

1) install Marketplace app (https://marketplace.mozilla.org/manifest.webapp)
2) launch from Finder - Applications
3) log in with Persona
4) install an app
5) launch the app
6) see from Marketplace app that the app is installed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Right. We should fix bug 765865 though to be careful about how we've implemented marketplace as a web app though. We can track that as a follow-up item though.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: