status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
288 stars 78 forks source link

[EPIC] Ban/Unban flows #13034

Open glitchminer opened 9 months ago

glitchminer commented 9 months ago

Issue to review the implementation of ban/unban flows as discussed with @benjthayer and @mprakhov. Ban/Unban functions were recently found to move the user to an inbetween state not fully one or the other. Design for what a community should appear like to a banned user is also missing.

Unban Figma: https://www.figma.com/file/qHfFm7C9LwtXpfdbxssCK3/Kuba%E2%8E%9CDesktop---Communities?type=design&node-id=3250-369531&mode=design&t=jjuJaHJ0zHngpddl-4

Control node online/offline: https://www.figma.com/file/qHfFm7C9LwtXpfdbxssCK3/Kuba%E2%8E%9CDesktop---Communities?type=design&node-id=35910-617433&mode=design&t=jjuJaHJ0zHngpddl-4

Mobile design: https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=7674-521411&mode=design&t=bhBrRFsgWzdUrPfz-4

Related UI epic: https://github.com/status-im/status-desktop/issues/11649

tickets:

1. Ban

1.1 Owner/TokenMaster/Admin initiating the ban

1.1.1 Ban popup

1.1.1.1 If the control node is offline

1.1.1.2 If the control node is online

1.2 Other TokenMasters/Admins/Owner

1.3 Banned community member

1.3.1 Unknown:

2. Unban

2.1 Owner/TokenMaster/Admin initiating the unban

2.2 Other TokenMasters/Admins

2.3 Unbanned community member

anastasiyaig commented 9 months ago

i put it to 0.16 but not sure how realistic / urgent it is @John-44 @iurimatias

John-44 commented 9 months ago

@benjthayer mentioning you here so you can take a look at the design items glitchminer mentioned in the issue report when you are back from holls

John-44 commented 9 months ago

i put it to 0.16 but not sure how realistic / urgent it is @John-44 @iurimatias

If it can't fit into 0.16 it should definitely be prioritized for 0.17. I'm not the right person to comment on how realistic it is for 0.16 but my intuition is that it might not be possible to fit into 0.16 given all the other items scheduled for this milestone. But this is up to @iurimatias

And this needs @benjthayer design input, so can't be worked on until @benjthayer is back and has had a moment to look at this anyway.

benjthayer commented 8 months ago

Full flows for the following have been added to the Kuba Communities file:

From the admin perspective:

From the member perspective:

A couple of key points covered in the flows:

From the admin side

From the community member side

Figma: https://www.figma.com/file/qHfFm7C9LwtXpfdbxssCK3/Kuba%E2%8E%9CDesktop---Communities?type=design&node-id=51860-257070&mode=design&t=pzq70E9CXbiufWaG-4

mprakhov commented 7 months ago

@benjthayer just to clarify - do we not want to see deleted msgs info when we ban someone with deleting all his messages?

image