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

Enhance file remove modal #3069

Merged
merged 3 commits into from
Oct 23, 2019
Merged

Enhance file remove modal #3069

merged 3 commits into from
Oct 23, 2019

Conversation

brentmclark
Copy link
Contributor

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe: Improvement

Fixes

Issue Number: #895

What is the current behavior?

Checkboxes with undesirable copy and no warning when the claim is not selected for removal.

What is the new behavior?

Checkboxes with desired copy and a warning when the claim is not selected for removal.


New UI

with claim checked

With checkbox unchecked

without claim checked

@neb-b
Copy link

neb-b commented Oct 17, 2019

Thanks! I'll give this a closer review once we release 0.37

@brentmclark
Copy link
Contributor Author

Thanks! I'll give this a closer review once we release 0.37

Ideally some time yet in October?

@neb-b
Copy link

neb-b commented Oct 17, 2019 via email

@tzarebczan
Copy link
Contributor

@brentmclark, thanks for the PR! Congrats on the first one here :)

Can we show you some appreciation for the contribution?

Also, we're giving away some Hacktoberfest bonuses and goodies for this month. We'll send you the information when you reach out to us.

@brentmclark
Copy link
Contributor Author

Thank you @tzarebczan!

Copy link

@neb-b neb-b left a comment

Choose a reason for hiding this comment

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

Sorry this took so long. Just one comment. This looks great!

<div>
<FormField
name="claim_abandon"
label={`${__('Abandon on blockchain')} (${__('reclaim')} ${claim.amount} ${__('LBC')})`}
Copy link

Choose a reason for hiding this comment

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

To work better with other language strings, this should be:
__("Abandon on blockchain (reclaim %amount% LBC)", { amount: claim.amount })

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That makes sense to me. Updated!

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.

3 participants