Skip to content

Referral link updates#77

Open
Amanda-Kauppinen wants to merge 3 commits into
mainfrom
referral-link-updates
Open

Referral link updates#77
Amanda-Kauppinen wants to merge 3 commits into
mainfrom
referral-link-updates

Conversation

@Amanda-Kauppinen
Copy link
Copy Markdown
Contributor

Updates for upcoming referral link feature. Includes a new article describing the feature (how it works, notes for customizers) and updates to line numbers of affected files.

There are still two TODO's for content/concepts/users-and-authentication/referral-links/index.mdx:

  • line 26 to point to the Help Center article
  • line 41 to point to the correct lines in the main branch, vs the commit

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dev-docs Ready Ready Preview, Comment May 8, 2026 10:50am

Request Review

queries - for example, by spreading `location.search` params into a
listings query - referral link parameters may be unintentionally
included. Filter them out before making API calls. See
[SearchPage.duck.js](https://github.com/sharetribe/web-template/blob/cb2d59c91d101c33b276368315be8ff2b4519359/src/containers/SearchPage/SearchPage.duck.js#L282-L291)
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.

I would advise against linking to a specific line in code – these links break if the file is updated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point! I'll remove the specific lines

sign-up. For more information on setting up referrals, refer to the
[Help Center article](). {/* TODO: Add Help Center article link */}

## How referral links work
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.

Looking at this as someone not familiar with this feature, is there sense in including an example of what the referral URL structure looks like? Is it always static or is the exact structure defined via user type?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point! I'll add an example there.

The structure is static → userType.referralSources has parameter/label but the content of those depend on dynamic definitions set in Console

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