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

[Story] Block user #1106

Closed
5 tasks done
VolkerJunginger opened this issue Mar 8, 2023 · 9 comments
Closed
5 tasks done

[Story] Block user #1106

VolkerJunginger opened this issue Mar 8, 2023 · 9 comments
Assignees
Labels

Comments

@VolkerJunginger
Copy link
Contributor

VolkerJunginger commented Mar 8, 2023

As a user I want to be able to block an other user so that I don't get annoyed by her anymore.

If #1105 is done show an option to block a user.
Show a hint if the user really wants to block that user.
Don't show on my own profile. I cannot block myself.

Scope

These should be a list of technical tasks which take ½-1 day to complete

Android

Preview Give feedback
  1. A-User-Profile O-Uncommon S-Major T-Defect Z-Schedule
    bmarty
  • QA signoff on completion
  • Design signoff on completion
  • Product signoff on completion

iOS

Preview Give feedback
  1. A-User-Detail O-Uncommon S-Major T-Defect Z-Schedule
  2. A-User-Detail O-Uncommon S-Major T-Defect X-Needs-Rust Z-Schedule
    Hywan
  • QA signoff on completion
  • Design signoff on completion
  • Product signoff on completion
@manuroe
Copy link
Member

manuroe commented Apr 11, 2023

@kittykat: iOS is ready for QA

@kittykat kittykat assigned ghost Apr 13, 2023
@ghost
Copy link

ghost commented Apr 20, 2023

I have finished testing on an iPhone 12 mini with Element X 1.1.0 (181) via Testflight.

Of the acceptance criteria in Figma, here is what works and does not (working items in bold):

  • I do not see messages from that user anymore
  • I cannot write in a dm with them
  • All messages by that person are hidden
  • I cannot invite that person to that room
  • We can both be invited to a room by others
  • If we are the only people left in a room it should not be possible to write messages in that room

More specifically, here is what I tested and what I saw:

  • I cannot tap on a user name or avatar to open the user profile screen (this works in legacy Element). Instead I have to tap the room title, tap people and then tap on the user from there.
  • I am presented with an explanatory pop-up when tapping Block from the user profile
  • I am not presented with an option to block when viewing my own user profile
  • I can cancel blocking from the explanatory pop-up
  • I can block from the explanatory pop-up
  • When blocking, that user's messages disappear from my view of the room
  • When blocking, that user can still see my messages in the room
  • When we are the only two people in a room and I have that user blocked, I can still send messages into the room. There is no message at the bottom, "You won’t be able to receive or send any messages until you unblock them" as indicated in Figma mockups.
  • I can go back in to the user profile screen and unblock that user
  • When unblocking, I can see the user's messages again
  • When unblocking, legacy Element prompts me to re-sync. Element X does not prompt me to resync but the messages are there all the same
  • I can reblock a user and their messages disappear
  • File attachments, pictures, videos and emojis sent by a blocked user display and are able to be interacted with after unblocking that user

I am assuming some of the issues I encountered are due to user flows not being fully implemented yet in Element X (invites for example). Please let me know if any of the above is an issue that I should report, or if you'd like me to repeat or do other testing. For now, going off the Figma designs this does not pass QA on iOS because it does not meet acceptance criteria.

@jmartinesp
Copy link
Member

@kittykat & @ashughes1, this should be ready to test on Android too. It should be included in the latest nightly.

Also, about this:

If we are the only people left in a room it should not be possible to write messages in that room

I think that was delayed until we implemented powerlevels too?

@Velin92
Copy link
Member

Velin92 commented May 11, 2023

I cannot tap on a user name or avatar to open the user profile screen (this works in legacy Element). Instead I have to tap the room title, tap people and then tap on the user from there.

@VolkerJunginger we don't have this behaviour yet, maybe we should have a specific story for it?

When we are the only two people in a room and I have that user blocked, I can still send messages into the room. There is no message at the bottom, "You won’t be able to receive or send any messages until you unblock them" as indicated in Figma mockups.

Same for this one , we should have a specific story for it, since we need to block the composer

@kittykat kittykat added the X-Needs-Signoff Stories and Epics which are ready for review by product, design and QA label May 26, 2023
@kittykat
Copy link
Contributor

First point is fixed, second one has a user story here: #1786

@kittykat kittykat assigned callumu and VolkerJunginger and unassigned ghost Jun 16, 2023
@manuroe
Copy link
Member

manuroe commented Jul 7, 2023

@kittykat. Given we will do #1786 (comment) later, can we tick the QA check boxes?

@kittykat
Copy link
Contributor

kittykat commented Jul 7, 2023

@manuroe We currently have element-hq/element-x-ios#910 and element-hq/element-x-ios#911 that need to be fixed

@kittykat
Copy link
Contributor

Closing with known issue element-hq/element-x-ios#911 which is scheduled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants