mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +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>
|
||||
{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}
|
||||
</p>
|
||||
)}
|
||||
@@ -228,7 +231,9 @@ export function RunningAgentsView() {
|
||||
open={true}
|
||||
onClose={() => setSelectedAgent(null)}
|
||||
projectPath={selectedAgent.projectPath}
|
||||
featureDescription={selectedAgent.description || selectedAgent.title || selectedAgent.featureId}
|
||||
featureDescription={
|
||||
selectedAgent.description || selectedAgent.title || selectedAgent.featureId
|
||||
}
|
||||
featureId={selectedAgent.featureId}
|
||||
featureStatus="running"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user