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:
tusharmagar 2026-04-14 10:32:58 +05:30
parent 490b14ad58
commit 157a2eaf6a
4 changed files with 197 additions and 2 deletions

View file

@ -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>;