jatiinyadav / Crew-Connect

Enhance your discussions with a group chat feature, providing a collaborative environment for more dynamic conversations.
MIT License
8 stars 18 forks source link

[FEAT] Unique Code Generation for New Chat Groups #31

Closed jatiinyadav closed 2 weeks ago

jatiinyadav commented 2 months ago
  1. Generate unique alphanumeric codes of 5-6 characters for each new chat group.
  2. Ensure that the generated codes are unique across all existing groups.
  3. Consider scalability and performance implications, especially as the number of groups grows.
  4. Integrate the code generation logic into the process of creating new chat groups.
  5. There should be a new input when a user is joining a group. A user can join a group by entering group name or unique code.
  6. There should be a option for the Admin to copy the group name or unique code.

If you have any doubts, feel free to ask in comments.

pankildoshi commented 2 months ago

Hi @jatiinyadav , I would like to work on this issue. Can you assign it to me ?

jatiinyadav commented 1 month ago

Hi @pankildoshi, Any updates?

pankildoshi commented 1 month ago

Hi @jatiinyadav , Yes, I have created Seevice for creating Unique code and I have updated Create and Join group methods accordingly.

On UI side I'm thinking, once user creates the room they should see a pop up/modal for room code with copy button. Also code can be copied from chat room. Currently working on UI part.

If you have any suggestions or specifics please let me know. I'll try to close this as soon as possible.

jatiinyadav commented 1 month ago

Instead of a showing a pop up you can create 2 buttons, something like this:

image

pankildoshi commented 1 month ago

Okay @jatiinyadav , Instead of popup, I'll keep two buttons like these.

But Does that mean We want to allow users to join Room with Group Code as well as Group Name? Can you clarify this for me?

jatiinyadav commented 1 month ago

Okay @jatiinyadav , Instead of popup, I'll keep two buttons like these.

But Does that mean We want to allow users to join Room with Group Code as well as Group Name? Can you clarify this for me?

Yes

github-actions[bot] commented 2 weeks ago

This issue has been automatically closed because it has been inactive for more than 30 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!