Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Claim invest general error msg #2254

Merged
merged 3 commits into from
Jan 22, 2022
Merged

Conversation

alfetopito
Copy link
Contributor

Summary

Waterfalls onto #2250

Hide/show investment error msg when there are errors
Also updated the msg to be more general.

Screen Shot 2022-01-21 at 15 15 47

Of course feel free to suggest something else

To Test

  1. Try to claim something paid and make sure to fail the validation

@alfetopito alfetopito self-assigned this Jan 21, 2022
@alfetopito alfetopito requested review from a team January 21, 2022 23:16
@github-actions
Copy link
Contributor

  • 🔭 GP Swap: CoW Protocol v2 Swap UI

Copy link
Contributor

@nenadV91 nenadV91 left a comment

Choose a reason for hiding this comment

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

👌

@fairlighteth
Copy link
Contributor

Looks good. Wonder if we should summarize all the errors below. But probably overkill in the end 👍🏼

Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

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

it works for me!

I think this solution is good enough 💪

@anxolin
Copy link
Contributor

anxolin commented Jan 22, 2022

Looks good. Wonder if we should summarize all the errors below. But probably overkill in the end 👍🏼

I had the same thought. But there's also value in keeping the message short. And the other errors are self explanatory

Base automatically changed from disable-claim-review-on-zero-or-not-approved to develop January 22, 2022 18:06
@alfetopito alfetopito force-pushed the claim-invest-general-error-msg branch from e491742 to 777afa6 Compare January 22, 2022 18:34
@alfetopito alfetopito added the Auto-merge PRs with this tag will be automatically merged when approved and CI succeeds label Jan 22, 2022
@mergify mergify bot merged commit ca3b4bd into develop Jan 22, 2022
@alfetopito alfetopito deleted the claim-invest-general-error-msg branch January 22, 2022 19:48
@elena-zh
Copy link

LGTM!

maria-vslvn pushed a commit that referenced this pull request Jan 25, 2022
Adds a en-space to StyledPollingNumber so it is always painted. Fixes a layout shift when rendering the first block number.
StyledPollingNumber is taller than its container, so waiting to paint it causes a layout shift when rendering.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Auto-merge PRs with this tag will be automatically merged when approved and CI succeeds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants