bcgov / bcgov/range-web

Plans that fail to load give no hints to what went wrong

Open
#250 3 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
TypeScript
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

"Retry or go back" doesn't give us much to go on. Could be an API issue (not callable, db constraint, etc) could be problem with React not liking the data coming from API, who knows.

We should pass on a more descriptive error to the user (and include something friendly like who to reach out to) if there is a problem. This will speed up troubleshooting issues that will come up.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file or test. Start by reproducing a failed plan load and tracing the React/TypeScript error path around the existing “Retry or go back” message, then inspect the API response involved. Done means users receive a descriptive, friendly troubleshooting message that helps identify where to seek support.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.