Skip to content

The Open Standard for Generative UI

Update ESLint configuration, replace static images with GIFs in chat documentation, and update logo URLs in React UI components to reflect new branding. (#316)

subham293301bda78a
diff --git a/docs/content/docs/chat/copilot.mdx b/docs/content/docs/chat/copilot.mdx
index 911e7a8f1..2b4608d66 100644
--- a/docs/content/docs/chat/copilot.mdx
+++ b/docs/content/docs/chat/copilot.mdx
@@ -20,7 +20,7 @@ export function App() {
}
```
-![Copilot sidebar layout example](/docs/images/chat/copilot.png)
+![Copilot sidebar layout example](/docs/images/chat/video2.gif)
## Common configuration
diff --git a/docs/content/docs/chat/fullscreen.mdx b/docs/content/docs/chat/fullscreen.mdx
index 9ea56ca85..7798557c8 100644
--- a/docs/content/docs/chat/fullscreen.mdx
+++ b/docs/content/docs/chat/fullscreen.mdx
@@ -19,7 +19,7 @@ export function App() {
}
```
-![FullScreen layout example](/docs/images/chat/fullscreen.png)
+![FullScreen layout example](/docs/images/chat/video1.gif)
## Common configuration
diff --git a/docs/public/docs/images/chat/video1.gif b/docs/public/docs/images/chat/video1.gif
new file mode 100644
index 000000000..ba1f013c1
Binary files /dev/null and b/docs/public/docs/images/chat/video1.gif differ
diff --git a/docs/public/docs/images/chat/video2.gif b/docs/public/docs/images/chat/video2.gif
new file mode 100644
index 000000000..7c0d1d4af
Binary files /dev/null and b/docs/public/docs/images/chat/video2.gif differ
diff --git a/eslint.config.cjs b/eslint.config.cjs
index e30cb5abd..1b1e1f02c 100644
--- a/eslint.config.cjs
+++ b/eslint.config.cjs
@@ -8,7 +8,7 @@ const reactHooks = require("eslint-plugin-react-hooks");
module.exports = [
{
- ignores: ["**/src/templates/**"],
+ ignores: ["**/src/templates/**", "**/.storybook/**"],
},
{
files: ["**/__tests__/**/*.{ts,tsx}", "**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}"],
diff --git a/packages/react-ui/.storybook/theme.ts b/packages/react-ui/.storybook/theme.ts
index 8fd9326ec..09d620ae0 100644
--- a/packages/react-ui/.storybook/theme.ts
+++ b/packages/react-ui/.storybook/theme.ts
@@ -3,7 +3,7 @@ import { create } from "@storybook/theming";
export default create({
base: "dark",
brandTitle: "OpenUI Components",
- brandUrl: "https://crayonai.org/docs/ui",
- brandImage: "https://crayonai.org/img/logo.png",
+ brandUrl: "https://www.openui.com/docs/ui",
+ brandImage: "https://www.openui.com/favicon.svg",
brandTarget: "_self",
});
diff --git a/packages/react-ui/src/components/OpenUIChat/ComposedBottomTray.tsx b/packages/react-ui/src/components/OpenUIChat/ComposedBottomTray.tsx
index db145ec24..3a8f823fe 100644
--- a/packages/react-ui/src/components/OpenUIChat/ComposedBottomTray.tsx
+++ b/packages/react-ui/src/components/OpenUIChat/ComposedBottomTray.tsx
@@ -68,7 +68,7 @@ const ConversationStartersRenderer = ({
};
const BottomTrayInner = ({
- logoUrl = "https://crayonai.org/img/logo.png",
+ logoUrl = "https://www.openui.com/favicon.svg",
agentName = "My Agent",
messageLoading: MessageLoadingComponent = MessageLoading,
scrollVariant = "user-message-anchor",
diff --git a/packages/react-ui/src/components/OpenUIChat/ComposedCopilot.tsx b/packages/react-ui/src/components/OpenUIChat/ComposedCopilot.tsx
index 011d9237f..3808e7195 100644
--- a/packages/react-ui/src/components/OpenUIChat/ComposedCopilot.tsx
+++ b/packages/react-ui/src/components/OpenUIChat/ComposedCopilot.tsx
@@ -60,7 +60,7 @@ const ConversationStartersRenderer = ({
};
const CopilotInner = ({
- logoUrl = "https://crayonai.org/img/logo.png",
+ logoUrl = "https://www.openui.com/favicon.svg",
agentName = "My Agent",
messageLoading: MessageLoadingComponent = MessageLoading,
scrollVariant = "user-message-anchor",
diff --git a/packages/react-ui/src/components/OpenUIChat/ComposedStandalone.tsx b/packages/react-ui/src/components/OpenUIChat/ComposedStandalone.tsx
index bf67673fd..0eef1b04a 100644
--- a/packages/react-ui/src/components/OpenUIChat/ComposedStandalone.tsx
+++ b/packages/react-ui/src/components/OpenUIChat/ComposedStandalone.tsx
@@ -71,7 +71,7 @@ const ConversationStartersRenderer = ({
};
const FullScreenInner = ({
- logoUrl = "https://crayonai.org/img/logo.png",
+ logoUrl = "https://www.openui.com/favicon.svg",
agentName = "My Agent",
messageLoading: MessageLoadingComponent = MessageLoading,
scrollVariant = "user-message-anchor",