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

Editable profile screen #185

Merged
merged 1 commit into from
Aug 8, 2016
Merged

Editable profile screen #185

merged 1 commit into from
Aug 8, 2016

Conversation

alwx
Copy link
Contributor

@alwx alwx commented Aug 4, 2016

  • new my-profile screen
  • ability to edit profile data
  • ability to update status (we save it internally for now)
  • ability to change profile picture (from camera or gallery)
  • enhanced way of storing profile-related data in realm and internal state db

Fixes #182

@alwx alwx self-assigned this Aug 4, 2016
@alwx alwx added ready and removed in progress labels Aug 4, 2016
@rasom
Copy link
Contributor

rasom commented Aug 4, 2016

https://zpl.io/22nSfB

account {:public-key public-key
:address address
:name address
:phone ""
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just ignore that values if they are empty?

@rasom rasom added in progress and removed ready labels Aug 4, 2016
@alwx alwx force-pushed the feature/profile-screen branch 2 times, most recently from c86088d to 314e375 Compare August 4, 2016 14:55
@alwx alwx added ready and removed in progress labels Aug 4, 2016
@alwx
Copy link
Contributor Author

alwx commented Aug 5, 2016

@rasom this issue seems to be an issue with react-native-camera, because we don't control the process of capturing photo

@rasom
Copy link
Contributor

rasom commented Aug 5, 2016

photo-path :photo-path
phone :phone
status :status
:as account} @(subscribe [:get-current-account])
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not a correct way to subscriptions usage and views definition in re-frame. We have to follow form-2 here as everywhere. In result, this view will be slower than it could be.
As example, it can be done this way d61b8c0

@rasom
Copy link
Contributor

rasom commented Aug 5, 2016

@alwx please, check all view functions whether they follow form-1,form-2 or form-3 from https://github.com/Day8/re-frame/wiki/Creating%20Reagent%20Components or use defview (which expands to form-2).

* ability to edit profile data
* ability to update status (we save it internally for now)
* ability to change profile picture (from camera or gallery)
* enhanced way of storing profile-related data in realm and internal state db
@alwx
Copy link
Contributor Author

alwx commented Aug 6, 2016

@rasom fixed.

@rasom rasom merged commit 05798fc into develop Aug 8, 2016
@0xc1c4da 0xc1c4da removed the ready label Aug 8, 2016
@rasom rasom deleted the feature/profile-screen branch August 8, 2016 05:51
0xc1c4da pushed a commit that referenced this pull request Jan 5, 2017
Editable profile screen

Former-commit-id: 05798fc
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