bcgov / bcgov/zeva2

ZEVA2 - vehicles list page

Open
#44 1 comment 0 reactions 1 assignee Claimed by @tim738745 View on GitHub
Medium Task
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Description:**
- [ ] As a government user, I want to view, filter, sort, and page through all submitted vehicles; as a supplier user, I want to do the same thing, except restricted to my organization's vehicles.

**Wireframe:** see zeva1

**Purpose and benefit to user:**
The list page is part of how we manage vehicles.

**Acceptance Criteria:**

- [ ] Given I am a government user, when I am on the vehicles list page, then I can view, filter, sort, and page through all submitted vehicles (the filtering, sorting, and pagination should be server-side).
- [ ] Given I am a supplier user, when I am on the vehicles list page, then I can view, filter, sort, and page through my organization's vehicles (the filtering, sorting, and pagination should be server-side).

**Development Checklist:**
- [ ] Implement server-side functions/components (e.g. functions in data.ts that use the prisma client, the Page component, etc.) that support the server-side rendering of the list (table); please see https://nextjs.org/learn/dashboard-app/adding-search-and-pagination and https://www.prisma.io/docs/orm/prisma-client/queries/pagination
- [ ] Implement supporting client component

**Notes:**
We're using @tanstack/react-table; please see https://tanstack.com/table/latest/docs/introduction

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.