File tree Expand file tree Collapse file tree
apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.query Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { useState } from "react" ;
2+ import { SparkleListIcon } from "~/assets/icons/SparkleListIcon" ;
23import { AIQueryInput } from "~/components/code/AIQueryInput" ;
34import { Header3 } from "~/components/primitives/Headers" ;
5+ import { Paragraph } from "~/components/primitives/Paragraph" ;
46import type { AITimeFilter } from "./types" ;
57
68export function AITabContent ( {
@@ -41,8 +43,8 @@ export function AITabContent({
4143 />
4244
4345 < div className = "pt-4" >
44- < Header3 className = "mb-2 text-text-bright" > Example prompts</ Header3 >
45- < div className = "space-y -2" >
46+ < Header3 className = "mb-3 text-text-bright" > Example prompts</ Header3 >
47+ < div className = "flex flex-wrap gap -2" >
4648 { examplePrompts . map ( ( example ) => (
4749 < button
4850 key = { example }
@@ -53,14 +55,16 @@ export function AITabContent({
5355 key : ( prev ?. key ?? 0 ) + 1 ,
5456 } ) ) ;
5557 } }
56- className = "block w-full rounded-md border border-grid-dimmed bg -charcoal-800 px-3 py-2 text-left text-sm text-text-dimmed transition-colors hover:border-grid-bright hover:bg-charcoal-750 hover:text-text-bright "
58+ className = "group flex w-fit items-center gap-2 rounded-full border border-dashed border -charcoal-600 px-4 py-2 transition-colors hover:border-solid hover:border-indigo-500 "
5759 >
58- { example }
60+ < SparkleListIcon className = "size-4 text-text-dimmed transition group-hover:text-indigo-500" />
61+ < Paragraph variant = "small" className = "transition group-hover:text-text-bright" >
62+ { example }
63+ </ Paragraph >
5964 </ button >
6065 ) ) }
6166 </ div >
6267 </ div >
6368 </ div >
6469 ) ;
6570}
66-
You can’t perform that action at this time.
0 commit comments