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

feat: add new chat dialog in chats page #90

Merged
merged 7 commits into from
Feb 4, 2025

Conversation

AliAkrem
Copy link
Contributor

Description

Implements a "new message creation" feature in the chat interface that allows users to initiate new conversations directly from the inbox page. This PR adds a modal-based interface for searching and selecting message recipients, improving the overall user experience by eliminating the need to navigate away from the main chat view.

Types of changes

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Others (any other types not listed above)

Checklist

Further comments

Screencast.from.2025-01-31.12-28-41.webm

Related Issue

Closes: #89

Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for shadcn-admin ready!

Name Link
🔨 Latest commit 66cc140
🔍 Latest deploy log https://app.netlify.com/sites/shadcn-admin/deploys/67a1ae2787138800082b0595
😎 Deploy Preview https://deploy-preview-90--shadcn-admin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@satnaing
Copy link
Owner

satnaing commented Feb 4, 2025

Thanks for your PR @AliAkrem

I've made some improvements/changes as well. Here's the summary

  • update user extracting logic
  • extract common types into a chat-types.ts file
  • move CreateConversationModal.tsx under features/chat/components because this component is only being used inside chat feature.
  • rename CreateConversationModal.tsx to new-chat.tsx
  • fix text color in input (invisiable text in light mode initially)

@satnaing satnaing changed the title Feat: allow create conversation in chats feat: add new chat dialog in chats page Feb 4, 2025
@satnaing satnaing merged commit 93be363 into satnaing:main Feb 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Enable Creating Conversations in Chats Page
2 participants