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

Introduce pagesManifest #3016

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Introduce pagesManifest #3016

merged 3 commits into from
Dec 21, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Dec 21, 2023

Working towards reducing the role of the appDom to just a single page. The end-goal is to fully isolate low-code page building from the pro-code page building. That enables us to unbundle the editor and develop Toolpad low-code abilities independently from pro-code abilities.

  • The pages manifest will be used to do routing/navigation in the app, for this it will be possible to import it as 'virtual:toolpad-files:pages-manifest.json'.
  • It will also be available to the builder so it can generate components for the code pages
  • We will also make it available to the editor through an API so it can render the pages hierarchy with it
  • We already have something similar for components that is used to import them in the runtime
  • We will use this components manifest in the editor to populate the components hierarchy Remove components from appDom #3017
  • We will build a similar thing for the theme

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Dec 21, 2023
@Janpot Janpot marked this pull request as ready for review December 21, 2023 12:54
@Janpot Janpot requested a review from a team December 21, 2023 12:55
@Janpot Janpot merged commit 691f637 into mui:master Dec 21, 2023
2 checks passed
@Janpot Janpot deleted the pages-manifest branch December 21, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants