1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 16:39:02 +02:00

Make default active tab to AI in topic popup

This commit is contained in:
Kamran Ahmed
2025-05-27 02:43:59 +01:00
parent 8a4ce26da2
commit 8e5954bff3
2 changed files with 7 additions and 4 deletions

View File

@@ -416,8 +416,8 @@ export function RoadmapAIChat(props: RoadmapAIChatProps) {
className="relative overflow-hidden rounded-full bg-stone-900 px-4 py-2 text-center text-white shadow-2xl hover:bg-stone-800"
>
<span className="relative z-20 flex items-center gap-2 text-sm">
<Bot className="size-5" />
<span>Chat about Roadmap</span>
<Bot className="size-5 text-yellow-400" />
<span>Chat with Roadmap</span>
</span>
</button>
</div>
@@ -478,6 +478,7 @@ export function RoadmapAIChat(props: RoadmapAIChatProps) {
resourceId={selectedTopicId}
resourceType="roadmap"
renderer="editor"
defaultActiveTab="ai"
hasUpgradeButtons={false}
canSubmitContribution={false}
wrapperClassName="grow flex flex-col overflow-y-auto"