🤯 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(brief): use Footprints icon and hide view-run until card hover (#14347)
Arvin Xu6d1d8a0d1678
diff --git a/src/features/DailyBrief/BriefCardActions.tsx b/src/features/DailyBrief/BriefCardActions.tsxindex 57695561397..23fe7669def 100644--- a/src/features/DailyBrief/BriefCardActions.tsx+++ b/src/features/DailyBrief/BriefCardActions.tsx@@ -1,7 +1,7 @@import { type BriefAction, DEFAULT_BRIEF_ACTIONS } from '@lobechat/types';import { Button, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';import { cssVar } from 'antd-style';-import { Check, MessageSquareText, SquarePen } from 'lucide-react';+import { Check, SquarePen, Workflow } from 'lucide-react';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';import { shallow } from 'zustand/shallow';@@ -71,7 +71,8 @@ const BriefCardActions = memo<BriefCardActionsProps>(}, [openTopicDrawer, setActiveTaskId, taskId, topicId]);const viewRunButton = showViewRun ? (<Button- icon={MessageSquareText}+ className={'brief-view-run-btn'}+ icon={Workflow}size={'small'}style={{ color: cssVar.colorTextSecondary }}type={'text'}diff --git a/src/features/DailyBrief/style.ts b/src/features/DailyBrief/style.tsindex 763097e7b74..9f9907092a4 100644--- a/src/features/DailyBrief/style.ts+++ b/src/features/DailyBrief/style.ts@@ -23,14 +23,16 @@ export const styles = createStaticStyles(({ css, cssVar }) => ({color: ${cssVar.colorTextQuaternary};`,card: css`- .brief-comment-btn {+ .brief-comment-btn,+ .brief-view-run-btn {opacity: 0;}&:hover {border-color: ${cssVar.colorBorder} !important;- .brief-comment-btn {+ .brief-comment-btn,+ .brief-view-run-btn {opacity: 1;}}