Automattic / Automattic/jetpack

Search: set error boundary for Dashboard

Open
#24,685 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Search [Package] Search Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack, Search

### What

set error boundary for Dashboard

### How

For now we only catch and show API errors, and don't deal with JS errors

Ref: https://reactjs.org/docs/error-boundaries.html

Contributor guide

Open the contributing guide

Research direction

Start with the Jetpack Search Dashboard and review the linked React error-boundaries reference, then compare the existing handling for API errors. Done means JavaScript errors in the Dashboard are caught and shown to users rather than escaping unhandled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.