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

✨ Making the catalog for embedded in tegration connections #246

Merged
merged 7 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "embedded-catalog",
"name": "react",
"private": true,
"version": "0.0.0",
"type": "module",
Expand All @@ -18,10 +18,13 @@
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
Expand Down
6 changes: 6 additions & 0 deletions apps/embedded-catalog/react/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
17 changes: 17 additions & 0 deletions apps/embedded-catalog/react/src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import './App.css'

function App() {

return (
<>
<div>
<h1 className="text-3xl font-bold underline">
Hello world!
</h1>
</div>

</>
)
}

export default App
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
Expand Down
12 changes: 12 additions & 0 deletions apps/embedded-catalog/react/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
Expand Down
35 changes: 0 additions & 35 deletions apps/embedded-catalog/src/App.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/webapp/src/components/connections/ConnectionTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function ConnectionTable() {


</div>
{isGenerated ? <Dialog open={true}>
{isGenerated ? <Dialog open={isGenerated} onOpenChange={setIsGenerated}>
<DialogTrigger asChild>
<Button variant="outline" className="">
<PlusCircledIcon className="mr-2 h-4 w-4" />
Expand Down
Loading
Loading