diff --git a/frontend/src/components/dashboard/BiUniformCard.tsx b/frontend/src/components/dashboard/BiUniformCard.tsx index aea0f09..8cb403d 100644 --- a/frontend/src/components/dashboard/BiUniformCard.tsx +++ b/frontend/src/components/dashboard/BiUniformCard.tsx @@ -16,6 +16,8 @@ import { Trash2, Edit2, GripVertical, + User, + Users, } from 'lucide-react' import type { DashboardV2Card } from '../../lib/userPreferences' import type { Task, Project, Category } from '../../types/task' @@ -557,21 +559,20 @@ export const BiUniformCard: React.FC = ({ {/* Footer: Compact Dimension Tags */}
- {/* Scope Tag */} + {/* Scope Icon (only icon, without background color) */} - {effectiveScope === 'mine' ? '👤 Minhas' : '👥 Equipe'} - {card.scope && card.scope !== 'INHERIT' && ' • fixo'} + {effectiveScope === 'mine' ? ( + + ) : ( + + )} diff --git a/frontend/src/pages/AnalyticsPage.tsx b/frontend/src/pages/AnalyticsPage.tsx index 5c034fb..bb6c971 100644 --- a/frontend/src/pages/AnalyticsPage.tsx +++ b/frontend/src/pages/AnalyticsPage.tsx @@ -373,8 +373,15 @@ export const AnalyticsPage: React.FC = () => {

{formatSecondsToTimer(kpis.totalSecondsTracked)}

- - {selectedMember === 'ALL' ? '👥 Equipe' : '👤 Individual'} + + {selectedMember === 'ALL' ? ( + + ) : ( + + )}

@@ -396,8 +403,15 @@ export const AnalyticsPage: React.FC = () => {

{kpis.completionRate}%

- - {selectedMember === 'ALL' ? '👥 Equipe' : '👤 Individual'} + + {selectedMember === 'ALL' ? ( + + ) : ( + + )}

@@ -419,8 +433,15 @@ export const AnalyticsPage: React.FC = () => {

{kpis.inProgressTasks} tarefas

- - {selectedMember === 'ALL' ? '👥 Equipe' : '👤 Individual'} + + {selectedMember === 'ALL' ? ( + + ) : ( + + )}

@@ -442,8 +463,15 @@ export const AnalyticsPage: React.FC = () => {

{formatSecondsToHuman(kpis.avgSecondsPerCompletedTask)}

- - {selectedMember === 'ALL' ? '👥 Equipe' : '👤 Individual'} + + {selectedMember === 'ALL' ? ( + + ) : ( + + )}

diff --git a/frontend/src/pages/DashboardPage.tsx b/frontend/src/pages/DashboardPage.tsx index 478a1b0..d9cd343 100644 --- a/frontend/src/pages/DashboardPage.tsx +++ b/frontend/src/pages/DashboardPage.tsx @@ -436,8 +436,15 @@ export const DashboardPage: React.FC = () => {

{stats.inProgress}

- - {viewScope === 'mine' ? '👤 Minhas' : '👥 Equipe'} + + {viewScope === 'mine' ? ( + + ) : ( + + )}

@@ -463,8 +470,15 @@ export const DashboardPage: React.FC = () => {

{stats.completed}

- - {viewScope === 'mine' ? '👤 Minhas' : '👥 Equipe'} + + {viewScope === 'mine' ? ( + + ) : ( + + )}

@@ -490,8 +504,15 @@ export const DashboardPage: React.FC = () => {

{formatSecondsToTimer(stats.totalSeconds)}

- - {viewScope === 'mine' ? '👤 Minhas' : '👥 Equipe'} + + {viewScope === 'mine' ? ( + + ) : ( + + )}

@@ -517,8 +538,15 @@ export const DashboardPage: React.FC = () => {

{stats.projectsCount}

- - {viewScope === 'mine' ? '👤 Minhas' : '👥 Equipe'} + + {viewScope === 'mine' ? ( + + ) : ( + + )}