NEX-127-1: Switch from pages router to app router
Switching to APP router.
This is a big feature, being worked on by @jekku123 mostly for now.
This is a draft PR, so that we can have a place to gather comments and discussions about this big refactoring.
@jekku123 hi! I tried testing this a bit, and I think we have an issue in the caching setup:
Basically the changes saved to the page do not show up unless you are in draft mode.
Either next.js or redis are not getting invalidated, it seems.
If i manually delete the Redis keys, the changes show up
When going to edit Frontpage I see this preview and when I click that link it renders the Frontpage so is the preview feature creating a new page and returning 404 by default? Anyone else seen this? Actually this seems to be the case
I could not update Frontpage text content and Articles could not be fetched.
Search also does not work.
Could others confirm whether or not this is the case for them as well so we can check as a team in parallel?
When going to edit Frontpage I see this preview and when I click that link it renders the Frontpage so is the preview feature creating a new page and returning 404 by default? Anyone else seen this? Actually this seems to be the case
I could not update Frontpage text content and Articles could not be fetched.
Search also does not work.
Could others confirm whether or not this is the case for them as well so we can check as a team in parallel?
Can't reproduce :-)
Showing Frontpage:
Search:
Articles:
@vermario mmm that is odd indeed, I need to re-setup again from start.
Something that happens when switching branches is that you might have some old generated code laying around, since this new feature changes the whole structure, and the files generated by the graphl-codegen are now in a new location. so I suggest doing this:
git clean -f<- should get rid of leftover untracked files./setup-lando.sh -cwill rebuild lando and reinstall drupal and should get you to the initial situation.

