Skip to content

UX: Update AI Connector notice to warning style#565

Open
prasadkarmalkar wants to merge 1 commit into
WordPress:developfrom
prasadkarmalkar:fix/connector-notice-styling
Open

UX: Update AI Connector notice to warning style#565
prasadkarmalkar wants to merge 1 commit into
WordPress:developfrom
prasadkarmalkar:fix/connector-notice-styling

Conversation

@prasadkarmalkar
Copy link
Copy Markdown

@prasadkarmalkar prasadkarmalkar commented May 18, 2026

What?

Closes #564

This PR updates the AI Connector notice on the settings page from a destructive/red error styling to a yellow warning styling.

Why?

Currently, the notice indicating that no AI Connectors are configured is displayed using a red error banner.

How?

  • Changed the intent prop on <Notice.Root> from "error" to "warning" in stage.tsx

Use of AI Tools

Testing Instructions

  1. Clear or deactivate all configured AI Connectors in your WordPress administration dashboard.
  2. Navigate to the AI plugin settings page.
  3. Verify that the notice at the top is displayed with a warning/yellow styling and a caution icon instead of a destructive/red alert.

Screenshots or screencast

Before After
Screenshot 2026-05-18 at 1 14 38 PM Screenshot 2026-05-18 at 1 14 20 PM

Changelog Entry

Changed - Update AI Connector setup notice styling from error to warning.

Open WordPress Playground Preview

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org>
Co-authored-by: raftaar1191 <raftaar1191@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.21%. Comparing base (19ae2eb) to head (49c931f).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #565   +/-   ##
==========================================
  Coverage      71.21%   71.21%           
  Complexity      1151     1151           
==========================================
  Files             67       67           
  Lines           5565     5565           
==========================================
  Hits            3963     3963           
  Misses          1602     1602           
Flag Coverage Δ
unit 71.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration Notice Uses Error Styling

1 participant