-
Notifications
You must be signed in to change notification settings - Fork 1k
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(routes): Handle explicitly imported pages with different names #4948
Conversation
✅ Deploy Preview for redwoodjs-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
(so we are testing the prerender case)
- so smoke tests are able to check it
Add test for noStaticImport
…tory-routing * 'main' of github.com:redwoodjs/redwood: chore(deps): update dependency cypress to v9.5.3 (redwoodjs#4955) chore(deps): update dependency @supabase/supabase-js to v1.33.1 (redwoodjs#4951) chore(deps): update dependency @clerk/types to v2 (redwoodjs#4920) fix flightcontrol template and doc (redwoodjs#4934) Fix test-project linting errors (redwoodjs#4942) More clerk doc comment updates (redwoodjs#4943) fix(deps): update dependency eslint to v8.12.0 (redwoodjs#4938) chore(deps): update dependency esbuild to v0.14.28 (redwoodjs#4936) Enable vscode debugging on api server (redwoodjs#4904)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A question and a comment for now. Will continue my review tomorrow
…tory-routing * 'main' of github.com:redwoodjs/redwood: chore(deps): update dependency @types/lodash to v4.14.181 (redwoodjs#4961) Add setup step for prisma client on Layer0 provider (redwoodjs#4950) fix language and highlighted lines (redwoodjs#4962) docs(md): improve code blocks (redwoodjs#4941)
@Tobbe also added a fix for #4895 - its a hard one to explain properly, so I've added tests and done explainer for you here: https://s.tape.sh/fL2FKC6e |
…nto fix/subdirectory-routing * 'fix/subdirectory-routing' of github.com:dac09/redwood: Clarify the cell aliasing section of tutorial (redwoodjs#4964) s/posts/articles (redwoodjs#4971) fix(deps): update dependency cross-undici-fetch to v0.1.28 (redwoodjs#4966) Add Storybook template for i18n (redwoodjs#4764) Add @storybook/addon-essentials by default (redwoodjs#4765)
@Tobbe ok to merge or do you want another pass? |
I'm finishing up my day job stuff right now. I'll take a look in ~30 min |
…tory-routing * 'main' of github.com:redwoodjs/redwood: Update comment-form.md (redwoodjs#4990) update details css (redwoodjs#4991) Fix issues in rbac.md (redwoodjs#4989) fix(deps): update storybook monorepo to v6.4.20 (redwoodjs#4979) fix(deps): update dependency @graphql-tools/schema to v8.3.6 (redwoodjs#4977) Reduce spacing (redwoodjs#4976) add 10 contribs Make docs styling a little more consistent (redwoodjs#4981) docs: Rename "Serverless.com" menu (redwoodjs#4975) Change block quote colours to make it standout more (redwoodjs#4925) fix(deps): update docusaurus monorepo to v2.0.0-beta.18 (redwoodjs#4928)
Just so you know, adding this one to the final final ultimate RC patch terrifies me. BUT I trust you gents 😉 Also YOLO 🤘 |
This PR fixes the issues linked below discovered on Sprout , the gist of it being the Route auto loader plugin was bugging out when you:
a) Nest a page in a folder
b) Import that page with a slightly different name than expected
e.g.
(all which is reasonable)
This PR does the following:
i) A page is explicitly imported (HomePage)
ii) Not imported (AboutPage)
Fixes #4896
Also Fixes #4895