Remove corpus counts from chat chrome
This commit is contained in:
@@ -32,11 +32,31 @@ interface SidebarProps {
|
||||
}
|
||||
|
||||
const QUICK_PROMPTS = [
|
||||
{ drug: "Paracetamol", label: "Liều dùng Paracetamol người lớn & trẻ em" },
|
||||
{ drug: "Amoxicillin", label: "Chống chỉ định & Thận trọng khi dùng Amoxicillin" },
|
||||
{ drug: "Metformin", label: "Liều lượng & Tương tác thuốc Metformin" },
|
||||
{ drug: "Aspirin", label: "Chỉ định & Tác dụng không mong muốn của Aspirin" },
|
||||
{ drug: "Ibuprofen", label: "Liều dùng Ibuprofen theo trọng lượng cơ thể" },
|
||||
{
|
||||
drug: "Levetiracetam",
|
||||
label: "Chỉ định của Levetiracetam",
|
||||
query: "Levetiracetam được chỉ định trong những trường hợp nào?",
|
||||
},
|
||||
{
|
||||
drug: "Metformin",
|
||||
label: "Chống chỉ định của Metformin",
|
||||
query: "Chống chỉ định của Metformin là gì?",
|
||||
},
|
||||
{
|
||||
drug: "Zolpidem",
|
||||
label: "ADR Zolpidem theo tần suất",
|
||||
query: "Tác dụng không mong muốn của Zolpidem là gì?",
|
||||
},
|
||||
{
|
||||
drug: "Fluoxetin",
|
||||
label: "Fluoxetin trong thời kỳ mang thai",
|
||||
query: "Có thể dùng Fluoxetin trong thời kỳ mang thai không?",
|
||||
},
|
||||
{
|
||||
drug: "Danazol",
|
||||
label: "Tương tác thuốc của Danazol",
|
||||
query: "Danazol có những tương tác thuốc nào?",
|
||||
},
|
||||
];
|
||||
|
||||
export function Sidebar({
|
||||
@@ -194,7 +214,7 @@ export function Sidebar({
|
||||
{QUICK_PROMPTS.map((prompt, idx) => (
|
||||
<button
|
||||
key={idx}
|
||||
onClick={() => onQuickQuery(prompt.label)}
|
||||
onClick={() => onQuickQuery(prompt.query)}
|
||||
className="w-full text-left p-2 rounded-xl bg-surface-elevated hover:bg-surface-hover border border-border-subtle text-txt-secondary hover:text-txt-primary text-[0.72rem] leading-snug transition-all flex items-center justify-between group"
|
||||
>
|
||||
<span className="truncate pr-1">{prompt.label}</span>
|
||||
@@ -206,12 +226,11 @@ export function Sidebar({
|
||||
</div>
|
||||
|
||||
{/* System Stats Footer */}
|
||||
<div className="p-3 border-t border-border-subtle bg-surface-elevated/40 text-[0.68rem] text-txt-muted flex items-center justify-between">
|
||||
<div className="p-3 border-t border-border-subtle bg-surface-elevated/40 text-[0.68rem] text-txt-muted flex items-center">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<BookOpen className="w-3.5 h-3.5 text-accent-primary" />
|
||||
<span>Dược thư QGVN 2018</span>
|
||||
</div>
|
||||
<span className="font-semibold text-accent-primary">684 Chuyên luận</span>
|
||||
</div>
|
||||
</aside>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user