Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: navigate to slug based project url on buy page #2507

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

blushi
Copy link
Member

@blushi blushi commented Oct 19, 2024

Description

Redirect to slug based project url if project has a slug.
Doing the same as on the project page so that it retrieves slug-based project on sanity.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • provided a link to the relevant issue or specification
  • provided instructions on how to test
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

How to test

https://deploy-preview-2507--regen-marketplace.netlify.app/project/C01-001/buy should redirect to https://deploy-preview-2507--regen-marketplace.netlify.app/project/mai-ndombe-4/buy

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items
.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed code correctness and readability
  • verified React components follow DRY principles
  • reviewed documentation is accurate
  • reviewed tests
  • manually tested (if applicable)

Copy link

netlify bot commented Oct 19, 2024

Deploy Preview for regen-website failed. Why did it fail? →

Name Link
🔨 Latest commit f41d072
🔍 Latest deploy log https://app.netlify.com/sites/regen-website/deploys/671753e48ab6a100086912de

@blushi blushi changed the title fix: navigate to slug base project url on buy page fix: navigate to slug based project url on buy page Oct 19, 2024
@blushi
Copy link
Member Author

blushi commented Oct 19, 2024

@erikalogie see testing instructions

@blushi blushi requested a review from r41ph October 19, 2024 15:15
@erikalogie
Copy link
Collaborator

LGTM

@blushi blushi enabled auto-merge (squash) October 22, 2024 07:27
@blushi blushi merged commit 55c9689 into dev Oct 22, 2024
2 of 14 checks passed
@blushi blushi deleted the fix-buy-redirect-slug branch October 22, 2024 07:30
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.

3 participants