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

Feature: Omen Airdrop Popup Modal Version 2 #2220

Closed
wants to merge 33 commits into from
Closed

Conversation

Frankaus
Copy link
Contributor

@Frankaus Frankaus commented Aug 24, 2021

closes #2170
closes #2230

Created Dai warning banner if user has not funded his account with Dai. Added texts and removed the check address functionality.

Testing

  • Banner should be visible for users who have not funded their Omen Account with Dai
  • Claim button should be disabled if user has not funded their Omen Account with Dai
  • Banner should not be visible if the user has Dai in their Omen Account

@Frankaus Frankaus self-assigned this Aug 24, 2021
@Frankaus Frankaus requested review from Mi-Lan and pimato August 25, 2021 12:46
@Frankaus Frankaus marked this pull request as ready for review August 25, 2021 12:50
@Frankaus Frankaus marked this pull request as draft August 25, 2021 13:51
@Frankaus Frankaus removed the request for review from Mi-Lan August 25, 2021 13:55
@Frankaus Frankaus marked this pull request as ready for review August 25, 2021 16:16
@Frankaus Frankaus requested a review from Mi-Lan August 25, 2021 16:16
Copy link
Contributor

@Mi-Lan Mi-Lan left a comment

Choose a reason for hiding this comment

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

@Frankaus Hey men I wen't through it once briefly and played around. I would suggest going through it all again and try to implement what I wrote. You have lots of stuff that its not necessary and just adds extra lines for no reason...

app/src/components/modal/modal_airdrop/index.tsx Outdated Show resolved Hide resolved
app/src/components/modal/modal_airdrop/index.tsx Outdated Show resolved Hide resolved
app/src/components/modal/modal_airdrop/index.tsx Outdated Show resolved Hide resolved
app/src/components/modal/modal_airdrop/index.tsx Outdated Show resolved Hide resolved
app/src/components/modal/modal_airdrop/index.tsx Outdated Show resolved Hide resolved
app/src/components/modal/common_styled/index.tsx Outdated Show resolved Hide resolved
@Frankaus Frankaus marked this pull request as draft August 26, 2021 08:34
@Frankaus Frankaus marked this pull request as ready for review August 26, 2021 12:50
@@ -83,7 +84,7 @@ export const ModalAirdrop = (props: Props) => {
<IconClose hoverEffect={true} onClick={onClose} />
</ModalNavigation>
<Graphic />
<TYPE.heading2 color={'text1'} fontWeight={500} margin={'32px 0px 12px'}>
<TYPE.heading2 color={'text1'} fontWeight={500} margin={'24px 0px 12px'}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I edited the margin top here to 24px because the Graphic above has a margin bottom of 8px. So together they add up to 32px as per the figma design

@Frankaus Frankaus requested a review from Mi-Lan August 26, 2021 12:59
@pimato
Copy link
Contributor

pimato commented Aug 27, 2021

Testing

  • Banner should be visible for users who have not funded their Omen Account with Dai
  • Claim button should be disabled if user has not funded their Omen Account with Dai
  • Banner should not be visible if the user has Dai in their Omen Account

@Frankaus Frankaus requested a review from Mi-Lan August 30, 2021 13:38
Copy link
Contributor

@Mi-Lan Mi-Lan left a comment

Choose a reason for hiding this comment

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

LGTM! GJ man!

@Frankaus Frankaus closed this Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants