feat: Start/Open one to one conversation with apps (WPB-25307)#4838
Open
alexandreferris wants to merge 4 commits into
Open
feat: Start/Open one to one conversation with apps (WPB-25307)#4838alexandreferris wants to merge 4 commits into
alexandreferris wants to merge 4 commits into
Conversation
- Route Apps and old Bots from conversation messages and one2one conversations to ServiceDetailsScreen - Carry typed sender identity through message mapping and markdown mentions to distinguish users, new Apps and old bots - Open service details from new-conversation search results, switching between app and bot IDs based on apps availability - Show Start/Open Conversation actions for app service details when apps are enabled and no group context is present - Add service-details logic to detect existing one-to-one app conversations and reuse or create them on demand Signed-off-by: alexandreferris <ferris.alexandre@gmail.com>
- Add tests for ServiceDetailsViewModel - Adjust existing tests to add senderId(MessageSenderId) Signed-off-by: alexandreferris <ferris.alexandre@gmail.com>
- Adjust base mocks for OneToOneConversations in withMockConversationDetailsOneOnOne Signed-off-by: alexandreferris <ferris.alexandre@gmail.com>
- Remove TODO and update `BackStackMode` to `.UPDATE_EXISTED` Signed-off-by: alexandreferris <ferris.alexandre@gmail.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


https://wearezeta.atlassian.net/browse/WPB-25307
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764The PR Description
What's new in this PR?
Issues
Causes (Optional)
Not implemented and left over from previous implementations (left out due to v4.25 release focus)
Solutions
Now everywhere an App (or old bot) is visible to be clicked, it will open Service Details screen (and decide if shows the open/start 1:1 conversation buttons)
Previous existing flows to open Service Details screen remains the same and shows the Add/Remove from group conversation buttons.
For the new flows (as it doesn't have a specific group conversation), it will decide to show or not the open/create 1:1 conversation based on:
Testing
Test Coverage (Optional)
How to Test
Proteus Team + old bots
MLS Team + Apps feature flag enabled
For when Apps feature flag is DISABLED, buttons will be hidden but details of the App will still be visible
Attachments (Optional)
Old bot from Group conversation
Old bot from new conversation flow / message in group
App from group conversation
App with feature flag enabled
App with feature flag disabled