Skip to content
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
wants to merge 108 commits into from
Closed

Hide deactivated users in iOS #8092

wants to merge 108 commits into from

Conversation

Juliet879
Copy link

Summary

Do now show deactivated users in iOS Mobile

Ticket Link

#8074

Device Information

This PR was tested on: iPhone 15 Pro

Screenshots

Simulator Screenshot - iPhone 15 Pro - 2024-07-15 at 12 36 39

Release Note

NONE

cpoile and others added 30 commits May 10, 2024 16:43
* 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>
weblate and others added 25 commits July 2, 2024 15:53
* 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
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>
@mattermost-build
Copy link
Contributor

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.

@@ -121,6 +121,10 @@ const UserItem = ({
const shared = user ? isShared(user) : false;
const deactivated = user ? isDeactivated(user) : false;

if(deactivated) {
return null;

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

@Juliet879 Juliet879 closed this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.