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

Release 2023-11-28 #52

Merged
merged 395 commits into from
Nov 28, 2023
Merged

Release 2023-11-28 #52

merged 395 commits into from
Nov 28, 2023

Conversation

tordans
Copy link
Contributor

@tordans tordans commented Nov 28, 2023

No description provided.

tordans and others added 30 commits October 13, 2023 11:49
Those cases are new due to forceConsistentCasingInFileNames
Quite a bit of `as`, but I think that is fine here.
> Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
> Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
tordans and others added 29 commits November 20, 2023 13:02
Trying NEXT_PUBLIC_ENV to show up.
Lets see if this helps in making the ENV available.
Next test… lets see if maybe the name is the issue.
This does guard the application against undefined states where the initial URL is invalid. However, it also causes weird state effects.
1. Open page with broken config-param
2. App fixes the config-param and renders fine but does not fix the URL
3. Only once the user triggers a setConfig, the fixed URL is populated
We use useStaticRegion only for useConfigParam and useMapParam ATM and both are used in the header where no region is present. In those cases, the helper need to initialize withDefaults in order for the application to render. We do not actually use those params afterwards.
There are situations, when all our guards are not enough and `mainMap.getStyle()` still errors.

One way to force this is: (1) open /regionen/bibi, (2) Goto "Acount bearbeiten", (3) Save the form, (4) Use the browser back to show the map again.
This did not work which is why we are now using server components for the page.tsx files and the NextJS metadata API.
@tordans tordans merged commit 74d27f8 into main Nov 28, 2023
1 of 2 checks passed
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