feat(task-filters): enhance localization and UI for task filters
- Added new translation keys for task filter functionalities across multiple languages, improving user experience and accessibility. - Updated the ImprovedTaskFilters component to utilize localized strings for search placeholders, loading states, and filter messages. - Enhanced styling for filter buttons and dropdowns to ensure consistency in both light and dark modes. - Introduced a description column in task management components, improving the display of task details.
This commit is contained in:
@@ -352,6 +352,24 @@ const TaskRow: React.FC<TaskRowProps> = memo(({ taskId, projectId, visibleColumn
|
||||
</div>
|
||||
);
|
||||
|
||||
case 'description':
|
||||
return (
|
||||
<div style={baseStyle} className="px-2">
|
||||
<div
|
||||
className="text-sm text-gray-600 dark:text-gray-400 truncate"
|
||||
style={{
|
||||
whiteSpace: 'nowrap',
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
maxHeight: '24px',
|
||||
lineHeight: '24px',
|
||||
}}
|
||||
title={task.description || ''}
|
||||
dangerouslySetInnerHTML={{ __html: task.description || '' }}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
case 'status':
|
||||
return (
|
||||
<div style={baseStyle}>
|
||||
|
||||
Reference in New Issue
Block a user