SSWConsulting / SSWConsulting/SSW.Rules

♻️ SSW.Rules.Widget - Make the widget fail gracefully

Open
#746 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

Cc: @pierssinclairssw, @christianmorfordwaitessw, @tkapa

Hi @theixdev

Pain

Currently there is no visual cue if the Widget encounters an error.

What code could be improved?
  • Add a visual cue to tell the user if there is an issue with the Widget . i.e. "{error}: Service Unavailable"
Tasks
  • Investigate how we are handling errors
  • Add feedback to the user when an error has been hit
More Information
  • Check out GitHub's rate limiting docs here
Screenshots

image
Figure: constantly loading when hitting the Rate limit

Thanks!

AB#65368

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SSW.Rules.Widget code that handles loading and errors, then reproduce the GitHub rate-limit case described in the screenshot. Done means the widget shows a clear visual error such as “Service Unavailable” instead of remaining in a constant loading state.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.