feat(ui): surface a Wren AI Cloud upgrade entry point in the sidebar - #2644
Merged
Conversation
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>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
…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>
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.
What
Adds a Wren AI Cloud entry point to the sidebar, between the Learning section and
the
Settings / Discord / GitHubfooter links.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
wren-ui/src/components/sidebar/index.tsx.styled(Link), matching the existingstyled(Link)usage inSidebarTree.tsx, so the whole card is clickable rather than just the text.--geekblue-1/2/3/4/6,--gray-8);no new hard-coded values. Hover deepens the background and border together.
SparklesIconfrom@/utils/icons; no new dependency.(
data-ph-capture-attribute-name="cta_go_to_cloud"), so its click-through can bemeasured alongside the Discord and GitHub links.
rel="noopener noreferrer".Verification
yarn check-types— passnext lint—✔ No ESLint warnings or errorsprettier --checkon the touched file — passwren-uilocally (Node 20, SQLite) and confirmed the card renders in thesidebar on
/modeling,/home,/knowledge/question-sql-pairsand/api-management/history.🤖 Generated with Claude Code