Skip to content

Conversation

@sverhoeven
Copy link
Collaborator

Fixes #31
Screenshot from 2025-04-08 14-53-30

@sverhoeven sverhoeven requested a review from Peter9192 April 8, 2025 15:21
Copy link
Member

@Peter9192 Peter9192 left a comment

Choose a reason for hiding this comment

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

I took the liberty of adding some tweaks to the experiment card, please have another look :-)

image

</DropdownMenuItem>
<DropdownMenuItem onSelect={() => setOpenEditDialog(true)}>
<MdiCog />
&nbsp;Edit permutation
Copy link
Member

Choose a reason for hiding this comment

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

I think edit will be the most used action, so perhaps put that one on top here?

<MdiMenu />
{props.perm.name}
</DropdownMenuTrigger>
<DropdownMenuContent>
Copy link
Member

Choose a reason for hiding this comment

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

I think I would prefer to left-align this

<DropdownMenuContent>
<DropdownMenuItem onSelect={() => setOpenDifferenceDialog(true)}>
<MdiLightVectorDifference />
&nbsp;View differences with reference configuration
Copy link
Member

Choose a reason for hiding this comment

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

class="flex gap-2" on the parent gives slightly nicer spacing imo

@Peter9192 Peter9192 merged commit 437c4ef into main Apr 10, 2025
4 checks passed
@Peter9192 Peter9192 deleted the restyle-permutations-31 branch April 10, 2025 11:24
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.

Improve layout experiment card

3 participants