Closed Bug 883402 Opened 12 years ago Closed 11 years ago

Create e.me view and webactivities in Fireplace

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-09-24

People

(Reporter: andy+bugzilla, Assigned: cvan)

References

Details

(Whiteboard: [qa-])

We co-opted bug 879437 to fix up the API. The API will accept a manifest_url as a search param and return the standard search results for that manifest_url. It should be just one object, probably best to check that somewhere. When fireplace gets an activity like: https://bugzilla.mozilla.org/show_bug.cgi?id=879437#c10 ...it will do the search and then show the resulting app object (maybe doing a redirect). Or something like that.
Tasks here: - Create a view for e.me web activities - Create a web activity - Make the view hit the API - When the API responds, z.page.trigger('divert', [urls.reverse('app', [slug])])
Assignee: nobody → mattbasta
Priority: -- → P2
Summary: Cope with a manifest_url → Create e.me view and webactivities in Fireplace
Depends on: 897156
Priority: P2 → P1
Searching for `:manifest={manifest}` will now return the app in Fireplace's search results: https://marketplace-dev.allizom.org/search?q=%3Amanifest%3Dhttp%3A%2F%2Flittlealchemy.com%2Fmanifest.webapp
https://github.com/mozilla/fireplace/commit/035f425 Done: // Look up app by its manifest URL. new MozActivity({ name: 'marketplace-app', data: {manifest_url: 'http://littlealchemy.com/manifest.webapp'} }); // Look up app by its slug. new MozActivity({ name: 'marketplace-app', data: {slug: 'littlealchemy'} }); See https://github.com/mozilla/fireplace/wiki/Web-Activities for more examples. I'll rely on everything.me for QA on this one. Let me know if you have any questions or issues.
Assignee: mattbasta → cvan
Status: NEW → RESOLVED
Closed: 11 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2013-09-24
You need to log in before you can comment on or make changes to this bug.