Skip to content

Add configurable browser preview start page#421

Merged
BunsDev merged 1 commit intomainfrom
okcode/default-preview-start-page
Apr 13, 2026
Merged

Add configurable browser preview start page#421
BunsDev merged 1 commit intomainfrom
okcode/default-preview-start-page

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 13, 2026

Summary

  • Add a new app setting to configure the default start page for blank browser preview tabs.
  • Validate and normalize the configured URL, with a safe fallback to the Google default when the value is blank or invalid.
  • Surface the setting in the web settings page with inline status text and a reset action.
  • Update preview tab creation to use the resolved setting instead of a hardcoded URL.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated unit coverage for settings defaults and preview start page URL resolution in apps/web/src/appSettings.test.ts

- Store a browser preview start page in app settings
- Use it when opening blank preview tabs
- Show validation and fallback behavior in Settings
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 13, 2026 1:33am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 13, 2026 1:33am

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 13, 2026
@BunsDev BunsDev merged commit 5d656de into main Apr 13, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant