Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Show details of a published resource #18

Open
textbook opened this issue Aug 15, 2023 · 1 comment
Open

Show details of a published resource #18

textbook opened this issue Aug 15, 2023 · 1 comment
Assignees

Comments

@textbook
Copy link
Member

textbook commented Aug 15, 2023

User story

  • As a visitor
  • I want to see the details of a published resource
  • So that I can understand who suggested and published it

Resource details

Details page should include:

  • Title
  • URL
  • Topic (if available)
  • Date of suggestion and who suggested it
  • Date of publication and who published it

Acceptance criteria

  1. Scenario: link to details of published resources

    • Given: the user is on the homepage
    • And: there are published resources
    • When: the user clicks on the resource title
    • Then: they are taken to a page showing the details of the resource
  2. Scenario: no link to details of draft resources

    • Given: an admin user is on the Drafts page
    • And: there are unpublished resources
    • When: the user clicks on the resource title
    • Then: nothing happens (title is not a link)
  3. Scenario: navigation to non-existent resource

    • Given: a user tries to navigate directly to the resource page
    • And: no published resource with the specified ID exists
    • When: the page loads
    • Then: they are informed that the resource could not be found

Links

  • N/A
@textbook
Copy link
Member Author

textbook commented Aug 15, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant