Skip to content

Update port-from-project-name extension#26939

Merged
raycastbot merged 3 commits intoraycast:mainfrom
Vethya:ext/port-from-project-name
Apr 5, 2026
Merged

Update port-from-project-name extension#26939
raycastbot merged 3 commits intoraycast:mainfrom
Vethya:ext/port-from-project-name

Conversation

@Vethya
Copy link
Copy Markdown
Contributor

@Vethya Vethya commented Apr 5, 2026

Description

Remove actions from empty state view in port history

In "Port History" command:

  • Remove "Generate Port" and "Clear History" actions

Context: The "Generate Port" action in in port history was causing issues, so I decided to remove it.

Screencast

BEFORE

port-from-project-name 2026-04-05 at 12 52 10

AFTER

port-from-project-name 2026-04-05 at 12 47 24

Checklist

- Merge branch \'contributions/merge-1775366049204\'
- Pull contributions
- update changelog for port history improvements and edit feature
- remove actions from empty state view in port history
- fix lint errors
- Merge branch \'contributions/merge-1764689026756\'
- Pull contributions
- add port edit in port history with collision avoidance
- upgrade @raycast/eslint-config to 2.1.1
- enhance port history management with confirmation alert for clearing history and improved empty state view
- add screenshots that meet requirements
- make generate-port.tsx use argument type from raycast-env.d.ts instead of creating its own interface
- add notes in readme.md on collision probability
- add screenshots, command subtitles, and improve changelog.md
- add CHANGELOG.md
- add same actions in port history to generate port
- fix namings and code based on lint
- add README.md
- change to npm
- remove comment
- update @raycast/api
- add new extension icon
- initial commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: port-from-project-name Issues related to the port-from-project-name extension platform: macOS platform: Windows OP is author The OP of the PR is the author of the extension labels Apr 5, 2026
@raycastbot
Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

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

@Vethya Vethya marked this pull request as ready for review April 5, 2026 05:55
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 5, 2026

Greptile Summary

This PR removes the Generate Port and Clear History actions from the empty-state view of the Port History command, which were causing issues. The change is minimal and targeted — only the List.EmptyView actions prop is removed while all actions for populated list items remain fully intact.

Confidence Score: 5/5

Safe to merge — minimal, focused change with no P0 or P1 issues

The code change is simple and correct: removing the actions prop from List.EmptyView fixes the described bug without affecting any other functionality. The CHANGELOG follows the required format with the {PR_MERGE_DATE} placeholder placed at the top in descending order. No blocking issues found.

No files require special attention; the package-lock.json lockfile regeneration is routine and does not affect runtime behavior

Important Files Changed

Filename Overview
extensions/port-from-project-name/src/view-port-history.tsx Removed actions prop from List.EmptyView, eliminating the buggy Generate Port and Clear History actions from the empty state; all actions for populated list items remain unchanged
extensions/port-from-project-name/CHANGELOG.md New changelog entry added with correct {PR_MERGE_DATE} placeholder at the top, maintaining proper descending version order
extensions/port-from-project-name/package-lock.json Lockfile regeneration removes resolved/integrity fields from many packages and replaces @esbuild platform-specific packages with @nodelib devDependencies

Reviews (1): Last reviewed commit: "fix duplicate code from bad merge in vie..." | Re-trigger Greptile

@pernielsentikaer pernielsentikaer self-assigned this Apr 5, 2026
Copy link
Copy Markdown
Collaborator

@pernielsentikaer pernielsentikaer left a comment

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 26f22e6 into raycast:main Apr 5, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Published to the Raycast Store:
https://raycast.com/sopheakvethya_syna/port-from-project-name

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

@Vethya
Copy link
Copy Markdown
Contributor Author

Vethya commented Apr 5, 2026

Thank you very much!

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: port-from-project-name Issues related to the port-from-project-name extension OP is author The OP of the PR is the author of the extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants