dappros / ethora

A 'super app' engine for your project. React Native (iOS, Android) and React.js (Web, desktop). Social Sign In 🄵, Messaging 💬 (chat, voice, push notifications), Web3 Wallet 🪪 (profile QR, documents, coins, NFT), DLT 🔐 (provenance, crypto signing), Gamification 🤩, Social Commerce and more.
https://ethora.com/
GNU Affero General Public License v3.0
400 stars 74 forks source link

Web - client - Chats - Leave room #495

Closed dzinzyura closed 11 months ago

dzinzyura commented 11 months ago

Goal: Introduce a possibility to leave the chat room for regular users.

Affected metric:

Story: As a regular user, I was invited to the room. After sending some messages I decided to leave. I go to chat details screen and can see the [exit] icon on the Chat Image. When I click on it, I receive a "warning" message. I click on "Leave" and room is deleted for me.

Description: Implement the way for leaving the room for regular users. You can use the same logic as we have for chat owners.

  1. Change the icon to [leave] one

e.g. image

  1. Add a warning message as we have for app owners:
image

But change the text:

Leave room

Do you want to leave this room?

[Cancel] [Leave]

dendidibe commented 11 months ago

https://github.com/dappros/ethora/assets/54039544/cfc41ece-2851-4657-93cc-e1f7d5e2504c

dzinzyura commented 11 months ago

awesome! this way even better, than in chat details. thank you @dendidibe !