mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
refactor: improve code readability in RunningAgentsView component
- Reformatted JSX for better clarity and consistency. - Enhanced the layout of the feature description prop for improved maintainability.
This commit is contained in:
@@ -174,7 +174,10 @@ export function RunningAgentsView() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{agent.description && (
|
{agent.description && (
|
||||||
<p className="text-sm text-muted-foreground truncate max-w-md" title={agent.description}>
|
<p
|
||||||
|
className="text-sm text-muted-foreground truncate max-w-md"
|
||||||
|
title={agent.description}
|
||||||
|
>
|
||||||
{agent.description}
|
{agent.description}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
@@ -228,7 +231,9 @@ export function RunningAgentsView() {
|
|||||||
open={true}
|
open={true}
|
||||||
onClose={() => setSelectedAgent(null)}
|
onClose={() => setSelectedAgent(null)}
|
||||||
projectPath={selectedAgent.projectPath}
|
projectPath={selectedAgent.projectPath}
|
||||||
featureDescription={selectedAgent.description || selectedAgent.title || selectedAgent.featureId}
|
featureDescription={
|
||||||
|
selectedAgent.description || selectedAgent.title || selectedAgent.featureId
|
||||||
|
}
|
||||||
featureId={selectedAgent.featureId}
|
featureId={selectedAgent.featureId}
|
||||||
featureStatus="running"
|
featureStatus="running"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user