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

backstage: route branded blog requests to unbranded url #1682

Closed
wants to merge 1 commit into from

Conversation

frshwtr
Copy link
Contributor

@frshwtr frshwtr commented May 31, 2024

Describe your changes

When a brand is selected, requests to the blog pages resolve to /<brand>/blog, this doesn't exist, and results in a 404.

This change will redirect requests to blog to the unbranded url.

Issue ticket number and link

Link to Figma designs

Checklist before requesting a review

  • I have applied percy label for o-[COMPONENT] or chromatic label for o3-[COMPONENT] on my PR before merging and after review. Find more details in CONTRIBUTING.md
  • If it is a new feature, I have added thorough tests.
  • I have updated relevant docs.
  • I have updated relevant env variables in Doppler.

@frshwtr frshwtr requested a review from a team as a code owner May 31, 2024 15:22
@origamiserviceuser origamiserviceuser added this to Backlog in Origami ✨ May 31, 2024
@notlee notlee temporarily deployed to origami-webs-or-714-rem-acmnny May 31, 2024 15:26 Inactive
Copy link
Contributor

@notlee notlee left a comment

Choose a reason for hiding this comment

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

I'm afraid this approach won't work for us:

  • We deploy a built, static version, which still 404s
  • As discussed, we don't want to lose the users selected brand when switching between the blog and branded content

Static build:

npm run build -w apps/for-everyone-website/
npm run preview -w apps/for-everyone-website/

Copy link
Contributor

@akomiqaia akomiqaia left a comment

Choose a reason for hiding this comment

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

Did not notice Lee had changes requested.

@akomiqaia akomiqaia dismissed their stale review June 5, 2024 09:28

there was already changes requested

@notlee notlee closed this Jun 5, 2024
Origami ✨ automation moved this from Backlog to Done Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Origami ✨
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants