48016 frontend [ workflows ] keep performer avatars circular in table view#263
Open
aicarma-artyom-maslov wants to merge 6 commits into
Open
48016 frontend [ workflows ] keep performer avatars circular in table view#263aicarma-artyom-maslov wants to merge 6 commits into
aicarma-artyom-maslov wants to merge 6 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5f93f13. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Low Risk
Frontend layout and table column sizing only; no auth, API, or data-layer changes.
Overview
Fixes performer avatar stacks in the workflows table so images stay 20×20 circles (
border-radius,object-fit: cover,flex-shrink: 0) instead of stretching in tight columns. The same avatar hardening is applied in workflow card users, shared Avatarimgstyles, and comment avatars in the workflow log.Adds
getPerformersAvatarsWidthto size overlapping stacks (20px avatars, 4px overlap). The performer column default/min width uses that helper (5 avatars) instead of a flat 80px, andWorkflowsTablegrows width/minWidth from the maxselectedUserscount across loaded rows. Saved performer widths in state only increase when the computed minimum is larger, and column widths refresh on next-page loads as well as when fully loaded.Reviewed by Cursor Bugbot for commit 33a00f1. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Fix performer avatars to remain circular and correctly sized in workflow table view
flex-shrink: 0andobject-fit: coverto avatar elements across workflow log comments, comment fields, and the card users component so avatars maintain their circular shape in flex layouts.getPerformersAvatarsWidthutility to calculate the total width for N overlapping 20px avatars, and uses it to set the performer column width dynamically based on the maximum performer count in the current dataset (replacing the previous fixed 80px with a computed 84px default for 5 avatars).max-width: 100%to the performer column container to prevent overflow.Macroscope summarized 33a00f1.