Skip to content

fix(ai): track Claude sign-in and update Pro onboarding - #3291

Merged
abose merged 5 commits into
mainfrom
ai
Oct 24, 2026
Merged

abose merged 5 commits into
mainfrom
ai

Conversation

@abose

@abose abose commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bugfix. Phoenix could keep showing Claude's Set up or Sign in action after browser login, and the Home demo link disappeared once a conversation existed. This PR adds the terminal support and UI styles required by the companion Pro fixes, and pins the AI-first upgrade carousel.

  • Run Claude login as a dedicated terminal process and report completion once. Closing the tab reports cancellation; failed startup and nonzero exits remain retryable. Process tabs retain their output and are excluded from shell restoration and project restarts.
  • Keep Home demo controls visible over an existing conversation. The pinned Pro implementation starts demos in a separate chat and confirms before interrupting a response.
  • Update the Pro pin to 35793ccb64a2e20a6d679cc68733f0bc3ca98cbe, which refreshes sign-in on return to Phoenix and before setup, and shows Build and refine with AI first for app upgrades and existing paid Pro users. First-time users retain Live Preview first.

Does this PR introduce a breaking change?

No. The terminal process options are additive; existing shell-command behavior is preserved.

Tests done

  • Registered Jasmine integration suites passed on Windows, macOS and Linux: Terminal 39/39 and AI Chat CLI 56/56 on each platform (95 checks per platform).
  • Coverage includes process completion/cancellation, login refresh and retry, duplicate launches, stale results, draft preservation, and demos starting separately from an existing chat.
  • Manually verified first-time, app-upgrade and paid-Pro dialogs in native Electron: slide order, matching captions/video, arrows, dots and auto-advance. No test suites were added or rerun for the carousel-only follow-up, as requested.
  • Core lint hook, targeted Pro ESLint, whitespace checks and LESS compilation passed.
  • Login automation uses mocked authentication and browser launches; real browser sign-in still needs manual confirmation.

Other information

Companion: https://github.com/phcode-dev/phoenix-pro/pull/293. The core pin matches that PR's head.

Expected commits on ai over main:

  • 55c043a7c — track login processes and restore Home demos.
  • bb5ef9bd5 — pin Pro upgrade carousel ordering.

Suggested changelog: Refresh Claude sign-in after browser login, restore access to Home demos, and introduce AI first in upgrade dialogs while preserving the first-time flow.

abose added 2 commits October 24, 2026 14:14
Allow VIEW_TERMINAL to run an explicit process profile in a fresh tab and
report its exit code once. Report cancellation before killing the process,
retain its output after exit, and exclude process tabs from saved shell
names and project restarts. This lets Claude sign-in recovery distinguish
a completed login from stored but expired credentials.

Keep the Home demo controls visible over an existing conversation and add
the localized login-launch error message. Pin Phoenix Pro to
19028ba4921d3ef0abb1891486ea80eb54d9a1be for the matching auth refresh,
duplicate-login protection, and separate-chat demo behavior.

Add registered terminal integration coverage for successful and failed
process exits, cancellation, invalid startup, persistence, and restart.
Terminal passes 39/39 and AI Chat CLI passes 56/56 on Windows, macOS, and
Linux. Targeted ESLint, whitespace checks, and LESS compilation pass.
Real browser-login confirmation and hosted CI remain pending.
Pin Phoenix Pro to 35793ccb64a2e20a6d679cc68733f0bc3ca98cbe.
App-upgrade trial and paid-Pro what's-new dialogs now lead with the AI
feature; first-time users keep the current Live Preview first flow.

The Pro change was manually verified in native Electron, including slide
content, captions, arrows, dots, and auto-advance. No test suites were run
for this presentational follow-up, as requested.
@abose abose changed the title fixes fix(ai): track Claude sign-in and update Pro onboarding Oct 24, 2026
abose added 3 commits October 24, 2026 14:57
Use the approved AI slide heading, "Your AI Agents, Now Visual in
Phoenix Pro", and describe bringing an existing Claude Code or ChatGPT
subscription into Phoenix Code to build and refine websites visually.
Keep the text in the existing English localization keys, without the
feather emoji.

Pin Phoenix Pro to 07c789f0cbab5ed9de9cf91b68b37d61719cb4e7 so upgrade
and paid-Pro dialogs present AI, Layers, Live Preview, then Markdown.
First-time users retain the existing slide order.

The final wording and carousel were reviewed in the connected Linux
debug app. Targeted ESLint and whitespace checks pass. No test suites
were added or run for this presentational follow-up, as requested.
Hide the close button's left border when the Surprise Me card is expanded.
Keep the original divider in the first-time card and preserve button
dimensions and behavior.

Verified both layouts in the connected Linux app and compiled the LESS
stylesheet successfully. No test suites were added or run for this
CSS-only change.
@sonarqubecloud

Copy link
Copy Markdown

@abose
abose merged commit 86ff568 into main Oct 24, 2026
21 checks passed
@abose
abose deleted the ai branch October 24, 2026 11:11
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.

1 participant