Repository navigation
fix(external-invites,member-connect): align invite and Connect your servers UX with web - #5486
Open
stamp-build[bot] wants to merge 5 commits into
Open
stamp-build[bot] wants to merge 5 commits into
stamp-build[bot] wants to merge 5 commits into
Conversation
… web (#319 PR 3) Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
- Use RaftButtonSize.Md in JointMemberConnectSheet inline upgrade action
- Add missing DataRequestPriority and kotlinx.coroutines.launch imports in ChannelSettingsPage
- Replace ::refreshMembers with lambda in rememberUpdatedState and wrap homeStore in ThreadMembersPage
- Freeze RaftSpinner (LocalRaftSpinnerStillStep) and provide LocalActivity in ExternalInvitesUiTest
- Return early when targetServerId is absent in openRaftUpgradeDialog and guard blank serverId in holdsExternalSlot
- Reset prefetched Free external-channel limit on refetch, guard server switch / plan change in SettingsHomePage, and prevent stale FreeLimitUpgrade emits in ExternalInvitesStore
- Avoid mutating memberConnectSheet.selected mid-submit when limits arrive and exclude at-limit rows from retry
- Align showInlineTrailing padding and layout branch in RaftChoiceList, guard SetText while busy in CreateExternalChannel, use visibleInvites("") in ThreadMembersPage, and polish changeset copy + tests
Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
…dge cases - Prune at-limit servers from memberConnectSheet.selected on whole-request failure too when limits arrive mid-submit - Fall back to reached result when a newer gated prefetch is still pending during RequestOpen so user taps are never dropped Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
…-connect-ux-parity Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
This branch has not been deployed
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
Implements
#proj-mobile:#319PR 3: closes all 7 web-vs-mobile UX and interaction parity gaps in channel external invites ("Invite people outside {server}") and "Connect your servers" (JointMemberConnectSheet), matchingbotiverse/slock(staging959447b5).What changed
ThreadMembersPage.kt,ChannelMembersPage.kt):"Invite people outside {server}"button directly below"Add member"(gated onexternalInviteAccess, independent ofcanAddMembers).ExternalInviteSheetso dismissing the invite sheet returns to Add Member with search/selection intact."No matches").RaftUpgradeDialog.kt,ExternalInvites.kt,SettingsHomePage.kt,ThreadMembersPage.kt):RaftUpgradeExternalContext.Slot(channelName)(holdsExternalSlot,externalSlotUpgradeContext,externalSlotChannelsKey) and 8-locale channel-named upgrade copy (upgrade_dialog_limit_external_limit_channel, plus iOS App Store Guideline 3.1.1 view-only neutral copy).ExternalInvitesStoreandSettingsHomePageso opening is immediate when the slot is free, and shows loading / re-reads + passes#channelcontext when taken.ExternalInvitesUi.kt,CreateExternalChannel.kt,CreateExternalChannelUi.kt):SetTextwhile busy.JointMemberConnectApi.kt,JointMemberConnect.kt,JointChannelConnectionsStore.kt,JointMemberConnectSheet.kt,RaftChoiceList.kt):GET /channels/:id/connect-my-serverslimits when openingJointMemberConnectSheet, disablingatLimitrows (Free · in another external channel), pruning them from selection safely without mid-submit flicker, and showing inline"Upgrade"(owner) or"Ask an owner to upgrade"(admin) actions targeting that specific server (omitted on iOS when upgrade offers are off).ChannelSettingsPage.kt,JointChannelConnectionsPage.kt,ThreadMembersPage.kt):en,es,ja,ko,pt-BR,ru,zh-CN,zh-TW), matching web messages verbatim.ExternalInvitesUiTest,JointMemberConnectSheetUiTest,ExternalInvitesServersStoreTest,JointMemberConnectStoreTest,JointMemberConnectApiTest,CreateExternalChannelStoreTest,RaftUpgradeDialogTest).change-logs/1.29.0/changesets/external-invite-and-member-connect-ux-parity.md.Verification
b6dc673a):VERDICT: PASS.python3 scripts/ci/check_source_constraints.py && python3 scripts/ci/check_string_edge_spaces.py: PASS (0 offendersacross 8 locales).full-cilabel will be applied after populatingpull_requestin the changeset so Robolectric UI tests and iOS compile execute in full.