Volunteers and Recipients do not have a use for the Dog Table, which is why we are creating a simplified view for them to see their dogs.
This view will exist on the /dogs route in pages/dogs/index.jsx. On this page, you should conditionally render <DogTable> or <CardDogTable> (this is the new component you will be creating) based on the role of the user.
If a user is a Manager or Admin, show <DogTable>
If a User is a caregiver or instructor for at least 1 dog, show <DogTable>
Otherwise, show <CardDogTable>
The dog cards should be clickable and take users to the individual dog's page.
A more simplified filter bar should also be included on the CardDogTable component with text search, location, and recent log tags filters.
Implement this according to the Figma design here.
Description
Volunteers and Recipients do not have a use for the Dog Table, which is why we are creating a simplified view for them to see their dogs.
This view will exist on the
/dogs
route inpages/dogs/index.jsx
. On this page, you should conditionally render<DogTable>
or<CardDogTable>
(this is the new component you will be creating) based on the role of the user.<DogTable>
<DogTable>
<CardDogTable>
The dog cards should be clickable and take users to the individual dog's page.
A more simplified filter bar should also be included on the
CardDogTable
component with text search, location, and recent log tags filters.Implement this according to the Figma design here.
Acceptance Criteria
Other Notes