Skip to content
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

Merged
merged 9 commits into from
Feb 8, 2022
Merged

Add tooltip #133

merged 9 commits into from
Feb 8, 2022

Conversation

Nazeeh21
Copy link
Member

@Nazeeh21 Nazeeh21 commented Feb 3, 2022

Closes #63

This is a draft PR. Feel free to suggest changes and improvements

@Nazeeh21 Nazeeh21 requested a review from hmrtn February 3, 2022 18:11
@Nazeeh21
Copy link
Member Author

Nazeeh21 commented Feb 7, 2022

@xordist LMKYT on this

<Text color={headingColor} fontSize="5xl">
pay.party
<Tooltip label="Tool to distribute compensation to team members based on democratic principles">
Copy link
Member

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.

Copy link
Member Author

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>
Copy link
Member

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

Copy link
Member Author

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

@Nazeeh21 Nazeeh21 marked this pull request as ready for review February 8, 2022 13:05
hmrtn
hmrtn previously approved these changes Feb 8, 2022
Copy link
Member

@hmrtn hmrtn left a 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

@hmrtn hmrtn merged commit e53261a into develop Feb 8, 2022
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.

UI: Tooltips
2 participants