🤯 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
import { Flexbox } from '@lobehub/ui';
import { memo } from 'react';
import TaskAcceptance from './TaskAcceptance';
import TaskActivities from './TaskActivities';
import TaskArtifacts from './TaskArtifacts';
import TaskDetailAssignee from './TaskDetailAssignee';
import { taskDetailLayoutStyles as styles } from './taskDetailLayoutStyles';
import TaskDetailRunPauseAction from './TaskDetailRunPauseAction';
import TaskDetailTitleInput from './TaskDetailTitleInput';
import TaskExecutionConfig from './TaskExecutionConfig';
import TaskGoalBar from './TaskGoalBar';
import TaskInstruction from './TaskInstruction';
import TaskModelConfig from './TaskModelConfig';
import TaskParentBar from './TaskParentBar';
import TaskProperties from './TaskProperties';
import TaskSubtasks from './TaskSubtasks';
/**
* The scrollable body sections of a task detail, shared by the full-page
* `/task/[tid]` route and the chat-side Portal. All children read the active
* task from the task store, so the host is responsible for setting
* `activeTaskId` (e.g. via `setActiveTaskId`) before rendering this.
*/
const TaskDetailSections = memo(() => {
return (
<div className={styles.root}>
<div className={styles.grid}>
<Flexbox className={styles.main} gap={12}>
<TaskGoalBar />
<TaskParentBar />
<TaskDetailTitleInput />
<Flexbox horizontal align={'center'} gap={8} style={{ maxWidth: '100%' }} wrap={'wrap'}>
<TaskDetailRunPauseAction />
<TaskDetailAssignee />
<TaskModelConfig />
<TaskExecutionConfig />
</Flexbox>
</Flexbox>
<div className={styles.side}>
<TaskProperties />
</div>
<Flexbox className={styles.body} gap={24}>
<TaskInstruction />
<TaskAcceptance />
<TaskSubtasks />
<TaskArtifacts />
<TaskActivities />
</Flexbox>
</div>
</div>
);
});
export default TaskDetailSections;