status-react/translations
Icaro Motta 24b77811d8
fix(profile)_: Fallback to old profile name after migration from v1 (#20412)
This is a byproduct of the investigation on issue
https://github.com/status-im/status-mobile/issues/20203, more specifically, to
double-check if v1 users have their display names shown correctly.

Closes https://github.com/status-im/status-mobile/issues/20203

This is the scenario used to reproduce the bugs this PR is solving:

1. Alice creates an account in v1 (branch release/1.20.x).
2. Alice had 1 friend to chat with, Carol.
3. Alice sends and receives at least one message from Carol.
4. Alice installs the new app (latest develop branch suffices).
5. Alice login and try to edit her profile, but her 3-word name is not displayed
   in the Settings > Edit Profile screen, nor in the Settings > Edit profile >
   Name input field.
6. Alice also opens her chat with Carol, but her name appears as a public key
   instead of her 3-word name she identifies herself with.

The solution presented here is to just fallback to Alice's 3-word name (name
field in the profile/contact app-db instance).

Areas that may be impacted

- Edit profile name.
- Name displayed in chats from the perspective of the sender who migrated from
  v1.

Steps to test

In order to test this PR, it's necessary to migrate from v1 to v2 using two
separate builds. The v1 build can be obtained in PR
https://github.com/status-im/status-mobile/pull/20123. v2 build can be any one
from develop from today, for example.
2024-06-17 18:25:05 -03:00
..
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2019-09-20 13:07:11 +02:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2019-09-20 13:07:11 +02:00
2020-04-17 10:29:41 +02:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00
2023-12-11 14:42:41 +01:00