Automattic / Automattic/jetpack

Instagram Widget: Disable "Connect" button if widget is not published

Open
#16,665 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Extra Sidebar Widgets Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Go to `/wp-admin/customize.php?autofocus[panel]=widgets`
2. Add Instagram widget
3. Note that "Connect" button is active
4. Also, note the "Important" text above the button.

#### What I expected

"Connect" button is disabled until the widget is not published

#### What happened instead

"Connect" button is active when widget is not published. "Important" note is not very well visible and could be easily missed

**Screenshots**

Customize: jetpack6test mystagingwebsite com at Pressable – Just another WordPress site 2020-07-31 14-01-55

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue at /wp-admin/customize.php?autofocus[panel]=widgets by adding the Instagram widget and checking the Connect button and Important note. Locate the widget implementation and its existing tests, then make the button remain disabled until the widget is published and ensure the warning is visible; verify the unpublished and published states.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, react, wordpress
Domain
frontend, web-dev
Issue type
Bug
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.