Skip to content

feat(frontend): ✨ add hidden back-link to URL source - #224

Merged
Waog merged 2 commits into
masterfrom
add-hidden-backlink
Aug 9, 2026
Merged

feat(frontend): ✨ add hidden back-link to URL source#224
Waog merged 2 commits into
masterfrom
add-hidden-backlink

Conversation

@Waog

@Waog Waog commented Aug 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 9, 2026 13:45
@Waog Waog self-assigned this Aug 9, 2026
@nx-cloud

nx-cloud Bot commented Aug 9, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 6c9b67d

Command Status Duration Result
nx e2e frontend-e2e -- --project=chromium ✅ Succeeded 4m 19s View ↗
nx test-storybook frontend --url=http://localho... ✅ Succeeded 16s View ↗
nx affected -t build build-storybook -c ci ✅ Succeeded 1m 21s View ↗
nx prerender frontend --configuration=production ✅ Succeeded 56s View ↗
nx affected -t test -c ci ✅ Succeeded 47s View ↗
nx affected -t lint -c ci ✅ Succeeded 4s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-09 13:59:35 UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a “hidden” backlink in the About Me hero text by generating a shareable URL (removing customizationPanelShown and the hash, and normalizing localhost to the public origin) and wiring it into the hero component/template.

Changes:

  • Introduces HeroHiddenLinkService to derive a cleaned, shareable URL from document.location with a router-based fallback.
  • Adds unit tests covering query param removal, hash stripping, localhost origin replacement, and fallbacks.
  • Wires the generated URL into HeroContentComponent and inserts an anchor into the hero summary text.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
libs/feature/about-me/src/lib/hero-content/hero-hidden-link.service.ts New service to compute the cleaned “hidden link” URL, including localhost → public origin normalization.
libs/feature/about-me/src/lib/hero-content/hero-hidden-link.service.spec.ts Unit tests validating URL cleanup and fallback behavior.
libs/feature/about-me/src/lib/hero-content/hero-content.component.ts Injects the new service and exposes hiddenLinkUrl() to the template.
libs/feature/about-me/src/lib/hero-content/hero-content.component.html Adds the hidden backlink anchor into the hero summary text.
Suppressed comments (1)

libs/feature/about-me/src/lib/hero-content/hero-content.component.html:35

  • The link is intended to be “hidden”, but there are no styles for .hidden-link in this component (and no .hidden-link styles found elsewhere), so the comma will likely render with default link styling and will be keyboard-focusable. Consider adding explicit styling (e.g., inherit color, remove underline) and ensuring focus visibility, or using a shared visually-hidden pattern if it should not be perceivable.
        25 years of experience in software development<a
          class="hidden-link"
          target="_blank"
          [href]="hiddenLinkUrl()"
          >,</a

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

fixed AI feedback:
The hidden back-link uses target="_blank" but does not set rel="noopener noreferrer",
which allows reverse-tabnabbing.
@Waog
Waog enabled auto-merge August 9, 2026 13:53
@Waog
Waog merged commit 133f7b6 into master Aug 9, 2026
10 checks passed
@Waog
Waog deleted the add-hidden-backlink branch August 9, 2026 13:59
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