bcgov / bcgov/zeva2

ZEVA 2: Update ZEV Models tabs

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

Description

**Describe the task**
Update the tab structure on the ZEV Models page to reflect the lifecycle of vehicle models.
Replace the current active and inactive tabs with:
- Validated
- Submitted
- Inactive

**Purpose**
1. Improve clarity of model lifecycle
2. Prevent incorrect grouping of models
3. Simplify navigation

**Acceptance Criteria**
- [x] Tab Structure: Three tabs are displayed - Validated/ Submitted/ Inactive

Image

- [x] Validated Tab: Contains all models with status "Validated" that represents finalized and approved models

- [x] Submitted Tab: Contains all models that
- Have been submitted
- Are not Validated
- Are not Inactive
- Includes models in intermediate statuses (e.g., "Returned to Supplier", etc.)
- Represents models that are still in progress or under review

- [x] Inactive Tab: Contains only models that:
- Were previously active
- Have been explicitly marked as Inactive

- [x] General Behavior: Each model appears in only one tab/ No changes to existing data or statuses

**Additional context**
This change is based on user testing and stakeholder alignment, where it was agreed that vehicle models should be grouped into three lifecycle states: Validated, Submitted, and Inactive.
Currently, newly submitted models (that are still in progress) may incorrectly appear under Inactive, which creates confusion and misrepresents their status.

Image

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.