6 Commits

Author SHA1 Message Date
Arjun Patel 62323e42b2 nit 2026-06-20 14:34:40 -07:00
Arjun Patel dfcba82aa4 ignore emacs project.el 2026-06-20 14:27:45 -07:00
Arjun Patel bde093fb21 fix: sidebar padding glitchy
Long markdown content would make each chat row expand and remove the padding in the sidebar
2026-06-20 13:30:07 -07:00
Arjun Patel 5118790353 fix: avatar showing blank when switching 2026-06-20 13:07:41 -07:00
Arjun Patel c11c5074ce chore: bump version to v1.7.1 (#285) 2026-06-13 12:18:21 -07:00
Arjun Patel fa9f88f6f6 improve stream sidebar experience and avatar affordance (#284)
* fix awkward stream list experience

* fix avatar change affordance

* cleanup unnecessary logic

* cleanup unnecessary logic and complexity

* unused var
2026-06-13 11:39:29 -07:00
4 changed files with 7 additions and 6 deletions
+1
View File
@@ -5,3 +5,4 @@ build/
compile_commands.json
CMakeLists.txt.user
tags
project.el
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Flowy.llink",
"productName": "Flowy.llink",
"version": "1.7.0",
"version": "1.7.1",
"description": "Flowy.llink is a video messaging app for teams",
"main": ".vite/build/main.js",
"private": true,
+1 -1
View File
@@ -29,7 +29,7 @@ export function HumanAvatar({
const url = useAvatarUrl(avatarObjectId);
return (
<Avatar {...props}>
{url && <AvatarImage src={url} alt={initials} />}
<AvatarImage src={url} alt={initials} />
<AvatarFallback className={fallbackClassName}>{initials}</AvatarFallback>
</Avatar>
);
@@ -39,7 +39,7 @@ export function StreamListSidebar({
}, [currentIndex]);
return (
<aside className="dark flex max-w-60 shrink-0 flex-col border-l border-white/10 bg-zinc-950">
<aside className="dark flex w-60 shrink-0 flex-col overflow-hidden border-l border-white/10 bg-zinc-950">
<div className="flex shrink-0 items-center gap-2 border-b border-white/10 px-4 py-3">
<List className="size-3.5 text-white/40" />
<span className="truncate text-sm font-medium text-white/90 mr-auto">
@@ -105,7 +105,7 @@ function ChatRow({
if (e.key === 'Enter') onClick();
}}
className={cn(
'flex w-full cursor-pointer items-start gap-2.5 rounded-md px-2 py-2 text-left transition-colors',
'flex cursor-pointer items-start gap-2.5 rounded-md px-2 py-2 text-left transition-colors',
isSelected ? 'bg-white/10' : 'hover:bg-white/5',
)}
>
@@ -116,7 +116,7 @@ function ChatRow({
avatarObjectId={sender.avatarObjectId}
fallbackClassName="bg-white/10 text-white/80 text-[10px] font-medium"
/>
<div className="min-w-0 flex-1">
<div className="min-w-0 flex-1 overflow-hidden">
<div className="flex items-baseline justify-between gap-2">
<span className="truncate text-xs font-semibold text-white/90">
{sender.displayName}
@@ -141,7 +141,7 @@ function ChatRowContent({ particle }: { particle: Particle }) {
switch (particle.type) {
case 'text':
return (
<p className="line-clamp-2 text-xs leading-relaxed whitespace-pre-line text-white/70">
<p className="line-clamp-2 text-xs leading-relaxed [overflow-wrap:anywhere] whitespace-pre-line text-white/70">
{particle.properties.content}
</p>
);