-
Notifications
You must be signed in to change notification settings - Fork 2.6k
misc(ui): image/asset tab tooltips, icon to rename board, getting started text #7067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
{isHovering && ( | ||
<IconButton | ||
aria-label="edit name" | ||
icon={<PiPencilBold />} | ||
size="sm" | ||
variant="ghost" | ||
onClick={isEditing.setTrue} | ||
/> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed? You can click the board title to edit it. Maybe the trigger to edit a board title should be a single click instead, would that not serve the need better than adding more buttons?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this introduces a race condition (ish) where the icon doesn't disappear.
Screen.Recording.2024-10-09.at.6.55.56.am.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I think there's just a typo in the PR description - mentions right-click but it actually means double-click, all good. I'll tidy up the minor issues I've mentioned in a followup or you can if you want
> | ||
{localTitle} | ||
</Text> | ||
<Flex alignItems="center" gap={1} onMouseOver={handleMouseOver} onMouseOut={handleMouseOut}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Flex alignItems="center" gap={1} onMouseOver={handleMouseOver} onMouseOut={handleMouseOut}> | |
<Flex alignItems="center" gap={3} onMouseOver={handleMouseOver} onMouseOut={handleMouseOut}> |
<IconButton | ||
aria-label="edit name" | ||
icon={<PiPencilBold />} | ||
size="sm" | ||
variant="ghost" | ||
onClick={isEditing.setTrue} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
variant="link"
with alignSelf="stretch"
looks better here (and no need to change the gap bc its kinda built-in to the button)
Summary
Misc UI:
Related Issues / Discussions
QA Instructions
Merge Plan
Checklist