Similar to our "start new chain" story, however, here we're creating a new link and attaching it to the end of an existing link. Thus creating the "chain." Users will be able to add a new link to the end of ANY link in an existing chain. So If the chain only has the first link, a user can add a link to the end of the first, making the second link. Another user can now add a link to the same chain either to the end of the first link, creating a branch in the chain, or to the end of the 2nd link, continuing the single path.
Acceptance Criteria
Front end
[ ] The user should be able to click on a link and be presented with the following options:
[ ] "by [username]"
[ ] Add link
[ ] clicking "Add Link" in options should take you to the link creation page
[ ] The user should see either all or some of the story previous to where they are adding their link
[ ] The user should not be able to add a title to their link (the story should already have a title
[ ] The user should be able to add their name to their link
[ ] The user should be able to cancel adding a link
[ ] The user should be able to save/submit their new link
[ ] After submitting their link, a user should be redirected to their newly added link
[ ] A user should not be able to add a link to their own link
API
[ ] Should have endpoint that gives you all the information to a single link
[ ] Should have an endpoint that adds a new link to the array of stories of a given link
[ ] object sent to said endpoint should contain a parentID equal to the given link
[ ] endpoint should return a link to the newly added story link
Similar to our "start new chain" story, however, here we're creating a new link and attaching it to the end of an existing link. Thus creating the "chain." Users will be able to add a new link to the end of ANY link in an existing chain. So If the chain only has the first link, a user can add a link to the end of the first, making the second link. Another user can now add a link to the same chain either to the end of the first link, creating a branch in the chain, or to the end of the 2nd link, continuing the single path.
Acceptance Criteria
Front end
API