Repository navigation
Update prism-launcher extension - #26816
Conversation
- Pull contributions - Add support for showing live server status in the servers list
|
Thank you for your contribution! 🎉 🔔 @lockieluke @pernielsentikaer @TakenMC 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. 📋 Quick checkout commandsBRANCH="ext/prism-launcher"
FORK_URL="https://github.com/tomjpeg/raycast-extensions.git"
EXTENSION_NAME="prism-launcher"
REPO_NAME="raycast-extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR adds progressive live server status (online/offline badge and player count) to the Prism Launcher server list commands. The implementation is generally solid — servers are shown immediately and ping results fill in asynchronously, avoiding the previous blocking concern. Two issues remain:
Confidence Score: 3/5Not ready to merge — deprecated dependency and a UI regression in the favorites view need to be addressed first. Two P1 findings: the dependency used is explicitly deprecated by its own author with a recommended replacement, and the server address is silently dropped from the favorites list subtitle, which is a visible UX regression. Neither is a crash-level issue, but both should be resolved before shipping.
Important Files Changed
Prompt To Fix All With AIThis is a comment left during a code review.
Path: extensions/prism-launcher/src/utils/ping.ts
Line: 1
Comment:
**Deprecated dependency with no maintenance**
`minecraft-server-util` is explicitly marked as deprecated in `package-lock.json`:
> "deprecated": "no longer maintained, please use https://mcstatus.io"
Its transitive dependency `minecraft-motd-util` carries the same deprecation notice. Since neither package will receive bug fixes or security patches, this introduces long-term risk into the extension.
The library author's own recommendation is to migrate to the [`mcstatus.io`](https://mcstatus.io) HTTP API (or their [`node-mcstatus`](https://github.com/mcstatus-io/node-mcstatus) package). Consider switching before merging so the extension doesn't immediately ship with a stale dependency.
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/prism-launcher/src/commands/favorite-servers.tsx
Line: 113
Comment:
**Server address removed from favorites list subtitle**
The subtitle was changed from `server.address` to `server.instanceName`, which means the server's address is no longer visible in the favorites list at a glance. Users have to use the "Copy Server Address" action panel item just to see what address a favorite maps to.
The `join-server.tsx` command still shows `server.address` as its subtitle, making the two commands inconsistent. If `instanceName` as subtitle is intentional here to save space for the new status badges, consider adding the address back as an accessory text element so it remains discoverable.
```suggestion
subtitle={server.address}
```
How can I resolve this? If you propose a fix, please make it concise.Reviews (3): Last reviewed commit: "Improve server status updates by display..." | Re-trigger Greptile |
|
I forgot to commit several files and also created some really strange issues. It should be resolved now. |
… pings asynchronously
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
- chore: 更新 delink 扩展的版本信息为初始发布版 - docs: 调整 delink 扩展快捷键说明顺序 - Merge branch \'raycast:main\' into main - Update CODEOWNERs (2134dff) - Update hetzner extension (raycast#26705) - Update CODEOWNERs (840e5a9) - Add ram-prices extension (raycast#26564) - Update CODEOWNERs (45fad15) - Add habitica-todos extension (raycast#26446) - Update CODEOWNERs (3e686e1) - Add Bundles extension (raycast#25680) - Update CODEOWNERs (f6261fd) - Update tmux-cheatsheet extension (raycast#26379) - Changelog Alignment (raycast#26824) - Update prism-launcher extension (raycast#26816)
- feat[extensions/qq-mail]: 添加QQ邮箱扩展及配置文件 - Merge branch \'raycast:main\' into main - Update CODEOWNERs (9944a1b) - [XKCD Comics] Add viewing history (raycast#26704) - refactor: 增加useCallback并更新tsconfig配置 - Update CODEOWNERs (9b7c8a4) - Add Kafka UI extension (raycast#26259) - Merge branch \'raycast:main\' into main - refactor: 简化 Action.CopyToClipboard 组件调用 (url-parse.tsx) - chore: 移除 delink 扩展中的图标配置项 - chore: 删除图标文件并更新配置引用新图标 - Update CODEOWNERs (756e9da) - Update ascii-art-wallpaper extension (raycast#26707) - Update CODEOWNERs (23ee8a8) - Add paper-agent extension (raycast#26367) - Merge branch \'raycast:main\' into main - chore: 更新 delink 扩展变更日志并移除旧版本记录 - Update CODEOWNERs (768930b) - Add nocal extension (raycast#26482) - Update CODEOWNERs (7c0e492) - Add caaals extension (raycast#26443) - Merge branch \'raycast:main\' into main - docs: 更新 delink 扩展文档及快捷键说明 - Update CODEOWNERs (41a12f0) - Update mirror-displays extension (raycast#26445) - chore: 更新 delink 扩展的版本信息为初始发布版 - docs: 调整 delink 扩展快捷键说明顺序 - Merge branch \'raycast:main\' into main - feat:up - Update CODEOWNERs (2134dff) - Update hetzner extension (raycast#26705) - Update CODEOWNERs (840e5a9) - Add ram-prices extension (raycast#26564) - Update CODEOWNERs (45fad15) - Add habitica-todos extension (raycast#26446) - Update CODEOWNERs (3e686e1) - Add Bundles extension (raycast#25680) - Update CODEOWNERs (f6261fd) - Update tmux-cheatsheet extension (raycast#26379) - Changelog Alignment (raycast#26824) - Update prism-launcher extension (raycast#26816) - Merge branch \'raycast:main\' into main - feat: add metadata folder and language setting - Update picgo extension (raycast#26818) - Update CODEOWNERs (bd7023d) - Add clockodo extension (raycast#26432) - feat: add raycast extension delink - Update CODEOWNERs (868aef4)
Description
I've added live server data to the extension's server list command so you can see directly if the server is online and how many players are currently playing.
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder