-
Notifications
You must be signed in to change notification settings - Fork 0
fix: canonical logo, robust groundedness, richer citations, delete #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,16 +29,17 @@ function CitationItem({ c }: { c: Citation }) { | |
| {pages} | ||
| </span> | ||
| )} | ||
| {c.sectionIds && c.sectionIds.length > 0 && ( | ||
| <span className="font-mono text-[11px] text-muted-foreground"> | ||
| {c.sectionIds.length} section{c.sectionIds.length === 1 ? "" : "s"} | ||
| </span> | ||
| )} | ||
| <GroundedPill grounded={c.grounded} /> | ||
| </div> | ||
| {c.quote ? ( | ||
| {c.quote && ( | ||
| <p className="border-l-2 border-brand-pink/40 pl-3 text-[13px] italic leading-relaxed text-foreground/80"> | ||
| “{c.quote}” | ||
| </p> | ||
| ) : ( | ||
| <p className="text-[13px] text-muted-foreground"> | ||
| Cited {c.sectionIds?.length ?? 0} section(s). | ||
| </p> | ||
| )} | ||
| </div> | ||
| ); | ||
|
|
@@ -59,7 +60,12 @@ function AssistantBubble({ m }: { m: AssistantMessage }) { | |
| </div> | ||
| )} | ||
|
|
||
| {m.answer && <Markdown content={m.answer} />} | ||
| {m.answer && ( | ||
| <Markdown | ||
| content={m.answer} | ||
| className="prose-p:!text-foreground/90 prose-li:!text-foreground/90 prose-p:!leading-relaxed" | ||
| /> | ||
| )} | ||
|
Comment on lines
+63
to
+68
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '\n== Tailwind version references ==\n'
rg -n '"tailwindcss"|tailwindcss' package.json pnpm-lock.yaml yarn.lock package-lock.json apps/web -g '!**/node_modules/**' || true
printf '\n== ChatThread.tsx excerpt ==\n'
sed -n '55,75p' apps/web/components/playground/ChatThread.tsx
printf '\n== Any obvious Tailwind config files ==\n'
fd -a 'tailwind*' . | sed -n '1,120p'Repository: hallelx2/vectorless Length of output: 10135 🌐 Web query:
💡 Result: In Tailwind CSS v4, the syntax for applying the!important modifier has changed to improve consistency with native CSS [1]. Important Modifier Syntax In Tailwind CSS v4, the!important modifier is applied by adding a "!" suffix to the end of a utility class (e.g., text-red-500!) [1][2]. This replaces the v3 syntax of prefixing the utility with an exclamation mark (e.g.,!text-red-500) [1][2]. To apply!important to all utility declarations globally, you can add the important flag to your CSS import statement [3]: Citations:
Tailwind v4 important modifiers need suffix syntax here.
🤖 Prompt for AI Agents |
||
|
|
||
| {m.status === "error" && ( | ||
| <div className="flex items-start gap-2 rounded-[14px] border border-red-200 bg-red-50 p-3 text-sm text-red-700"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: hallelx2/vectorless
Length of output: 5239
Close the dropdown after the delete flow settles.
preventDefault()keeps Radix from auto-closing this menu, so cancelingconfirm()or a failed DELETE leaves it open until the user clicks away. The success path only looks fine because the row unmounts onmutate.apps/web/app/(dashboard)/dashboard/documents/page.tsx:322-328🤖 Prompt for AI Agents