Skip to content

Create search results page (student view) #27

@JDC-horizons

Description

@JDC-horizons

Requirement:
Search result page, rendering results from search in #26

Component:
New page in src/pages/searchResult
Figma design - https://www.figma.com/design/j9QIHvgM0wOVw3xDe9KdWB/My-Copy%3A-Cohort-Manager-app---Designs?node-id=1732-16353&node-type=FRAME

Requirements:

  • Assuming successful search, renders each user returned by the search on page.
  • Each user section should include a button to navigate to that user's profile page
  • User should be able to navigate back to dashboard (navbar on left of page already exists that can account for this)

Error handling:

  • If no results were returned (404 response) , page should display message 'No results found' etc
  • If error encountered by search (400 response) , page should display message informing of this i.e. 'An error occurred, no results found' etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions