-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: connect to upgrade-personal-to-team API #WPB-11992 #3103
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 3192 Passed, 107 Skipped, 34.05s Total Time |
…o feature/upgrade-persona-team-api
…o feature/upgrade-persona-team-api
…o feature/upgrade-persona-team-api
logic/src/commonMain/kotlin/com/wire/kalium/logic/data/user/UserRepository.kt
Outdated
Show resolved
Hide resolved
} | ||
|
||
sealed class MigrateFromPersonalToTeamResult { | ||
data class Success(val teamId: String, val teamName: String) : MigrateFromPersonalToTeamResult() |
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 pass to the app teamId
and teamName
?, the app is already having those values
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.
Removed id as we don't use it. Left the team name and updated the state just in case API somehow changed the name
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.
Yeah but API should not change a name provided by the user
logic/src/commonMain/kotlin/com/wire/kalium/logic/data/user/UserRepository.kt
Outdated
Show resolved
Hide resolved
...commonMain/kotlin/com/wire/kalium/network/api/v4/authenticated/UpgradePersonalToTeamApiV4.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Oussama Hassine <[email protected]>
…re/upgrade-persona-team-api
…sona-team-api' into feature/upgrade-persona-team-api
…re/upgrade-persona-team-api # Conflicts: # network/src/commonMain/kotlin/com/wire/kalium/network/api/v7/authenticated/networkContainer/AuthenticatedNetworkContainerV7.kt
Quality Gate passedIssues Measures |
Bencher Report
Click to view all benchmark results
|
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Adds calls to the API when migrating from personal to team account.
Needs releases with:
Testing
Test Coverage (Optional)
Work in Progress
How to Test
To test you need to switch to anta
https://wearezeta.atlassian.net/wiki/spaces/ENGINEERIN/pages/300351887/Testing+environments+for+federation#anta
The html with deeplinks switching can be downloaded here. You must logout first before switching. https://wearezeta.atlassian.net/wiki/spaces/ENGINEERIN/pages/300351887/Testing+environments+for+federation#anta
To get signup code you must read the email from inbucket.
Password is on 1password.
Then:
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.