Merge pull request #114 from AutoMaker-Org/refactor/board-view-folder-structure

Refactor/board view folder structure
This commit is contained in:
Web Dev Cody
2025-12-15 21:51:49 -05:00
committed by GitHub
41 changed files with 4433 additions and 3147 deletions

View File

@@ -25,3 +25,13 @@ export function getModelDisplayName(model: AgentModel | string): string {
};
return displayNames[model] || model;
}
/**
* Truncate a description string with ellipsis
*/
export function truncateDescription(description: string, maxLength = 50): string {
if (description.length <= maxLength) {
return description;
}
return `${description.slice(0, maxLength)}...`;
}