Repository navigation
Update twitch - #22770
Update twitch#22770
Conversation
|
Thank you for your contribution! 🎉 🔔 @dieserRobin @Aayush9029 @suth @pernielsentikaer @MiracleXYZ @Sheraff 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 makes two small improvements to the Twitch extension's configuration and error handling. The main change adds a default empty string value to the streamlinkConfig preference in package.json, which prevents potential undefined value issues. Additionally, the primaryaction preference default is changed from "detail" to "web", making browser opening the default behavior for streams. The PR also includes corresponding validation in the streamlink helper that shows a user-friendly error message when Streamlink path isn't configured. These changes improve the user experience by providing sensible defaults and better error messaging without affecting core functionality.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/twitch/CHANGELOG.md | 5/5 | Added new changelog entry documenting the streamlink config default value fix |
| extensions/twitch/src/helpers/streamlink.ts | 5/5 | Added validation to show user-friendly error when Streamlink path is not configured |
| extensions/twitch/package.json | 5/5 | Changed primary action default to "web" and added empty string default for streamlinkConfig |
Confidence score: 5/5
- This PR is safe to merge with minimal risk as it only adds configuration defaults and improves error handling
- Score reflects simple defensive programming improvements that enhance user experience without changing core logic or breaking existing functionality
- No files require special attention as all changes are straightforward configuration and validation improvements
3 files reviewed, no comments
commented
Nov 9, 2025
|
Published to the Raycast Store: |
commented
Nov 9, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
commented
Nov 12, 2025
|
I still get the prompt :'( It seems the default value isn't taken into account. I waited a little while to report this as I wasn't sure the update had gone through, but it's been 3 days so I think it's safe to assume it is now |
commented
Nov 12, 2025
|
have you tried clearing the data for the extension cause otherwise i am not sure what to do since it's raycast logic |
commented
Nov 12, 2025
I uninstalled and reinstalled the extension, and now it's all good. Sorry for the annoyance, and thank you for the work! |
Description
Screencast
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