mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 01:46:23 +02:00
feat(ui): add Suggested Topics feature with sidebar entry and topic cards
Add a new "Suggested Topics" panel accessible from the sidebar with a NEW badge. Topics are read from config/suggested-topics.md using code-fence JSON blocks. Each topic renders as a card with an "Explore" button that opens a new copilot chat and auto-submits a prompt about the topic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
490b14ad58
commit
157a2eaf6a
4 changed files with 197 additions and 2 deletions
|
|
@ -81,3 +81,11 @@ export const TranscriptBlockSchema = z.object({
|
|||
});
|
||||
|
||||
export type TranscriptBlock = z.infer<typeof TranscriptBlockSchema>;
|
||||
|
||||
export const SuggestedTopicBlockSchema = z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
category: z.string().optional(),
|
||||
});
|
||||
|
||||
export type SuggestedTopicBlock = z.infer<typeof SuggestedTopicBlockSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue