-
-
- Contributor Workload & Burnout Risks
-
+ {/* Header & Title */}
+
+
+
+
+ Contributor Workload & Burnout Risks
+
+
+ Showing {filteredAndSortedContributors.length} of {contributors.length}
+
+
+
+ {/* Search & High Risk Toggle Controls */}
+
+
+ setSearchQuery(e.target.value)}
+ className="w-full pl-8 pr-7 py-1.5 rounded-xl border border-black/10 dark:border-white/10 bg-white/80 dark:bg-[#121212]/80 text-xs text-gray-900 dark:text-white placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-indigo-500"
+ />
+
+ {searchQuery && (
+
+ )}
+
+
+
+
+ {/* Table Container */}
-
- | Contributor |
- Workload Share |
+
+ |
+
+ |
+
+
+
+ |
+
Weekly Activity (12w) |
- Intensity Weeks |
- Rest Weeks |
- Burnout Risk |
+
+
+
+ |
+
+
+
+ |
+
+
+
+ |
+
- {contributors.map((c, i) => (
+ {filteredAndSortedContributors.map((c, i) => (
{/* Contributor Profile */}
@@ -188,6 +378,28 @@ export default function BurnoutRiskTable({ contributors }: BurnoutRiskTableProps
))}
+
+ {/* Empty State */}
+ {filteredAndSortedContributors.length === 0 && (
+
+
+
+ No contributors match your filters
+
+
+ Try adjusting your search terms or toggling off "High Risk Only".
+
+
+
+ )}
);