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

[GEN-1691] load styled on server #1725

Merged
merged 449 commits into from
Nov 10, 2024

Conversation

alonkeyval
Copy link
Collaborator

This pull request includes several changes to the frontend/webapp directory, focusing on refactoring the theme provider, adding a new header component, and updating the layout file to use the new theme provider. The most important changes are summarized below:

Refactoring and Theming:

  • Replaced the ThemeProvider with ThemeProviderWrapper in frontend/webapp/app/layout.tsx to encapsulate the theme and styled-components registry. [1] [2]
  • Removed the old palette.ts file and moved theme-related code to theme-provider/index.tsx. [1] [2]
  • Added StyledComponentsRegistry for server-side rendering of styled-components.

Component Additions:

  • Added a new SetupHeader component in frontend/webapp/components/setup/header/index.tsx for the setup page header.
  • Updated the index.tsx file in frontend/webapp/components/setup to export the new SetupHeader component.

File Organization:

  • Updated frontend/webapp/styles/index.ts to export the new theme-provider module instead of the old palette.

alonkeyval and others added 30 commits July 25, 2024 14:59
[GEN-1100] chore: setup choose source
[GEN-1110] chore: get all sources of a namespace
[GEN-1117] feat: reusable modal component
alonkeyval and others added 28 commits October 20, 2024 16:00
…factor

[GEN-1538] Refactor destinations types query
Copy link

@alonkeyval alonkeyval merged commit 8771192 into odigos-io:new-ui Nov 10, 2024
3 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.

1 participant