Referral URL og:title and og:image changes minds#3020
Ticket(s) / Related Merge Requests
Closes minds#3020 (closed)
Cypress tests: cypress-tests!21 (merged)
Summary of Changes
Changes to the referrer title
, og:title
, and og:image
displayed for referrers when the referrer URL is and is not present.
Testing Considerations
Issue card gives a pretty solid explanation but you need to test the URLs with and without the referrer param on the register page and look at the page's metadata to ensure og:image
and og:title
are being set properly.
- https://fix-referral-url-meta-3020.minds.io/register?referrer=nemofin
- https://fix-referral-url-meta-3020.minds.io/register
Deployment Considerations
Nothing of note.
Regression Scope
Changes are around the setting of metatags on the register page.
Platform Affected (web, mobile, etc)
Web
Developer Testing Completed
Unit tests were provided but had issues mocking the ActivatedRoute query params so I couldn't get full coverage via just unit tests, though I fixed the register component testbed and added a test for when NO referrer param is present.
Have covered the area missed in E2E tests at cypress-tests!21 (merged)
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out