MOBILE-503: add organization action confirmations#638
Draft
Conversation
Add typed confirmation flows for leaving and deleting the active organization from the organization profile. Keep failures on the confirmation screen, refresh the client after success, and cover the new states with unit and snapshot tests.
Treat organization roles as a paginated response from the Frontend API while preserving the existing list convenience. This fixes the post-create invite step failing to load roles from real API responses.
Route the organization creation invite step into the Members screen with the Invitations tab selected, and hoist switcher sheet actions so the touched Compose path passes lint.
Replace the switcher-hosted organization profile and post-create invitations bottom sheets with a full-screen page host so nested profile routes no longer render inside sheet chrome.
Remove the inferred pending-invitation cleanup control from the domain enrollment screen and keep the visible title and copy aligned with the provided Figma frame.
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.
Summary
Stack
sam/mobile-501-android-add-organization-verified-domains-management-views.Validation
JAVA_HOME=$(/usr/libexec/java_home -v 21) ./gradlew :source:ui:recordPaparazziDebug --tests com.clerk.snapshot.organizationprofile.OrganizationProfileSnapshotTestJAVA_HOME=$(/usr/libexec/java_home -v 21) ./gradlew :source:ui:testDebugUnitTest --tests com.clerk.ui.organizationprofile.actions.OrganizationProfileActionConfirmationViewModelTest --tests com.clerk.snapshot.organizationprofile.OrganizationProfileSnapshotTestJAVA_HOME=$(/usr/libexec/java_home -v 21) ./gradlew :source:ui:spotlessCheck :source:ui:detektJAVA_HOME=$(/usr/libexec/java_home -v 21) ./gradlew :source:ui:lintDebugcurrently fails on existing repo lint issues outside this change (first failure:OrganizationListView.kt:115ComposeViewModelForwarding); the lint report showed no new errors in the new action files.