Skip to content

Commit 991f9ea

Browse files
committed
fix: PR review fixes — rename overlay, remove dead code, fix height measurement
- Rename save-template-overlay.tsx to export-overlay.tsx to match component name - Remove unused demo-gallery components (preserved on feat/demo-gallery branch) - Fix widget height measurement using offscreen clone instead of collapsing visible DOM, preventing potential ResizeObserver infinite loops - Use camelCase keyElements prop in PlanCard (remap from snake_case at call site) - Update chat disclaimer to be relevant to visualization demo
1 parent 490b4a0 commit 991f9ea

11 files changed

Lines changed: 20 additions & 435 deletions

File tree

apps/app/src/app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default function HomePage() {
7676
<CopilotChat
7777
labels={{
7878
welcomeMessageText: "What do you want to visualize today?",
79+
chatDisclaimerText: "Visualizations are AI-generated. You can retry the same prompt or ask the AI to refine the result.",
7980
}}
8081
/>
8182
} />

apps/app/src/components/demo-gallery/category-filter.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.

apps/app/src/components/demo-gallery/demo-card.tsx

Lines changed: 0 additions & 109 deletions
This file was deleted.

apps/app/src/components/demo-gallery/demo-data.ts

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)