posit-dev / posit-dev/shinylive

Show a reasonable error in the HTML when the Shinylive JS Service Worker fails to load

Open
#171 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
251
Forks
25
Avg merge
19m
Merged PRs (30d)
2

Description

In at least some situations the above simply causes a white blank screen. We should detect and throw a visible error when:

  • Shinylive is not running under a web server, and so...
  • The Service Worker fails to load.

With some reasonable text to explain what has happened.

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

Reproduce the blank screen when Shinylive runs outside a web server, then inspect the HTML entry point and Service Worker loading path. Done means a failed Service Worker load produces a visible, reasonable explanation instead of a blank screen, including when Shinylive is not running under a web server.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.