-
Notifications
You must be signed in to change notification settings - Fork 29
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: hide group creation and edit options for external user [WPB-5749] #2794
Conversation
Test Results874 tests +14 874 ✅ +14 16m 48s ⏱️ + 4m 21s Results for commit 71c21b6. ± Comparison against base commit 2ff2e04. This pull request removes 6 and adds 20 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2794 +/- ##
============================================
+ Coverage 0 43.61% +43.61%
============================================
Files 0 414 +414
Lines 0 13914 +13914
Branches 0 2519 +2519
============================================
+ Hits 0 6069 +6069
- Misses 0 7137 +7137
- Partials 0 708 +708
... and 404 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3623 succeeded. The build produced the following APK's: |
…tions-for-external-user # Conflicts: # app/src/main/kotlin/com/wire/android/ui/home/newconversation/NewConversationViewModel.kt # app/src/test/kotlin/com/wire/android/ui/home/newconversation/NewConversationViewModelArrangement.kt
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3628 failed. |
…tions-for-external-user
Build 3633 failed. |
…tions-for-external-user
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3636 failed. |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3637 succeeded. The build produced the following APK's: |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3642 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
External users have the possibility to create groups, add participants to existing groups and edit group name resulting in errors because they shouldn't be allowed to.
Solutions
Check if the user is external and if so then hide option to create group, add participants to the existing group and edit name of the group.
Created dedicated class
ItemActionType
to choose if the items can be clicked or/and checked.Cleaned up and unified the state defining the possibilities to edit particular group options according to this table:
Let me know if any of these conditions is incorrect.
Dependencies (Optional)
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Log in as external user and try to create group, add participants to existing group or change the name of the group.
Attachments (Optional)
Screen.Recording.2024-03-14.at.18.27.23.mov
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
.