Automattic / Automattic/jetpack
VideoPress: improve the user experience on Offline mode
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
More context here p9dueE-7eT-p2
Reported by @sergeymitr
On Offline mode, the plugin doesn’t handle connection errors very well, and users get stuck with the spinner if Offline Mode is on:

Same goes for other site registration errors, we probably need to check the returned promise for errors [here](https://href.li/?https://github.com/Automattic/jetpack/blob/trunk/projects/packages/videopress/src/client/admin/components/pricing-section/index.tsx#L84).
Contributor guide
Research direction
Start in projects/packages/videopress/src/client/admin/components/pricing-section/index.tsx around line 84, where the site-registration promise is referenced. Reproduce Offline mode and other site registration errors, then verify that rejected promises no longer leave users stuck on the spinner.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100