Skip to content

Conversation

@drfarrell
Copy link
Collaborator

@drfarrell drfarrell commented Oct 12, 2025

Removed electron related information

Description

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other (please describe):

Important

Remove Electron reference and update feature descriptions in onlook.ts.

  • Behavior:
    • Removed reference to Electron in ONLOOK_INSTRUCTIONS in onlook.ts.
    • Updated description of Window Settings Panel to reflect its new location at the top when a window is selected.
    • Updated Help Button description to indicate it provides a direct line to the Onlook team.
  • Features:
    • Added Code Mode and Preview Mode to the list of key features.
    • Updated Element Interaction to include selecting multiple elements with SHIFT+CLICK.
    • Updated Utility Controls to remove adding new elements functionality.

This description was created by Ellipsis for 550d536. You can customize this summary. It will automatically update as commits are pushed.

Summary by CodeRabbit

  • New Features

    • Added Code Mode and Preview Mode on the Canvas.
    • Introduced Duplicate option for windows.
    • Enabled multi-element selection via SHIFT+CLICK.
  • Documentation

    • Updated in-app wording to a generic app context.
    • Clarified panel locations: Window Settings and Style panels appear at the top when selected.
    • Revised Bottom Toolbar text to exclude adding new elements.
    • Added Hosting Setup guidance for Pro users and domain requirements.
    • Updated Help button description to provide a direct line to the Onlook team.

Removed electron related information
@vercel
Copy link

vercel bot commented Oct 12, 2025

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

Project Deployment Preview Comments Updated (UTC)
web Building Building Preview Comment Oct 12, 2025 5:51am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Oct 12, 2025 5:51am

@supabase
Copy link

supabase bot commented Oct 12, 2025

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai
Copy link

coderabbitai bot commented Oct 12, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates the Onlook system prompt text to use a generic app context, add Code/Preview modes, revise Canvas and UI panel descriptions, adjust hosting/deployment guidance, and refine interaction details (e.g., SHIFT+CLICK multi-select, Duplicate window). No exports or public API changes.

Changes

Cohort / File(s) Summary
Prompt content update
packages/ai/src/prompt/constants/onlook.ts
Replaced Electron-specific references with generic context; added Code Mode and Preview Mode; updated Canvas/Panel descriptions (locations, Duplicate window, SHIFT+CLICK multi-select); revised Bottom Toolbar wording; added Hosting Setup note for Pro users and domains; updated Help Button guidance; general wording tweaks.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • fix: update prompts #2910 — Also modifies Onlook prompt content in the same module area, likely coordinating or iterating on the same prompt definitions.

Poem

A rabbit taps the prompt with care,
Swaps Electron’s suit for cleaner air.
Code and Preview hop in line,
Panels tidy, domains align.
SHIFT-click chorus, windows two—
Hello, Onlook, fresh and new! 🐇✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch drfarrell-patch-1

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cea4916 and 550d536.

📒 Files selected for processing (1)
  • packages/ai/src/prompt/constants/onlook.ts (4 hunks)

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.

@drfarrell drfarrell merged commit d4a3fb2 into main Oct 12, 2025
3 of 7 checks passed
- **Design Mode:** Users can design their websites within the window on the canvas while in Design mode. Design mode gives users access to all of the tools and controls for styling and building their website.
- **Interact Mode:** Users can interact with their live website within the window on the canvas. This is a real preview of how the app will look and feel to the end users. If necessary, Interact Mode is an efficient way to navigate through the app.
- **Code Mode:** Users can view and manually edit the underlying code of their project for the utmost precision.
- **Preview Mode:** Users can interact with their live website within the window on the canvas. This is a real preview of how the app will look and feel to the end users. If necessary, Interact Mode is an efficient way to navigate through the app.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'Preview Mode' description still references 'Interact Mode'; update the text for consistency.

Suggested change
- **Preview Mode:** Users can interact with their live website within the window on the canvas. This is a real preview of how the app will look and feel to the end users. If necessary, Interact Mode is an efficient way to navigate through the app.
- **Preview Mode:** Users can interact with their live website within the window on the canvas. This is a real preview of how the app will look and feel to the end users.

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