Skip to content

Conversation

jog1t
Copy link
Contributor

@jog1t jog1t commented Sep 25, 2025

TL;DR

Added target="_blank" and rel="noopener noreferrer" to Discord and GitHub links in the sidebar.

What changed?

  • Removed unused icon imports (faCheck and faTriangleExclamation)
  • Added target="_blank" and rel="noopener noreferrer" attributes to the Discord and GitHub links in the sidebar to ensure they open in new tabs

How to test?

  1. Navigate to any page with the sidebar
  2. Click on either the Discord or GitHub links
  3. Verify that they open in a new tab instead of replacing the current page

Why make this change?

This improves user experience by allowing users to visit external resources without losing their current context in the application. The rel="noopener noreferrer" attribute also adds security by preventing the new tab from accessing the window.opener property.

Copy link

vercel bot commented Sep 25, 2025

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

Project Deployment Preview Comments Updated (UTC)
rivet-cloud Error Error Sep 25, 2025 3:21pm
rivet-site Ready Ready Preview Comment Sep 25, 2025 3:21pm
rivet-studio Ready Ready Preview Comment Sep 25, 2025 3:21pm

@jog1t jog1t marked this pull request as ready for review September 25, 2025 15:17
Copy link
Contributor Author

jog1t commented Sep 25, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

claude bot commented Sep 25, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link

pkg-pr-new bot commented Sep 25, 2025

Open in StackBlitz

npm i https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-runner@2992
npm i https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-runner-protocol@2992

commit: d361eb3

Copy link
Contributor

graphite-app bot commented Sep 25, 2025

Graphite Automations

"Test" took an action on this PR • (09/25/25)

1 assignee was added to this PR based on Kacper Wojciechowski's automation.

Copy link
Contributor

graphite-app bot commented Sep 26, 2025

Merge activity

  • Sep 26, 9:31 PM UTC: NathanFlurry added this pull request to the Graphite merge queue.
  • Sep 26, 9:31 PM UTC: CI is running for this pull request on a draft pull request (#3008) due to your merge queue CI optimization settings.
  • Sep 26, 9:32 PM UTC: Merged by the Graphite merge queue via draft PR: #3008.

graphite-app bot pushed a commit that referenced this pull request Sep 26, 2025
### TL;DR

Added `target="_blank"` and `rel="noopener noreferrer"` to Discord and GitHub links in the sidebar.

### What changed?

- Removed unused icon imports (`faCheck` and `faTriangleExclamation`)
- Added `target="_blank"` and `rel="noopener noreferrer"` attributes to the Discord and GitHub links in the sidebar to ensure they open in new tabs

### How to test?

1. Navigate to any page with the sidebar
2. Click on either the Discord or GitHub links
3. Verify that they open in a new tab instead of replacing the current page

### Why make this change?

This improves user experience by allowing users to visit external resources without losing their current context in the application. The `rel="noopener noreferrer"` attribute also adds security by preventing the new tab from accessing the window.opener property.
@graphite-app graphite-app bot closed this Sep 26, 2025
@graphite-app graphite-app bot deleted the 09-25-fix_fe_links_in_new_window branch September 26, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants