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)

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.
Do we want to show all the info that the JSON method returns?
Assignee: nobody → dpoirier
Status: NEW → ASSIGNED
Flags: needinfo?(pmac)
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)
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).
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.
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?
Summary: [basket] Add a page to to list the current newsletters. → [basket] Add a page to list the current newsletters.
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
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.