Skip to content

Rename "planetary copilot" to "planet computer" and clear example prompts#647

Open
ngoiyaeric wants to merge 1 commit into
mainfrom
rename-planetary-copilot-to-planet-computer-7570214402781183256
Open

Rename "planetary copilot" to "planet computer" and clear example prompts#647
ngoiyaeric wants to merge 1 commit into
mainfrom
rename-planetary-copilot-to-planet-computer-7570214402781183256

Conversation

@ngoiyaeric
Copy link
Copy Markdown
Collaborator

@ngoiyaeric ngoiyaeric commented Jun 4, 2026

This PR renames "planetary copilot" to "planet computer" across the application's settings and clears the example prompts on the home screen.

Key changes:

  • Updated components/settings/settings-view.tsx, components/settings/components/settings.tsx, components/settings/components/system-prompt-form.tsx, and components/settings/components/model-selection-form.tsx to use the new terminology.
  • Modified components/empty-screen.tsx to remove the default example prompts.
  • Cleaned up unused imports in components/empty-screen.tsx.

PR created automatically by Jules for task 7570214402781183256 started by @ngoiyaeric

Summary by CodeRabbit

  • Bug Fixes

    • Removed default example messages from the interface.
  • Style

    • Updated branding terminology across settings components and descriptions to reflect new product naming.

…mpts

- Replaced all occurrences of "planetary copilot" with "planet computer" in settings components and views.
- Updated default system prompt to use "planet computer".
- Emptied `exampleMessages` array in `components/empty-screen.tsx` to clear example prompts.
- Removed unused icon imports in `components/empty-screen.tsx`.

Co-authored-by: ngoiyaeric <115367894+ngoiyaeric@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
qcx Ready Ready Preview, Comment Jun 4, 2026 5:24pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 4, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c364a6e5-3aa9-4556-8678-1074e16094d6

📥 Commits

Reviewing files that changed from the base of the PR and between c143e7c and 5b4c4d4.

📒 Files selected for processing (5)
  • components/empty-screen.tsx
  • components/settings/components/model-selection-form.tsx
  • components/settings/components/settings.tsx
  • components/settings/components/system-prompt-form.tsx
  • components/settings/settings-view.tsx
📜 Recent review details
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-04-25T08:10:37.673Z
Learnt from: ngoiyaeric
Repo: QueueLab/QCX PR: 0
File: :0-0
Timestamp: 2026-04-25T08:10:37.673Z
Learning: In the QCX repository (feat/ai-sdk-ui-migration branch and going forward), there is no token generation/counting tracking and no multimodal LLM features. Base64 image data sent via `append()` body fields in components like `header-search-button.tsx` and `resolution-carousel.tsx` is for server-side `resolution_search` processing only — it is NOT passed as multimodal message content parts to a vision model. Avoid flagging token tracking or multimodal LLM handling gaps as review concerns in this codebase.

Applied to files:

  • components/empty-screen.tsx
🔇 Additional comments (5)
components/empty-screen.tsx (1)

3-3: LGTM!

components/settings/components/settings.tsx (1)

56-56: LGTM!

Also applies to: 183-183, 195-195

components/settings/components/model-selection-form.tsx (1)

137-137: LGTM!

components/settings/components/system-prompt-form.tsx (1)

22-22: LGTM!

Also applies to: 28-28

components/settings/settings-view.tsx (1)

23-23: LGTM!


Walkthrough

The PR updates branding terminology from "planetary copilot" to "planet computer" across settings UI components and clears the default example messages array from the empty screen state.

Changes

Branding and Content Update

Layer / File(s) Summary
Empty screen messages removal
components/empty-screen.tsx
exampleMessages array is cleared from populated to empty, removing default prompt button entries and associated lucide-react icon imports.
Settings UI persona updates
components/settings/components/settings.tsx, components/settings/components/model-selection-form.tsx, components/settings/components/system-prompt-form.tsx, components/settings/settings-view.tsx
All settings components updated to use "planet computer" persona wording in default system prompt, form descriptions, text area placeholder, tab descriptions, and subtitle text.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

  • QueueLab/QCX#298: This PR modifies the same components/empty-screen.tsx file, specifically the exampleMessages content and associated icon imports.

Suggested labels

Review effort 1/5

Poem

🐰 A rabbit hops through settings bright,
Renaming copilots with pure delight—
From "planetary" to "planet" so fine,
Empty messages cleared up the line,
Brand new wording makes all things shine! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the two main changes: renaming 'planetary copilot' to 'planet computer' and clearing example prompts, which align with all modified files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rename-planetary-copilot-to-planet-computer-7570214402781183256

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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 and usage tips.

@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Rename "planetary copilot" to "planet computer" and clear example prompts

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Rename "planetary copilot" to "planet computer" across settings UI
• Clear example prompts from empty screen component
• Remove unused icon imports from empty screen
• Update default system prompt terminology
Diagram
flowchart LR
  A["Settings Components"] -- "Update terminology" --> B["Planet Computer"]
  C["Empty Screen"] -- "Clear examples" --> D["Empty Messages Array"]
  E["System Prompt"] -- "Update default" --> B
  F["Icon Imports"] -- "Remove unused" --> G["Cleanup"]

Loading

Grey Divider

File Changes

1. components/empty-screen.tsx ✨ Enhancement +1/-23

Clear example prompts and remove unused imports

• Removed all four example messages from exampleMessages array
• Removed unused icon imports (Globe, Thermometer, Laptop, HelpCircle)
• Added explicit type annotation to empty exampleMessages array

components/empty-screen.tsx


2. components/settings/components/model-selection-form.tsx ✨ Enhancement +1/-1

Update model selection description terminology

• Updated form description from "planetary copilot" to "planet computer"

components/settings/components/model-selection-form.tsx


3. components/settings/components/settings.tsx ✨ Enhancement +3/-3

Update settings terminology and default prompt

• Updated default system prompt to use "planet computer" instead of "planetary copilot"
• Updated system prompt tab description to reference "planet computer"
• Updated model selection tab description to reference "planet computer"

components/settings/components/settings.tsx


View more (2)
4. components/settings/components/system-prompt-form.tsx ✨ Enhancement +2/-2

Update system prompt form terminology

• Updated textarea placeholder text to reference "planet computer"
• Updated form description to reference "planet computer" instead of "copilot"

components/settings/components/system-prompt-form.tsx


5. components/settings/settings-view.tsx ✨ Enhancement +1/-1

Update settings view header description

• Updated settings view description to reference "planet computer" instead of "planetary copilot"

components/settings/settings-view.tsx


Grey Divider

ⓘ You are approaching your monthly quota for Qodo. Upgrade your plan

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review Bot commented Jun 4, 2026

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0)

Grey Divider


Remediation recommended

1. Any-typed icon prop 🐞 Bug ⚙ Maintainability
Description
EmptyScreen types exampleMessages with icon: any, bypassing the repo’s strict TypeScript
intent and allowing non-component values that would later be invoked as <Icon .../> if example
prompts are reintroduced. This hides real type errors and can lead to runtime crashes when rendering
icons.
Code

components/empty-screen.tsx[3]

+const exampleMessages: { heading: string; message: string; icon: any }[] = [];
Evidence
The repo is configured for strict type-checking, but exampleMessages uses icon: any and later
renders item.icon as a component with props, so any can conceal invalid icon values until
runtime.

components/empty-screen.tsx[3-30]
tsconfig.json[8-18]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`components/empty-screen.tsx` declares `exampleMessages` with `icon: any`, which defeats type safety in a `strict` TypeScript codebase. The code later treats `icon` as a component (`const Icon = item.icon; <Icon ... />`), so `any` can mask incorrect values and lead to runtime failures.

## Issue Context
The array is intentionally empty in this PR to remove example prompts, but the type should still be safe so future reintroduction of prompts/icons is correctly checked.

## Fix Focus Areas
- components/empty-screen.tsx[1-35]

## Suggested change
Replace `any` with a component type compatible with the current usage, e.g.
- `import type { ComponentType } from 'react'`
- `type ExampleIcon = ComponentType<{ size?: number | string; className?: string }>`
- `const exampleMessages: { heading: string; message: string; icon: ExampleIcon }[] = []`

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ You are approaching your monthly quota for Qodo. Upgrade your plan

Qodo Logo

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants