Skip to content

Conversation

@sea-snake
Copy link
Contributor

Update upgrade support CTA.

Changes

  • Replace button with support question and help link.
  • Change Button components to html buttons.
  • Flatten html structure by removing unnecessary wrappers, use margins directly instead.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the upgrade support UI by replacing a Button component with a cleaner text + link approach, and simplifies the HTML structure by removing unnecessary wrapper divs and applying margins directly to elements.

  • Replaced "Help & FAQ" Button with a text prompt ("Don't remember your identity number?") and a "Help" link
  • Converted the primary Button component to a native HTML <button> element
  • Flattened the component structure by removing nested divs and applying margins directly via Tailwind classes
Comments suppressed due to low confidence (1)

src/frontend/src/lib/components/wizards/migration/views/EnterIdentityNumber.svelte:112

  • The anchor element is missing the rel attribute for security. When using target="_blank", you should include rel="noopener noreferrer" to prevent the new page from accessing the window.opener property and to avoid sending the referrer information. The original Button component at this location had rel="noopener noreferrer" which should be preserved.
    <a
      href={UPGRADE_SUPPORT_URL}
      target="_blank"
      class="text-text-primary text-sm font-semibold outline-0 hover:underline focus-visible:underline"
    >
      {$t`Help`}
    </a>

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

Copy link
Contributor

@aterga aterga left a comment

Choose a reason for hiding this comment

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

Approving modulo copy, which we're discussing offline.

@sea-snake sea-snake added this pull request to the merge queue Jan 5, 2026
Merged via the queue into main with commit 093e606 Jan 5, 2026
69 checks passed
@sea-snake sea-snake deleted the sea-snake/upgrade-support-link branch January 5, 2026 10:04
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