forked from session-foundation/session-android
-
Notifications
You must be signed in to change notification settings - Fork 0
SES-4753 - Invite members #1
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
05b851b
empty contacts screen fix
jbsession 0ba1fef
Send commands cleanup for invite contact
jbsession db11932
Merge branch 'ses-4753/manage-members' into ses-4753/invite-members
jbsession 4c8a2bf
Added selected contact data with name
jbsession dcf0b7c
Code cleanup, Dialog for invite
jbsession 38a476f
Initial invite account id
jbsession c8e20de
Reuse NewMessage component with invite member
jbsession 7866a51
Conditions and cleanups for invite mode
jbsession c610a70
Cleanup to state and invite members
jbsession a329a23
Merge branch 'ses-4753/manage-members' into ses-4753/invite-members
jbsession c946083
Cleanup
jbsession 4d57a08
Fixed params, more cleanups
jbsession 1b57870
Flipped logic
jbsession 48997ee
Updated InviteScreen
jbsession ae34406
Added invite members viewmodel, made dialog reusable, cleanups
jbsession 1a10655
Updated dialog name
jbsession 46dee23
Updated InviteAccountId declaration
jbsession e136271
Updated help dialog state
jbsession fede21f
Merge branch 'ses-4753/manage-members' into ses-4753/invite-members
jbsession 14f4f7e
Merge with ses-4753/invite-members
jbsession File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
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.
Why is
SendInvitespart of this viewmodel?Shouldn't
val manageGroupMembersViewModel: ManageGroupMembersViewModel = hiltViewModel(parentEntry)be removed here? And
SendInvitesbe moved to the appropriate viewmodel?Or is
SendInvitesused somewhere as well? I think the relationship between all those viewmodels need to be really clear and solidThere 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.
I did it similar to how
InviteContactsScreensends the invite since it is the same with only a difference in how to get the Address. InviteContactsScreen does not useonCommandthough, maybe I can update this one to make it uniform, or should I change it completely and add the same functions intoInviteMembersViewModel?