NSS-Day-Cohort-49 / react-nutshell-context-clique

react-nutshell-context-clique created by GitHub Classroom
0 stars 0 forks source link

News Articles #2

Open JoeShep opened 3 years ago

JoeShep commented 3 years ago

Story

As a user, I should be able to list interesting news articles on my dashboard

Acceptance Criteria

Given a user wants to record a news article on their dashboard When the user performs a gesture on a New Article affordance Then a form should be presented to the user in which the following information can be entered

  1. News title
  2. Synopsis
  3. URL

Given a user has entered in all field values for storing a new article When the user performs a gesture on the Save Article affordance Then the article should be saved in the database, and assigned to the user And should have a property of the current timestamp

Given a user has saved news articles When the user visits their dashboard Then the news articles should be presented in the News components, sorted by date in descending order And each article should have an affordance to delete the news article

Given a user wants to remove a previously stored news article When the user performs a gesture on the delete affordance Then the article should be deleted

dparsley1203 commented 3 years ago

A function to add news articles

Saved Articles will show in a "News" component. Sort by descending order