Skip to content
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: Create team upgrade flow (WPB-11268) #3517

Merged
merged 15 commits into from
Oct 23, 2024
Merged

Conversation

ohassine
Copy link
Member

@ohassine ohassine commented Oct 16, 2024

StoryWPB-11268 [Android] Start and follow team creation flow for personal users


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Description

A follow up PR of #3497

This PR creates the flow that allow the user to migrate from personal to team account.

I created a new navGraph PersonalToTeamMigrationNavGraph so we can display all steps in it.
And for all the screens are using a sharedViewModel called TeamMigrationViewModel

This is just the UI part, no API calls involved here.

(That "open team flow" is just used to start the flow)

screen-20241016-134509.mp4

Needs releases with:

  • GitHub link to other pull request

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

Copy link

Ups 🫰🟨

This PR is too big. Please try to break it up into smaller PRs.

@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 45.24%. Comparing base (44292c7) to head (3aa410f).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...serprofile/teammigration/TeamMigrationViewModel.kt 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3517      +/-   ##
===========================================
- Coverage    45.25%   45.24%   -0.01%     
===========================================
  Files          469      470       +1     
  Lines        15721    15724       +3     
  Branches      2630     2630              
===========================================
  Hits          7114     7114              
- Misses        7860     7863       +3     
  Partials       747      747              
Files with missing lines Coverage Δ
...serprofile/teammigration/TeamMigrationViewModel.kt 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44292c7...3aa410f. Read the comment docs.

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

@damian-kaczmarek damian-kaczmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all of comments are request to change, some are just me trying to understand code better

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Copy link
Contributor

@damian-kaczmarek damian-kaczmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some comments but not really significant ✅

Copy link
Member

@MohamadJaara MohamadJaara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work as always

@ohassine ohassine enabled auto-merge October 23, 2024 10:26
Copy link

Copy link
Contributor

Built wire-android-staging-compat-pr-3517.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3517.apk is available for download

Merged via the queue into develop with commit acf4562 Oct 23, 2024
11 of 12 checks passed
@ohassine ohassine deleted the team_upgrade_flow branch October 23, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants