-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add tooltip #133
Add tooltip #133
Conversation
@xordist LMKYT on this |
<Text color={headingColor} fontSize="5xl"> | ||
pay.party | ||
<Tooltip label="Tool to distribute compensation to team members based on democratic principles"> |
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.
I do not think this is a necessary tooltip and should probably be removed before merging.
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.
Removed
@@ -121,7 +122,7 @@ const Create = ({ address, mainnetProvider, userSigner, tx, readContracts, write | |||
/> | |||
</Box> | |||
<FormLabel pl="2" pt="2"> | |||
Voters:{" "} | |||
<Tooltip label="Voters are persons who vote for the candidates">Voters: </Tooltip> |
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.
It would be great to see this (and the other labels) have a small question mark button next to the text, that on hover shows helpful information e.g see icons: https://chakra-ui.com/docs/media-and-icons/icon
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.
I've added a question mark icon that will show the tooltip on hover. LMK if more changes are required
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.
Looks good. Gonna make some edits around the UI
Closes #63
This is a draft PR. Feel free to suggest changes and improvements