fix(web): SiteBanner external link missing target=_blank + rel=noopener
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
Research direction
Open apps/web/src/components/SiteBanner.tsx and inspect how the optional linkUrl is rendered for the banner CTA. Update that anchor's external-link attributes, then verify the CTA opens in a new tab while preserving the current SPA page.
Written by the indexing model from the issue text.
Description
Summary
apps/web/src/components/SiteBanner.tsx renders the banner's optional linkUrl as a plain anchor without target="_blank" or rel="noopener noreferrer". Clicking the CTA navigates the SPA away from the current page.
Requirements
- Add
target="_blank"andrel="noopener noreferrer"to the banner CTA link inapps/web/src/components/SiteBanner.tsx
Context
Admin-curated URLs so the security risk is bounded, but the UX is wrong — banners typically point at external announcements that should open in a new tab without sacrificing the user's place on the SPA. Surfaced in the Plan 3 review.
- Dominant language
- HTML
- Stars
- 33
- Forks
- 104
- Avg merge
- 12h 3m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from USRSE/usrse.github.io
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
USRSE/usrse.github.io#2000 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
USRSE/usrse.github.io#1991 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
USRSE/usrse.github.io#1948 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
USRSE/usrse.github.io#1947 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
USRSE/usrse.github.io#1930 ·
All issues in USRSE/usrse.github.io
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
eknowledger/toolbench#101 · 1 comment ·
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100