Repository navigation
fix(extension): fix zen-browser opening new tab in private window in windows - #22767
Conversation
|
Thank you for your first contribution! 🎉 🔔 @Keyruu @theherk @walker-tx @Jimmy-b36 @sdaza @elliothco @ridemountainpig @Davidferl @sjasct @pernielsentikaer @Zheckan you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. You can expect an initial review within five business days. |
left a comment
•
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR fixes a Windows-specific issue in the Zen Browser Raycast extension where new tabs were incorrectly opening in private/troubleshoot mode instead of the normal profile. The solution implements platform detection to use PowerShell's Start-Process command on Windows while maintaining the existing Action.Open behavior on macOS. The fix affects the NewTabAction and HistoryItemAction components in ZenActions.tsx, replacing the Raycast Action.Open with custom onAction handlers that detect the platform and execute the appropriate command. This ensures that Zen Browser launches correctly on Windows with the user's default profile and extensions loaded. The PR also adds a contributor acknowledgment and updates the changelog following the repository's standard format.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/zen-browser/package.json | 5/5 | Added new contributor "Diwanshumidha" to acknowledge contribution to the Windows fix |
| extensions/zen-browser/src/components/ZenActions.tsx | 4/5 | Implemented platform-specific logic to fix Windows private mode issue using PowerShell commands |
| extensions/zen-browser/CHANGELOG.md | 4/5 | Added changelog entry documenting the Windows fix with proper merge date templating |
Confidence score: 4/5
- This PR addresses a specific Windows compatibility issue with a targeted platform-specific solution that maintains backward compatibility
- Score reflects well-structured implementation but complexity of platform-specific logic introduces some risk of edge cases or environment-specific issues
- Pay close attention to the ZenActions.tsx file which contains the core platform detection and PowerShell execution logic
Additional Comments (1)
-
extensions/zen-browser/CHANGELOG.md, line 29 (link)style: Empty changelog entry title should be removed
3 files reviewed, 2 comments
commented
Nov 9, 2025
|
Hi @Diwanshumidha👋 Thanks for your contribution 🔥 @Keyruu what do you think here? |
commented
Nov 10, 2025
|
Published to the Raycast Store: |
commented
Nov 10, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Fix: #22436
In windows zen-browser opens new tab in private window instead of default profile.
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool