Skip to content

Commit ef3eabc

Browse files
committed
minor shared convo ux fix
1 parent 90a9e4c commit ef3eabc

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

web/frontend/src/components/memories/plugins/plugins.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ export default function Plugins({ apps }: PluginsProps) {
1515
{apps.map((app, index) => {
1616
return (
1717
<div key={index}>
18-
<ErrorBoundary errorComponent={ErrorIdentifyPlugin}>
19-
<IdentifyPlugin pluginId={app.app_id} />
20-
</ErrorBoundary>
21-
<div>
18+
<div className="mb-4">
2219
<Markdown className="prose prose-sm max-w-none text-zinc-300 prose-headings:text-zinc-100 prose-headings:font-semibold prose-p:leading-relaxed prose-p:text-zinc-300 prose-strong:text-zinc-100 prose-ul:text-zinc-300 prose-li:text-zinc-300 prose-li:marker:text-zinc-500 md:prose-base">
2320
{app.content}
2421
</Markdown>
2522
</div>
23+
<ErrorBoundary errorComponent={ErrorIdentifyPlugin}>
24+
<IdentifyPlugin pluginId={app.app_id} />
25+
</ErrorBoundary>
2626
</div>
2727
);
2828
})}

web/frontend/src/components/memories/summary/sumary.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ export default function Summary({ memory }: SummaryProps) {
1616
</div>
1717
)}
1818

19-
{memory?.structured?.action_items?.length > 0 && (
19+
{memory?.structured?.events?.length > 0 && (
2020
<div className="px-6 md:px-12">
21-
<ActionItems items={memory.structured.action_items} />
21+
<MemoryEvents events={memory.structured.events} />
2222
</div>
2323
)}
2424

25-
{memory?.structured?.events?.length > 0 && (
25+
{memory?.structured?.action_items?.length > 0 && (
2626
<div className="px-6 md:px-12">
27-
<MemoryEvents events={memory.structured.events} />
27+
<ActionItems items={memory.structured.action_items} />
2828
</div>
2929
)}
3030
</div>

web/frontend/src/components/plugins/identify-plugin.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ function IdentifyPlugin({ pluginId }: IdentifyPluginProps) {
5353
const content = (
5454
<>
5555
<Image
56-
className="h-10 w-10 min-w-[40px] rounded-lg object-cover"
56+
className="h-8 w-8 min-w-[32px] rounded-lg object-cover"
5757
src={pluginCommunity?.image}
5858
alt={pluginCommunity?.name}
59-
width={50}
60-
height={50}
59+
width={32}
60+
height={32}
6161
/>
6262
<div className="flex-1">
63-
<h3 className="text-lg font-semibold text-white">
63+
<h3 className="text-base font-semibold text-white">
6464
{pluginCommunity?.name}
6565
</h3>
66-
<p className="line-clamp-1 text-sm text-zinc-400">
66+
<p className="line-clamp-1 text-xs text-zinc-400">
6767
{pluginCommunity.description}
6868
</p>
6969
</div>
70-
{isPublic && <NavArrowRight className="h-5 w-5 text-zinc-500" />}
70+
{isPublic && <NavArrowRight className="h-4 w-4 text-zinc-500" />}
7171
</>
7272
);
7373

0 commit comments

Comments
 (0)