Group - Group Created Offline, Shows Members Emails On LHN And Members Names On Search.
Introduction
In this article, we will discuss a critical issue related to group creation in the Expensify app. When a group is created offline, it shows members' emails on the Left Hand Navigation (LHN) and members' names on the search section. This issue is reproducible on both staging and production environments, and it affects the user experience of the app.
Issue Description
The issue occurs when a user creates a group offline, adds one or more users who are not part of the "Recents" or "Contacts" list, and finishes the group creation flow. Once the user is redirected to the conversation, sends a message to keep the chat from disappearing from the LHN, navigates to the LHN, and then turns on the internet connection. After recovering the internet connection, the group's name shows members' emails on the LHN, and the members' names on the search section.
Steps to Reproduce
To reproduce this issue, follow these steps:
- Open the Expensify app.
- Turn off the internet connection.
- Tap on the Floating Action Button (FAB) and select "Start Chat."
- Add one or more users who are not part of the "Recents" or "Contacts" list.
- Finish the group creation flow.
- Once redirected to the conversation, send a message to keep the chat from disappearing from the LHN.
- Navigate to the LHN.
- Turn on the internet connection.
- Once the connection is recovered, note that the group's name shows members' emails.
- Tap on the search icon on the top right corner.
- Note that the group's name shows members' names.
Expected Result
The expected result is that when recovering the internet connection after creating a group, the group's name should display the added members' names both on the LHN and on the search section.
Actual Result
The actual result is that when recovering the internet connection after creating a group, the group's name shows members' emails on the LHN and the members' names on the search section. The group's name changes to members' names on the LHN after opening the chat.
Workaround
Unfortunately, there is no known workaround for this issue.
Platforms
This issue is reproducible on the following platforms:
- Android: Standalone
- Android: HybridApp
- Android: mWeb Chrome
- iOS: Not applicable
- MacOS: Not applicable
Screenshots/Videos
A screenshot of the issue can be found at the following link:
https://github.com/user-attachments/assets/2ec179b7-2162-4c1f-9c7a-4a4d103cea13
Conclusion
In conclusion, this issue affects the user experience of the Expensify app by showing members' emails on the LHN and members' names on the search section when a group is created offline. This issue is reproducible on both staging and production environments, and it requires immediate attention to resolve.
Recommendations
To resolve this issue, we recommend the following:
- Investigate the cause of the issue and identify the root cause.
- Develop a fix to display the correct group name on the LHN and search section.
- Test the fix thoroughly to ensure that it resolves the issue.
- Deploy the fix to production to resolve the issue for all users.
Contributing Guidelines
If you are interested in contributing to the Expensify app, please refer to our contributing guidelines at the following link:
https://github.com/Expensify/ReactNativeChat/blob/main/contributingGuides/CONTRIBUTING.md
You can also email contributors@expensify.com to request to join our Slack channel.
Related Issues
If you are experiencing similar issues or have questions related to this issue, please refer to the following link:
https://github.com/Expensify/App/issues?q=is%3Aopen+is%3Aissue+label%3A"Help+Wanted"
Introduction
In our previous article, we discussed a critical issue related to group creation in the Expensify app. When a group is created offline, it shows members' emails on the Left Hand Navigation (LHN) and members' names on the search section. In this article, we will provide a Q&A section to address common questions related to this issue.
Q: What is the cause of this issue?
A: The cause of this issue is not yet identified. However, it is believed to be related to the way the app handles group creation and data synchronization when the internet connection is lost and then recovered.
Q: Is this issue specific to the Expensify app?
A: No, this issue is not specific to the Expensify app. However, it is a critical issue that affects the user experience of the app.
Q: How can I reproduce this issue?
A: To reproduce this issue, follow these steps:
- Open the Expensify app.
- Turn off the internet connection.
- Tap on the Floating Action Button (FAB) and select "Start Chat."
- Add one or more users who are not part of the "Recents" or "Contacts" list.
- Finish the group creation flow.
- Once redirected to the conversation, send a message to keep the chat from disappearing from the LHN.
- Navigate to the LHN.
- Turn on the internet connection.
- Once the connection is recovered, note that the group's name shows members' emails.
- Tap on the search icon on the top right corner.
- Note that the group's name shows members' names.
Q: What is the expected result?
A: The expected result is that when recovering the internet connection after creating a group, the group's name should display the added members' names both on the LHN and on the search section.
Q: What is the actual result?
A: The actual result is that when recovering the internet connection after creating a group, the group's name shows members' emails on the LHN and the members' names on the search section. The group's name changes to members' names on the LHN after opening the chat.
Q: Is there a workaround for this issue?
A: Unfortunately, there is no known workaround for this issue.
Q: Which platforms are affected by this issue?
A: This issue is reproducible on the following platforms:
- Android: Standalone
- Android: HybridApp
- Android: mWeb Chrome
- iOS: Not applicable
- MacOS: Not applicable
Q: Can I contribute to resolving this issue?
A: Yes, you can contribute to resolving this issue. If you are interested in contributing to the Expensify app, please refer to our contributing guidelines at the following link:
https://github.com/Expensify/ReactNativeChat/blob/main/contributingGuides/CONTRIBUTING.md
You can also email contributors@expensify.com to request to join our Slack channel.
Q: Where can I find related issues?
A: If you are experiencing similar issues or have questions related to this issue, please refer to the following link:
https://github.com/Expensify/App/issues?q=is%3Aopen+is%3Aissue+label%3A"Help+Wanted"
This link provides a list of open issues related to the Expensify app, including issues that are labeled as "Help Wanted."
Conclusion
In conclusion, this Q&A section provides answers to common questions related to the group creation issue in the Expensify app. We hope that this information is helpful in resolving this issue and improving the user experience of the app.