Skip to content

Update prism-launcher extension - #22645

Merged
raycastbot merged 3 commits into
raycast:mainfrom
tomjpeg:ext/prism-launcher
Nov 4, 2025
Merged

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

Conversation

@tomjpeg

@tomjpeg tomjpeg commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

Description

Hotfix to resolve an issue where servers are duplicated in the listing

Screencast

Checklist

- es lint
- Deduplicate favorite servers by IP address in favorite-servers.tsx
- Pull contributions
@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 OP is contributor The OP of the PR is a contributor of the extension labels Nov 4, 2025
@raycastbot

ghost commented Nov 4, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @lockieluke @pernielsentikaer 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.

@tomjpeg
tomjpeg marked this pull request as ready for review November 4, 2025 11:53

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

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit a609a9d into raycast:main Nov 4, 2025
@github-actions

ghost commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 4, 2025

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.

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

Greptile Overview

Greptile Summary

This PR applies a targeted hotfix to the prism-launcher extension to resolve server duplication in the favorite servers list. The issue occurred when the same server was added to multiple Prism Launcher instances, causing duplicate entries to appear in the UI. The fix adds deduplication logic that filters servers by their unique address field, keeping only the first occurrence of each server.

The change is made in the favorite-servers.tsx file where servers are processed for display. The deduplication happens after filtering for favorite servers but before rendering them in the UI, ensuring users see a clean list without redundant entries.

Important Files Changed

Filename Score Overview
extensions/prism-launcher/src/commands/favorite-servers.tsx 5/5 Added deduplication logic to prevent duplicate servers in the favorite servers listing

Confidence score: 5/5

  • This PR is safe to merge with minimal risk as it addresses a specific UI bug without affecting core functionality
  • Score reflects the targeted nature of the fix, clear problem identification, and simple implementation that doesn't introduce complexity
  • No files require special attention as the change is straightforward and well-contained

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@tomjpeg
tomjpeg deleted the ext/prism-launcher branch November 22, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants