-
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
Moderation/AdminReady for DevelopmentAutomatically assigned to issues that are ready to be picked upAutomatically assigned to issues that are ready to be picked upenhancementNew feature or requestNew feature or requestfrontendFrontend developmentFrontend development
Description
Summary
For the upcoming "MAPLE in the News" page, we want Admin users to be able to add News articles/links to the page without requiring a code change/deploy. To that end, we should add a tab to the admin page (located at /admin) that allows Admin users to add News Items.
This will likely necessitate a new Firestore collection for newsItems, and a news item should have at least the following fields:
url(Link to the article)type(One ofarticle,award, orbook- most items will bearticles to start and other types may be added in the future)author(e.g. Medium / MSNBC / Harvard Kennedy School / etc.)title(Title of the article/book)description(The first X words/lines of the article)publishDate(Publish date of the article/book)createdAt(When our admin user created the News Item)
For now, we can safely assume there will be a relatively small number of news items (< 50), so pagination/filtering can wait until they become necessary.
This should be able to take advantage of the react-admin library that the Moderation tab uses.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Moderation/AdminReady for DevelopmentAutomatically assigned to issues that are ready to be picked upAutomatically assigned to issues that are ready to be picked upenhancementNew feature or requestNew feature or requestfrontendFrontend developmentFrontend development