Skip to content

Harden navbar external links - #205

Merged
dextmorgn merged 1 commit into
reconurge:mainfrom
Ghraven:fix/navbar-external-link-rel
Aug 5, 2026
Merged

Harden navbar external links#205
dextmorgn merged 1 commit into
reconurge:mainfrom
Ghraven:fix/navbar-external-link-rel

Conversation

@Ghraven

@Ghraven Ghraven commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Problem

Two external links in the dashboard navbar open with target="_blank" but do not set a rel attribute. Other external links in the app already use rel="noopener noreferrer", so these two were inconsistent with the safer pattern.

Before / after

Before, the GitHub and Support dropdown links opened a new tab without explicitly isolating the opener context.

After, both links include rel="noopener noreferrer", matching the rest of the app's external-link handling.

Verification

  • ../node_modules/.bin/prettier.cmd --check src/components/layout/top-navbar.tsx
  • git diff --check

I also tried npm run typecheck, but it currently fails on unrelated existing TypeScript errors across the app, including missing @tiptap/react/menus, missing @tiptap/markdown, and several pre-existing implicit-any/unused import errors outside this navbar file.

@dextmorgn
dextmorgn merged commit 43f1f6c into reconurge:main Aug 5, 2026
1 check passed
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