Skip to content

feat(ui): surface a Wren AI Cloud upgrade entry point in the sidebar - #2644

Merged
goldmedal merged 2 commits into
legacy/v1from
feat/legacy-cloud-cta
Aug 5, 2026
Merged

feat(ui): surface a Wren AI Cloud upgrade entry point in the sidebar#2644
goldmedal merged 2 commits into
legacy/v1from
feat/legacy-cloud-cta

Conversation

@goldmedal

Copy link
Copy Markdown
Collaborator

What

Adds a Wren AI Cloud entry point to the sidebar, between the Learning section and
the Settings / Discord / GitHub footer links.

─────────────────────────────────────
 Learning                          ›
 ...
┌──────────────────────────────────┐
│  ✨ Upgrade to Wren AI Cloud     │
│  Team collaboration, hosted      │
│  deployment, and API access      │
└──────────────────────────────────┘
─────────────────────────────────────
 ⚙  Settings
 💬  Discord
 🐙  GitHub

Why

Self-hosted users have no in-product path to the hosted offering — the sidebar's
outbound links were limited to Discord and GitHub.

Details

  • Single file touched: wren-ui/src/components/sidebar/index.tsx.
  • The card is a styled(Link), matching the existing styled(Link) usage in
    SidebarTree.tsx, so the whole card is clickable rather than just the text.
  • Colors come from the existing CSS variables (--geekblue-1/2/3/4/6, --gray-8);
    no new hard-coded values. Hover deepens the background and border together.
  • Reuses the already-exported SparklesIcon from @/utils/icons; no new dependency.
  • Follows the neighbouring links' PostHog convention
    (data-ph-capture-attribute-name="cta_go_to_cloud"), so its click-through can be
    measured alongside the Discord and GitHub links.
  • Opens in a new tab with rel="noopener noreferrer".

Verification

  • yarn check-types — pass
  • next lint✔ No ESLint warnings or errors
  • prettier --check on the touched file — pass
  • Ran wren-ui locally (Node 20, SQLite) and confirmed the card renders in the
    sidebar on /modeling, /home, /knowledge/question-sql-pairs and
    /api-management/history.

🤖 Generated with Claude Code

Self-hosted users have no in-product path to the hosted offering; the
sidebar's footer links (Discord, GitHub) were the only outbound entries.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2a5fc644-8f3f-43de-b280-19ec499f2617

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@goldmedal
goldmedal requested a review from wwwy3y3 August 5, 2026 06:32
…link

Land the reviewed copy: swap the generic subtitle for concrete feature
callouts, and surface a separate on-prem/air-gapped contact link below
the card for the segment the hosted offering doesn't fit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@goldmedal
goldmedal merged commit 801621e into legacy/v1 Aug 5, 2026
6 checks passed
@goldmedal
goldmedal deleted the feat/legacy-cloud-cta branch August 5, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant