Skip to content

Updated gift purchase confirmation page to show gift short URL#27475

Merged
mike182uk merged 1 commit into
mainfrom
gift-sub-success-page-url
Apr 21, 2026
Merged

Updated gift purchase confirmation page to show gift short URL#27475
mike182uk merged 1 commit into
mainfrom
gift-sub-success-page-url

Conversation

@mike182uk
Copy link
Copy Markdown
Member

no ref

Updated the gift purchase confirmation page to show gift short URL (/gift/<token>) instead of the longer redemption URL (/#/portal/gift/redeem/<token>)

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 06de7941-55a9-4c0f-b38f-bcd51b982aa8

📥 Commits

Reviewing files that changed from the base of the PR and between d38c295 and 63de151.

📒 Files selected for processing (3)
  • apps/portal/package.json
  • apps/portal/src/components/pages/gift-success-page.js
  • apps/portal/test/portal-links.test.js
✅ Files skipped from review due to trivial changes (2)
  • apps/portal/package.json
  • apps/portal/src/components/pages/gift-success-page.js
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/portal/test/portal-links.test.js

Walkthrough

The redeem URL in the gift success page was changed from the hash-based route /#/portal/gift/redeem/{token} to the site-relative path /gift/{token}. The displayed link text and the clipboard-copied value now use the new path. The related test was updated to match the /gift/{token} suffix.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating the gift purchase confirmation page to display a short URL format instead of a longer one.
Description check ✅ Passed The description is directly related to the changeset, explaining the shift from the longer redemption URL format to the shorter gift URL format across the modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch gift-sub-success-page-url

Comment @coderabbitai help to get the list of available commands and usage tips.

no ref

Updated the gift purchase confirmation page to show gift short URL
(`/gift/<token>`) instead of the longer redemption URL
(`/#/portal/gift/redeem/<token>`)
@mike182uk mike182uk force-pushed the gift-sub-success-page-url branch from d38c295 to 63de151 Compare April 21, 2026 09:11
@sonarqubecloud
Copy link
Copy Markdown

@mike182uk mike182uk merged commit 431788d into main Apr 21, 2026
41 checks passed
@mike182uk mike182uk deleted the gift-sub-success-page-url branch April 21, 2026 10:00
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