Closed
Bug 1515679
Opened 5 years ago
Closed 5 years ago
Add test data / initial dev tools for testing / developing pocket layouts
Categories
(Firefox :: New Tab Page, enhancement, P1)
Firefox
New Tab Page
Tracking
()
People
(Reporter: k88hudson, Assigned: k88hudson)
References
Details
We'd like to be able to easily develop on the layout/component system so having some locally available data would be beneficial.
Comment 1•5 years ago
|
||
It was mentioned today that there's a gist being passed around to do this in the interim. What's the URL for that?
Flags: needinfo?(gsuntop)
Comment 2•5 years ago
|
||
https://gist.githubusercontent.com/ScottDowne/164995d9535b4203846048bdee29d169/raw/0cf538411e6ee898eb116208d70842c62c8d52f1/spoc.json from https://github.com/mozilla/activity-stream/pull/4596#issuecomment-448373096
Flags: needinfo?(gsuntop)
Comment 3•5 years ago
|
||
We should switch over to the actual API ASAP. The gist schema is slightly outdated now... https://firefox-mathijs.dev.readitlater.com/v3/home/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4
Comment 4•5 years ago
|
||
Hmm...looks like that's down. Mathijs, what URL is the endpoint at now?
Flags: needinfo?(mathijs)
Comment 5•5 years ago
|
||
I was using my staging server briefly for something else on Friday and switched back to this branch when done. Sorry for the interruption. I'll deploy to production today.
Flags: needinfo?(mathijs)
Comment 6•5 years ago
|
||
Repost from Slack: Layout endpoint is live on our production server: https://getpocket.com/v3/home/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4 You can use Mozilla's CDN as we do for the current new-tab: https://getpocket.cdn.mozilla.net/v3/home/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4 Let me know if you want to test any particular layouts. Once the actual feed variants are defined by product, I'll add those too. We're also hosting the endpoint definition (thanks for the idea @gvn!) https://getpocket.com/v3/home/layout.yml It's using the OpenAPI 3.0 syntax. The intent is to use this for automated tests, to validate that the schema. Let me know if you want to use it for some other purpose, in particular if you want to use it in production code, which I am assuming we won't do.
Updated•5 years ago
|
Assignee: nobody → khudson
Iteration: --- → 66.3 - Jan 7 - 20
Priority: -- → P1
Assignee | ||
Updated•5 years ago
|
Severity: normal → enhancement
Assignee | ||
Comment 7•5 years ago
|
||
I'm going to close this since our initial implementation is usable and working for what we need.
If there is more work to be done, let's file individual issues as needed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•5 years ago
|
||
[Note for QA]: No new code is associated with this bug, new functionality was tested in https://bugzilla.mozilla.org/show_bug.cgi?id=1517596
Updated•5 years ago
|
Target Milestone: --- → Firefox 66
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•