yugaldekate / chat-app

0 stars 0 forks source link

Modals #15

Open yugaldekate opened 3 months ago

yugaldekate commented 3 months ago

-Create different modals for 1) Invite people 2) Server settings 3) Manage members 4) Server settings 5) Delete/Leave server

yugaldekate commented 3 months ago

-Modified the use-modal-store hook to accept the data in onOpen function -onOpen(type, data)

yugaldekate commented 3 months ago

-Created useOrigin() hook to get the current origin/ domain name i.e., http://localhost:3000 or https://anydomain.com

yugaldekate commented 3 months ago

-Created the invite modal

yugaldekate commented 3 months ago

-Created the an api to generate a new invite-link

yugaldekate commented 3 months ago

-Created an page so that invited members can join the server /invite/[inviteId]/

yugaldekate commented 3 months ago

-Created a edit-server-modal -Created an api to change the name and image of the server

yugaldekate commented 3 months ago

-Installed avatar component from ShadCn -Create a user-avatar component

yugaldekate commented 3 months ago

-Created manage-members-modal -Created an api to handle the members role and kick out from the server

yugaldekate commented 3 months ago

-Installed Select component from ShadCn -Created create-channel-modal -Created the api to handle create channel

yugaldekate commented 3 months ago

-Created leave-server & delete-server modals -Created the api for handeling the leave & deletion of the server