Conversation
Append "(Click to switch)" to each AI_CHAT_MODE_INFO_* string so the mode-info row reads as actionable, and shorten the keyboard hint to "[or Shift+Tab]".
…able states
When the AI panel renders the not-signed-in (Sign In), Claude-needs-
configuring (Setup Claude Code), CLI-not-installed (Claude Code Not
Installed), or browser placeholder states, the existing icon stays in
place but the title gets replaced by a richer intro:
- Sign In and browser placeholder: "Design layouts, fix bugs, and
build faster with AI" + a YouTube preview thumbnail.
- Configure-Claude flows (Setup + Install): "Getting started with
Claude Code" + "See this short video on how to set up AI" + the
same thumbnail.
Thumbnails and YouTube URLs come from a new ai_panel_config.json
fetched once at boot from the same host as the onboarding iframe.
Slot stays empty (display:none) when the fetch fails or the requested
key isn't in the config — original UI then renders unchanged.
Layout uses a flex column with consistent gap inside the centered
.ai-unavailable container, max-width 320px, and overflow-wrap so the
title wraps cleanly on narrow sidebars. The play overlay is the
YouTube logo asset, scaling subtly on hover (no thumb glow — Phoenix
doesn't generally do that).
Sign In button switches to Phoenix's standard btn btn-primary using
@bc-primary-btn-bg / @dark-bc-primary-btn-bg, defeating the AI panel's
chat-area button reset with a more specific selector.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.