8000 feat: implement Premium features page using shadcn/ui and Tailwind by jaaydenh · Pull Request #15094 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: implement Premium features page using shadcn/ui and Tailwind #15094

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

Merged
merged 27 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
jaaydenh committed Nov 5, 2024
commit 4134d9036756a8aa9a27dd1d28bb105fdddfc801
2 changes: 2 additions & 0 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"@types/ua-parser-js": "0.7.36",
"@types/uuid": "9.0.2",
"@vitejs/plugin-react": "4.3.3",
"autoprefixer": "10.4.20",
"chromatic": "11.16.3",
"eventsourcemock": "2.0.0",
"express": "4.21.0",
Expand All @@ -152,6 +153,7 @@
"jest-websocket-mock": "2.5.0",
"jest_workaround": "0.1.14",
"msw": "2.3.5",
"postcss": "8.4.47",
"prettier": "3.3.3",
"protobufjs": "7.4.0",
"rxjs": "7.8.1",
Expand Down
34 changes: 34 additions & 0 deletions site/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 13 additions & 18 deletions site/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import "./theme/globalFonts";
import createCache from "@emotion/cache";
import { CacheProvider } from "@emotion/react";
import { StyledEngineProvider } from "@mui/material/styles";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import {
type FC,
Expand Down Expand Up @@ -72,23 +71,19 @@ export const AppProviders: FC<AppProvidersProps> = ({
}, []);

return (
<StyledEngineProvider injectFirst>
<CacheProvider value={cache}>
<HelmetProvider>
<QueryClientProvider client={queryClient}>
<AuthProvider>
<ThemeProvider>
{children}
<GlobalSnackbar />
</ThemeProvider>
</AuthProvider>
{showDevtools && (
<ReactQueryDevtools initialIsOpen={showDevtools} />
)}
</QueryClientProvider>
</HelmetProvider>
</CacheProvider>
</StyledEngineProvider>
<CacheProvider value={cache}>
Copy link
Member
@aslilac aslilac Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this provider actually go inside ThemeProvider instead, since it's already doing emotion related stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, seems like that is fine.

70DD
<HelmetProvider>
<QueryClientProvider client={queryClient}>
<AuthProvider>
<ThemeProvider>
{children}
<GlobalSnackbar />
</ThemeProvider>
</AuthProvider>
{showDevtools && <ReactQueryDevtools initialIsOpen={showDevtools} />}
</QueryClientProvider>
</HelmetProvider>
</CacheProvider>
);
};

Expand Down
0