🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(notification): refine inbox item metadata (#18328)
Arvin Xu3ab22a9446b9
diff --git a/src/features/HomeSidebar/Header/components/InboxDrawer/NotificationItem.tsx b/src/features/HomeSidebar/Header/components/InboxDrawer/NotificationItem.tsxindex dfea03351c4..f80d330f055 100644--- a/src/features/HomeSidebar/Header/components/InboxDrawer/NotificationItem.tsx+++ b/src/features/HomeSidebar/Header/components/InboxDrawer/NotificationItem.tsx@@ -27,7 +27,7 @@ const styles = createStaticStyles(({ css }) => ({margin-block-start: 7px;border-radius: 50%;- background: ${cssVar.colorPrimary};+ background: ${cssVar.colorInfo};`,}));@@ -127,25 +127,24 @@ const NotificationItem = memo<NotificationItemProps>(variant="borderless"onClick={handleClick}>- <Flexbox horizontal align="flex-start" gap={8}>- <Icon- color={cssVar.colorTextDescription}- icon={TypeIcon}- size={18}- style={{ flexShrink: 0, marginTop: 2 }}- />- <Flexbox horizontal align="flex-start" flex={1} gap={6} style={{ overflow: 'hidden' }}>- {!isRead && <span className={styles.unreadDot} />}- <Flexbox flex={1} gap={4} style={{ overflow: 'hidden' }}>- <Text ellipsis={{ rows: 3 }} title={preview} wordBreak="break-word">- {preview}- </Text>+ <Flexbox horizontal align="flex-start" gap={6}>+ {!isRead && <span className={styles.unreadDot} />}+ <Flexbox flex={1} gap={4} style={{ overflow: 'hidden' }}>+ <Text ellipsis={{ rows: 3 }} title={preview} wordBreak="break-word">+ {preview}+ </Text>+ <Flexbox horizontal align="center" gap={4}>+ <Icon color={cssVar.colorTextDescription} icon={TypeIcon} size={12} />{context && (<Text ellipsis fontSize={12} title={context} type="secondary">{context}</Text>)}- <Text fontSize={12} type="secondary">+ <Text+ fontSize={12}+ style={{ flexShrink: 0, marginInlineStart: 'auto' }}+ type="secondary"+ >{formatNotificationRelativeTime(createdAt, dateLocale)}</Text></Flexbox>