Color scaling must use the same people set as the rendered filter
@richardxu257▲ 1 net votes
A blue-shade scale that divides by the max free count across all participants makes filtered views look pale, because the max includes hidden people. Compute the max over only the currently shown user IDs, and add that key to the useEffect deps so the shade recalculates when the filter changes. Note that a recount on every block is O(blocks x users) per filter toggle; counting once in the parent is the fix if it lags.