-
Notifications
You must be signed in to change notification settings - Fork 248
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
Removed settings.Usernames and reactivate PreferredName #3964
Conversation
Jenkins BuildsClick to see older builds (69)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I logged the issue to remove it from the desktop app implementation, here status-im/status-desktop#12017.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, @qfrank!
Just one question in comments.
15809f4
to
38c23f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update 👍
I also just digged a bit more into this topic and found a good approach for marking deleted fields:
https://protobuf.dev/programming-guides/proto3/#fieldreserved
Feel free to add it or not, I'm just sharing what I found 🙂
6a10c26
to
512685d
Compare
223d215
to
2b6f320
Compare
response := wakusync.WakuBackedUpDataResponse{ | ||
Setting: settingField, | ||
if settingField != nil { | ||
if message.GetType() == protobuf.SyncSetting_PREFERRED_NAME && message.GetValueString() != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qfrank the changes look good, I have only 2 general questions:
- Do we need to display the ens name at all on the login screen or we display the display name and use the preferred ens name after login? (This is more about whether is that a request or not?)
- What in case the user changes the setting or removes the ens name but the backup still refers to the preferred ens name which is not in use anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to display the ens name at all on the login screen or we display the display name and use the preferred ens name after login? (This is more about whether is that a request or not?)
I had the same feeling, and @cammellos made a clarification here
What in case the user changes the setting or removes the ens name but the backup still refers to the preferred ens name which is not in use anymore?
No process in this case , mobile doesn't support remove ENS ATM @saledjenic
1d0edc6
to
9247759
Compare
remove settings.usernames
9247759
to
8cb11a3
Compare
this PR removed
settings.Usernames
and reactivate syncsettings.PreferredName
, mobile will use the same API relate to ens as desktop now, e.g.Register
relate mobile issue
relate mobile PR