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

feat: allow installer to pull the installerId from searchParams #59

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

fidiego
Copy link
Contributor

@fidiego fidiego commented Aug 28, 2024

Description

Allow the app to pull the installerId from the query params.

Note: this required a refactor of the root layout and modifications to the way we handle Metadata.
These changes feel a little rough atm.

In effect, the root layout is now responsible solely for styles and generating metadata. the footer has been moved into the pages so we don't have to fetch the installer from the root layout.

TODO

  • figure out how to use searchParams in the generateMetadata
  • ensure the metadata is generated well regardless of what method we use to get the installerId.

@fidiego fidiego force-pushed the fd/accept-installer-id-in-query-param branch from 64c971f to 9b0faa9 Compare August 28, 2024 15:32
this required a refactor of the root layout and modifications to the way
we handle `Metadata`.

- [ ] figure out how to use `searchParams` in the `generateMetadata`
- [ ] ensure the metadata is generated well regardless of what method we
      use to get the installerId.
@fidiego fidiego merged commit 383fe0d into main Aug 28, 2024
3 checks passed
@fidiego fidiego deleted the fd/accept-installer-id-in-query-param branch August 28, 2024 22:54
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.

1 participant