bcgov / bcgov/cas-reporting

Reword the Reporting front-end validation errors

Open
#710 2 comments 0 reactions 0 assignees View on GitHub
Backlog Refinement
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Rewording reg/admin front-end errors complete in [#3124](https://github.com/bcgov/cas-registration/issues/3124) which then automatically completed some of these reporting forms

### Reporting module
Review Operation Information page
Replace Error message: Must not have fewer than 1 items
- [x] Operation representative
- [x] Reporting activities
- [x] Regulated products

Non Attributable Emissions page
Replace error message: must be equal to one of the allowed values with
"select a < field name >"
- [ ] Emission Category
- [ ] Additional Reporting Data page
Replace Error message: Must be number with

"Enter numbers only"
- [x] Electricity Generated field

Screenshots

![Image](https://github.com/user-attachments/assets/4ce6051b-1395-4b96-9ca3-1fe0e977b959)

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the Reporting module's Operation Information and Non Attributable Emissions pages, locating the validation messages listed in the issue. Update the remaining unchecked messages to the requested wording and verify that the completed cases still display correctly; the issue is done when the specified reporting form errors no longer show the generic text.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.