Skip to content

Update prism-launcher extension - #26816

Merged
raycastbot merged 4 commits into
raycast:mainfrom
tomjpeg:ext/prism-launcher
Apr 1, 2026
Merged

raycastbot merged 4 commits into
raycast:mainfrom
tomjpeg:ext/prism-launcher

Conversation

@tomjpeg

@tomjpeg tomjpeg commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor

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

- Pull contributions
- Add support for showing live server status in the servers list
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: prism-launcher Issues related to the prism-launcher extension platform: macOS platform: Windows OP is contributor The OP of the PR is a contributor of the extension labels Apr 1, 2026
@raycastbot

raycastbot commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator

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 commands
BRANCH="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 dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@tomjpeg
tomjpeg marked this pull request as ready for review April 1, 2026 07:26
@greptile-apps

greptile-apps Bot commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This 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:

  • Deprecated dependency: minecraft-server-util (and its transitive dep minecraft-motd-util) are both flagged as deprecated in package-lock.json, with the library author explicitly directing users to migrate to mcstatus.io. Shipping with a no-longer-maintained package creates unnecessary long-term maintenance and security risk.
  • Lost server address in favorites view: favorite-servers.tsx changes the subtitle from server.address to server.instanceName, meaning users can no longer see the server address at a glance in the favorites list. This is inconsistent with join-server.tsx where the address is still the subtitle.

Confidence Score: 3/5

Not 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.

extensions/prism-launcher/src/utils/ping.ts (deprecated dependency) and extensions/prism-launcher/src/commands/favorite-servers.tsx (lost server address subtitle).

Important Files Changed

Filename Overview
extensions/prism-launcher/src/utils/ping.ts New utility that pings Minecraft servers using the deprecated minecraft-server-util package; logic and retry approach are sound but the dependency needs replacing.
extensions/prism-launcher/src/commands/favorite-servers.tsx Progressive ping integration is correct; however, the subtitle was changed from server address to instance name, hiding address info from users and creating inconsistency with join-server.tsx.
extensions/prism-launcher/src/commands/join-server.tsx Progressive ping integration added cleanly; subtitle still correctly shows server address.
extensions/prism-launcher/src/types.ts Four optional ping-result fields added to the Server type correctly.
extensions/prism-launcher/CHANGELOG.md New changelog entry added at the top with correct {PR_MERGE_DATE} placeholder.
extensions/prism-launcher/package.json Dependency minecraft-server-util@^5.4.4 added; package is deprecated upstream.
Prompt To Fix All With AI
This 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

@tomjpeg

tomjpeg commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

I forgot to commit several files and also created some really strange issues. It should be resolved now.

@TakenMC

TakenMC commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@greptileai

@TakenMC TakenMC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@raycast-extensions-bot raycast-extensions-bot Bot added the Approved Approved by a user label Apr 1, 2026
@0xdhrv 0xdhrv self-assigned this Apr 1, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit eac1c14 into raycast:main Apr 1, 2026
2 checks passed
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

ariesly15 pushed a commit to ariesly15/raycast-extensions that referenced this pull request Apr 2, 2026
- 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)
@tomjpeg
tomjpeg deleted the ext/prism-launcher branch April 7, 2026 09:10
ariesly15 pushed a commit to ariesly15/raycast-extensions that referenced this pull request Apr 10, 2026
- 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Approved by a user extension fix / improvement Label for PRs with extension's fix improvements extension: prism-launcher Issues related to the prism-launcher extension OP is contributor The OP of the PR is a contributor of the extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants