Skip to content

Conversation

@devnaumov
Copy link
Member

closes 4503

@devnaumov devnaumov marked this pull request as ready for review November 30, 2025 20:35
<Group boxNoOverflow>
<TeamsTable teams={table.teams} state={table.state} selectedItems={table.tableState.selected} expandedItems={table.tableState.expanded} />
</Group>
<TableSelectionContext value={selection}>
Copy link
Contributor

@sergeyteleshev sergeyteleshev Dec 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice request! I also suggest syncing with the team on the topic of UI, which has changed from a stretched table to a compact one. I like that we now have more space for something else, but from an aesthetic point of view, I feel something a bit odd compared to the previous UI

Image Image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we should discuss it at UI/UX meeting and then with the next iteration fix issues if we find some

Comment on lines 44 to 51

if (displayAuthRole) {
const isRole = COLUMNS.find(c => c.key === ROLE_COLUMN.key);

if (!isRole) {
COLUMNS.push(ROLE_COLUMN);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (displayAuthRole) {
const isRole = COLUMNS.find(c => c.key === ROLE_COLUMN.key);
if (!isRole) {
COLUMNS.push(ROLE_COLUMN);
}
}
let columns = COLUMNS;
if (displayAuthRole) {
columns = [...COLUMNS, ROLE_COLUMN];
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't mutate constants

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, better to create separate variable inside component and memo it

@devnaumov devnaumov requested a review from Wroud December 1, 2025 17:06
sergeyteleshev
sergeyteleshev previously approved these changes Dec 2, 2025
Wroud
Wroud previously approved these changes Dec 3, 2025
@devnaumov devnaumov dismissed stale reviews from Wroud and sergeyteleshev via 827b087 December 11, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants