Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Trim spaces from AddressInput#1142

Merged
mmv08 merged 13 commits intodevelopmentfrom
feature/remove-spaces
Jul 29, 2020
Merged

Trim spaces from AddressInput#1142
mmv08 merged 13 commits intodevelopmentfrom
feature/remove-spaces

Conversation

@dasanra
Copy link
Collaborator

@dasanra dasanra commented Jul 22, 2020

Closes #1027

Remove lead/end white spaces in address input fields

@dasanra dasanra requested a review from matextrem July 22, 2020 16:24
@dasanra dasanra self-assigned this Jul 22, 2020
@dasanra dasanra added the Bug 🐛 Something isn't working label Jul 22, 2020
@matextrem matextrem self-assigned this Jul 22, 2020
@matextrem matextrem added this to the Sprint 9 milestone Jul 22, 2020
@github-actions
Copy link

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 14 0
Ignored 0 N/A
  • Result: ✅ success

  • Annotations: 14 total


[warning] @typescript-eslint/explicit-module-boundary-types

Require explicit return and argument types on exported functions' and classes' public class methods


Report generated by eslint-plus-action

@github-actions
Copy link

github-actions bot commented Jul 22, 2020

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 17 0
Ignored 0 N/A
  • Result: ✅ success

  • Annotations: 17 total


[warning] @typescript-eslint/explicit-module-boundary-types

Require explicit return and argument types on exported functions' and classes' public class methods


Report generated by eslint-plus-action

@ghost
Copy link

ghost commented Jul 22, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

1 similar comment
@ghost
Copy link

ghost commented Jul 22, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@matextrem matextrem requested review from fernandomg and mmv08 July 22, 2020 17:55
@ghost
Copy link

ghost commented Jul 22, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

Copy link
Contributor

@fernandomg fernandomg left a comment

Choose a reason for hiding this comment

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

Looking good.

There's only one place where it still not working, in the Assets->Coins/Manage List, when trying to add a custom token:

image

@matextrem matextrem requested a review from fernandomg July 23, 2020 15:01
@ghost
Copy link

ghost commented Jul 23, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@dasanra
Copy link
Collaborator Author

dasanra commented Jul 23, 2020

Just in case, I'm currently working on this changes

@dasanra dasanra added the WIP label Jul 23, 2020
@ghost
Copy link

ghost commented Jul 24, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@dasanra dasanra removed the WIP label Jul 27, 2020
@ghost
Copy link

ghost commented Jul 27, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

placeholder?: string
inputAdornment?: { endAdornment: React.ReactElement } | undefined
testId: string
validators?: Array<(data: string) => string>
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm having difficulties integrating it. This type doesn't fit 100% with current implementation. I'm having issues to use it with an empty array

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Found the issue why it wasn't working. I was using it wrong. Now it's working

@francovenica
Copy link
Contributor

francovenica commented Jul 27, 2020

Checked

  • Load safe
  • Send funds
  • Send collectibles
  • Contract interaction (Both forms)
  • Address book when you add new entries
  • Add owner, replace owner
  • Create safe when you add owners

The one that Fer pointed out later is still missing to be fixed, the one in the "Add custom apps" form

@ghost
Copy link

ghost commented Jul 27, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@ghost
Copy link

ghost commented Jul 28, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@ghost
Copy link

ghost commented Jul 28, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@dasanra
Copy link
Collaborator Author

dasanra commented Jul 28, 2020

@fernandomg is ready for review

@francovenica
Copy link
Contributor

The "Add custom app" input was fixed.
Looks good to me

@ghost
Copy link

ghost commented Jul 29, 2020

Travis automatic deployment:
https://pr1142--safereact.review.gnosisdev.com/app

@mmv08 mmv08 merged commit 89c1718 into development Jul 29, 2020
@mmv08 mmv08 deleted the feature/remove-spaces branch July 29, 2020 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore trailing/leading spaces on input fields

5 participants