Skip to content

feat: add open in github button#19

Merged
sirily11 merged 1 commit into
mainfrom
icon
May 16, 2026
Merged

feat: add open in github button#19
sirily11 merged 1 commit into
mainfrom
icon

Conversation

@sirily11

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 16, 2026 15:38
@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 16, 2026 3:39pm

Request Review

@autopilot-project-manager autopilot-project-manager Bot added the enhancement New feature or request label May 16, 2026
@sirily11 sirily11 enabled auto-merge (squash) May 16, 2026 15:39
@sirily11 sirily11 merged commit 3b97c43 into main May 16, 2026
10 checks passed
@sirily11 sirily11 deleted the icon branch May 16, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an “Open in GitHub” action to the external editor toolbar menu, backed by shared Git remote URL helpers in RxCodeCore. The PR also migrates app icon configuration to a new Icon Composer resource.

Changes:

  • Adds GitHub URL generation/detection helpers and uses them from the toolbar menu.
  • Refactors project GitHub repo detection to use the shared core helper.
  • Replaces the legacy app icon asset catalog entry with icon.icon.

Reviewed changes

Copilot reviewed 7 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
RxCode/Views/Toolbar/ExternalEditorMenu.swift Adds the “Open in GitHub” menu item and service helper.
RxCode/App/AppState.swift Uses the shared GitHub owner/repo detector when adding folder projects.
Packages/Sources/RxCodeCore/Utilities/GitURLHelpers.swift Adds GitHub web URL construction and Git remote detection helpers.
Packages/Tests/RxCodeCoreTests/GitURLHelpersTests.swift Adds coverage for GitHub web URL construction.
RxCode.xcodeproj/project.pbxproj Registers the new icon resource and updates app icon build settings.
RxCode/Assets.xcassets/AppIcon.appiconset/Contents.json Removes the legacy app icon asset metadata.
icon.icon/icon.json Adds Icon Composer icon metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +144 to +145
if let project = windowState.selectedProject,
let gitHubURL = ExternalEditorService.shared.gitHubURL(for: project) {
guard let urlString = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines),
!urlString.isEmpty else { return nil }

return parseGitHubOwnerRepo(from: urlString)
@sirily11

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants