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

Update publish #308

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 10 additions & 0 deletions components/ConnectorsInfo/ConnectorsInfo.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ export const CONNECTORS: Array<ConnectorCategory> = [
icon: "/images/connectors/tableau.webp",
name: "Tableau",
},
{
url: "/connectors/dashboard/qlikcloud",
icon: "/images/connectors/qlikcloud.webp",
name: "Qlik Cloud",
},
{
url: "/connectors/dashboard/qliksense",
icon: "/images/connectors/qlik-sense.webp",
Expand Down Expand Up @@ -296,6 +301,11 @@ export const CONNECTORS: Array<ConnectorCategory> = [
icon: "/images/connectors/apachenifi.webp",
name: "NiFi",
},
{
url: "/connectors/pipeline/openlineage",
icon: "/images/connectors/openlineage.webp",
name: "OpenLineage",
},
{
url: "/connectors/pipeline/spline",
icon: "/images/connectors/spline.webp",
Expand Down
20 changes: 20 additions & 0 deletions components/RunLLMWidgetScript/RunLLMWidgetScript.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export function RunLLMWidgetScript() {
return (
<script
defer
id="runllm-widget-script"
type="module"
src="https://widget.runllm.com"
runllm-server-address="https://api.runllm.com"
runllm-assistant-id="143"
runllm-position="BOTTOM_RIGHT"
runllm-keyboard-shortcut="Mod+k"
runllm-name="OpenMetadata"
runllm-brand-logo="https://avatars.githubusercontent.com/u/86132257?s=200&v=4"
runllm-community-type="slack"
runllm-community-url="https://openmetadata.slack.com/join/shared_invite/zt-2muq1e0tw-igZZQLgnn9etFmWACHUdMg"
></script>
);
}

export default RunLLMWidgetScript;
2 changes: 2 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { MenuItemsContextProvider } from "../context/MenuItemsContext";
import { NavBarCollapseContextProvider } from "../context/NavBarCollapseContext";
import { RouteChangingContextProvider } from "../context/RouteChangingContext";
import { StepsContextProvider } from "../context/StepsContext";
import { RunLLMWidgetScript } from "../components/RunLLMWidgetScript/RunLLMWidgetScript";

const TITLE = "OpenMetadata Documentation: Get Help Instantly";
const DESCRIPTION =
Expand Down Expand Up @@ -46,6 +47,7 @@ export default function MyApp({ Component, pageProps }: AppProps<MyAppProps>) {
)}
<meta property="og:type" content="website" />
<meta content="summary_large_image" name="twitter:card" />
<RunLLMWidgetScript />
{/* Temporarily commenting out the GiffyGPT code as it is giving 404 */}
{/* <script
src="https://jiffygpt.com/embed.js"
Expand Down
2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { SkeletonWidth } from "../enums/SkeletonLoder.enum";
import { MenuItem } from "../interface/common.interface";
import { getVersionsList } from "../lib/api";
import { fetchMenuList } from "../utils/CommonUtils";
import RunLLMWidgetScript from "../components/RunLLMWidgetScript/RunLLMWidgetScript";

interface Props {
versionsList: Array<SelectOption<string>>;
Expand Down Expand Up @@ -52,6 +53,7 @@ export default function Index({ versionsList }: Readonly<Props>) {
return (
<>
<GoogleAnalyticsScript />
<RunLLMWidgetScript />
<div className="nav-bar-container">
<TopNav versionsList={versionsList} />
<CategoriesNav menu={menu} />
Expand Down
Binary file added public/images/connectors/openlineage.webp
Binary file not shown.
Binary file added public/images/connectors/qlikcloud.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions utils/ConnectorsUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ export const getConnectorImage = (connector: string) => {
MSSQL: "mssql",
MySQL: "sql",
NiFi: "apachenifi",
OpenLineage:"openlineage",
Oracle: "oracle",
PinotDB: "pinot",
Postgres: "post",
PowerBI: "power-bi",
Presto: "presto",
QuickSight: "quicksight",
"Qlik Cloud": "qlikcloud",
"Qlik Sense": "qlik-sense",
Redash: "redash",
Redpanda: "redpanda",
Expand Down
Loading