Closed
Bug 852285
Opened 13 years ago
Closed 13 years ago
[basket] Add a page to list the current newsletters.
Categories
(www.mozilla.org :: Newsletters, defect, P3)
www.mozilla.org
Newsletters
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmac, Assigned: dpoirier)
References
Details
We just added a method to get a JSON representation of the newsletters in bug 841426. We should add a very simple HTML page that displays this information as well so that we can link to it from basket-client docs and other places like that as they're woefully out of date.
| Assignee | ||
Comment 1•13 years ago
|
||
Do we want to show all the info that the JSON method returns?
Assignee: nobody → dpoirier
Status: NEW → ASSIGNED
Flags: needinfo?(pmac)
| Reporter | ||
Comment 2•13 years ago
|
||
I don't think that's necessary. We should mostly show the info that's important for a client of basket. So yes to the title, description, and slug (and in the order from the DB), but no to the Exact Target related data.
The right way to do this would be to send the HTML page if the accept header is for HTML, and JSON if it's asking for JSON, but our clients aren't likely to be doing this correctly, so I guess we need a novel URL for this page.
Flags: needinfo?(pmac)
Comment 3•13 years ago
|
||
Hey Dan - what's this page for? Why wouldn't we just use the /existing page that already displays the right toggles on/off for private vs. public email lists (ie only show when you're subscribed vs. always show).
| Assignee | ||
Comment 4•13 years ago
|
||
Jess, I don't think this is really intended as a public page, just a URL we can direct developers to if they need to see what all the current newsletter settings are.
Comment 5•13 years ago
|
||
Ah - that makes sense. I'm guessing that it's better/easier to have all the newsletters displayed (ie like the basket admin, but view only on the list of newsletters); rather than API calls that someone could call to get the JSON values?
| Assignee | ||
Comment 6•13 years ago
|
||
Summary: [basket] Add a page to to list the current newsletters. → [basket] Add a page to list the current newsletters.
Comment 7•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/basket
https://github.com/mozilla/basket/commit/1cb46aa0b555fd0219795e797d4e6c69852b23df
Bug 852285 - Page listing newsletters on basket
Add a simple HTML page showing information about the
newsletters configured in the basket server.
* URL is /news/
* table has border to separate the cells
https://github.com/mozilla/basket/commit/29fdbb03e99546f6ec3fcfe762a02ad470938af5
Merge pull request #72 from dpoirier/bug-852285-list-newsletters-page
Bug 852285 - Page listing newsletters on basket
| Reporter | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•