-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Hide deactivated users in iOS #8092
Closed
Juliet879
wants to merge
108
commits into
mattermost:release-2.17
from
Juliet879:hideDeactivatedUsers
Closed
Hide deactivated users in iOS #8092
Juliet879
wants to merge
108
commits into
mattermost:release-2.17
from
Juliet879:hideDeactivatedUsers
Conversation
This file contains 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
* host remove command, host removed feedback * add view profile control * i18n; dismissBottomSheet later * PR comments * remove confusing setPreviousCall(null) * our own separator, bit more space for Android * no need for previousCall due to changes on server * move host removed alert to an error * channel_id is not send via the msg.broadcast * channel_id is still sent via the msg.broadcast
…7945) * add mute all to participant list * i18n * hostControlsAvailable * mute-all -> mute-others
Currently translated at 100.0% (1127 of 1127 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
Currently translated at 100.0% (1127 of 1127 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
Currently translated at 100.0% (1127 of 1127 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
Co-authored-by: runner <runner@Mac-1715329932711.local>
* Update README.md * Update full_description.txt * Update changelog
* Bump app build number to 522 * Bump app version number to 2.17.0 --------- Co-authored-by: runner <runner@Mac-1715946646591.local>
* Translated using Weblate (German) Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/ * Translated using Weblate (Dutch) Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/ --------- Co-authored-by: jprusch <rs@schaeferbarthold.de> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
* MM-58259 - allow current host to run /end call; fix deprecated test fns * update call card UI * update call ended icon * make joinCall async; adding loading spinner to join/start button * Revert "make joinCall async; adding loading spinner to join/start button" This reverts commit bbb1366. * shadowRadius 3 -> 1
Co-authored-by: runner <runner@Mac-1716820087705.local>
Updated by "Cleanup translation files" hook in Weblate. Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
Currently translated at 4.1% (47 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/he/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
Currently translated at 99.3% (1128 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
Co-authored-by: runner <runner@Mac-1717409210410.local>
Currently translated at 100.0% (1135 of 1135 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/ Co-authored-by: Konstantin <eleferen@gmail.com>
* Translated using Weblate (Russian) Currently translated at 100.0% (1140 of 1140 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/ * Translated using Weblate (Japanese) Currently translated at 100.0% (1140 of 1140 strings) Translation: Mattermost/mattermost-mobile-v2 Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/ --------- Co-authored-by: Konstantin <eleferen@gmail.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com>
* Remove deviceName from User Agent * Use modelName for User Agent
* notification ringing, settings screen, native code patch, ringing mp3s * i18n * play preview on first press * prevent playing from background (only affects Android) to match iOS beh * stop ringing/vibration on entering background * ring when coming back from background and new incoming call is present * no push notification sound when it's a call; improve ringing * move sounds to asset folder; copy on postinstall for android bundling * make Ringtone type a string enum * make Android ring async + await ring and stop; changes from PR comments * missing fields after merge * release lock on an exception * cancel sample ringing when turning notifications off * copy sound files for android build * typo * update snapshots * testing if the problem is copying the mp3 files * fix android mp3 assets when building for non-release * add sounds to .gitignore --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Graciously handle load measure when there is no mark * Make public interface cleaner
* Add unit tests for app/actions/local/category * Remove unnecessary forEach * Run setup only once
* Add tests for actions/local/channel/removeCurrentUserFromChannel * Add tests for actions/local/channel/setChannelDeleteAt * Add tests for actions/local/channel/selectAllMyChannelIds * Add tests for actions/local/channel/markChannelAsUnread * Add tests for actions/local/channel/resetMessageCount * Add tests for actions/local/channel/storeMyChannelsForTeam * Fix test names * Add tests for actions/local/channel/updateMyChannelFromWebsocket * Add tests for actions/local/channel/updateChannelInfoFromChannel * Add tests for actions/local/channel/updateLastPostAt * Add tests for actions/local/channel/updateChannelsDisplayName * Add tests for actions/local/channel/showUnreadChannelsOnly * Add tests for actions/local/channel/updateDmGmDisplayName * Remove unnecessary spying
Automatic Merge
Co-authored-by: runner <runner@Mac-1719563817324.local>
* Restore out of channel and some cleanup * Fix i18n
* Add Amy as a reviewer for the weekly build number bump PRs * PR_REVIEWERS is a comma-separated list
* Add tests for actions/local/draft/updateDraftFile * Add tests for actions/local/draft/removeDraftFile * Add tests for actions/local/draft/updateDraftMessage * Add tests for actions/local/draft/addFilesToDraft * Add tests for actions/local/draft/removeDraft * Add tests for actions/local/draft/updateDraftPriority * Fix updateDraftMessage test case * Update app/actions/local/draft.test.ts Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * place common beforeeach/aftereach top of file (#8076) --------- Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
…#8077) * Add tests for actions/local/file * Add tests for actions/local/group
Co-authored-by: runner <runner@Mac-1720773707918.local>
Automatic Merge
Hello @Juliet879, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
panicking
suggested changes
Jul 16, 2024
@@ -121,6 +121,10 @@ const UserItem = ({ | |||
const shared = user ? isShared(user) : false; | |||
const deactivated = user ? isDeactivated(user) : false; | |||
|
|||
if(deactivated) { | |||
return null; |
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.
if (deactivated) I think that you should follow the style
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
Do now show deactivated users in iOS Mobile
Ticket Link
#8074
Device Information
This PR was tested on: iPhone 15 Pro
Screenshots
Release Note