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

Password/pin tabs #8

Merged
merged 100 commits into from
Aug 31, 2019

Conversation

quacklabs
Copy link

  • changed look of password pin tab
  • created a custom input field with floating label
  • removed all old components

quacklabs and others added 30 commits May 17, 2019 10:11
- Fixed bug where app crashed once input went beyond 5 characters by setting maximum characters to 5
- Resolved PIn strength meter issue by toggling its visibility on PIN commit button action.
Changes suggested on review of Pull request #2
- Updated Cocoapods
- fixed typos
- removed unneccesary spaces
- changed maximum Int to LONG_MAX
- Moved layer clear block to draw function
- remove unneccessary type casting on pin lable to improve performance
- changed remove from superview block to use an array map style instead
- Removed unwanted comments
- Added comments to lines needing clarification.
- refactored drawPinLabel to accept an argument containing label bounds
- moved subview removal to before didSetDisplay() block
- Added border around active tab on selection
- Remove border around inactive tab on selection of other tab
- Fixed bug where app crashed once input went beyond 5 characters by setting maximum characters to 5
- Resolved PIn strength meter issue by toggling its visibility on PIN commit button action.
Changes suggested on review of Pull request #2
- Updated Cocoapods
- fixed typos
- removed unneccesary spaces
- changed maximum Int to LONG_MAX
- Moved layer clear block to draw function
- remove unneccessary type casting on pin lable to improve performance
- changed remove from superview block to use an array map style instead
- Removed unwanted comments
- Added comments to lines needing clarification.
- refactored drawPinLabel to accept an argument containing label bounds
- moved subview removal to before didSetDisplay() block
- Added border around active tab on selection
- Remove border around inactive tab on selection of other tab
- Fixed bug where app crashed once input went beyond 5 characters by setting maximum characters to 5
- Resolved PIn strength meter issue by toggling its visibility on PIN commit button action.
Changes suggested on review of Pull request #2
- Updated Cocoapods
- fixed typos
- removed unneccesary spaces
- changed maximum Int to LONG_MAX
- Moved layer clear block to draw function
- remove unneccessary type casting on pin lable to improve performance
- changed remove from superview block to use an array map style instead
- Removed unwanted comments
- Added comments to lines needing clarification.
- refactored drawPinLabel to accept an argument containing label bounds
- moved subview removal to before didSetDisplay() block
- Added border around active tab on selection
- Remove border around inactive tab on selection of other tab
* Fixed issue 384

- Added border color key/value attribute to password & pin tabs on storyboard
- added code to change border width on tab activation

* deleted decred_wallet.xcworkspace

- deleted decred_wallet.xcworkspace

* Updated PIN/Password tab

- set PIN & Password tab buttons to custom Button class and checked it can be used in storyboard OK
- set the button border color

* Fixed issue 384

- Added border color key/value attribute to password & pin tabs on storyboard
- added code to change border width on tab activation

* deleted decred_wallet.xcworkspace

- deleted decred_wallet.xcworkspace

* Updated PIN/Password tab

- set PIN & Password tab buttons to custom Button class and checked it can be used in storyboard OK
- set the button border color

* Fixed PIN/Password Tab accessibility

- added border to bottom and right or left
- created function extending projects Button class to add or remove borders accordingly

* refactor

* cleanup
* remove unused testnet switch, remove save/cancel buttons

* cleanup

* change Incoming Transaction Notification setting option layout

* set compression resistance priority to make label shrink first

* delete irrelevant entries from gitignore
* Set password field as first responder

* add self on button call

* fix typo in comment
* new send page in progress

* done with page validations

* send refactor complete

* cleanup

* send confirm - return toproceed

* send confirm - return to proceed

* more cleanup

* move files around

* fix send max

* ok and view buttons on send success

* use single instance of send page to retain view state

* don't hide exchange rate label when re-fetching

* don't hide usd amount field when re-fetching

* correct send amount verification, make amount reduce font size if necessary

* resolve send max issues

* unset exchange rate value if setting is changed to no exchange rate

* punctuate error message

* punctuate error message

* capitalize exchange rate text in error display, add punctuation
@quacklabs
Copy link
Author

Screenshots before changes
Screenshot 2019-08-23 at 10 50 05
Screenshot 2019-08-23 at 10 50 16

Screenshots after changes:
Screenshot 2019-08-23 at 10 54 55
Screenshot 2019-08-23 at 10 55 11

@itswisdomagain itswisdomagain changed the base branch from master to pin/password-new-ui August 31, 2019 20:43
@itswisdomagain itswisdomagain merged commit 82b0b1b into itswisdomagain:pin/password-new-ui Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants