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(mail): add dynamic mail filtering by subject and body in search #7139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sumamakhan761
Copy link

@sumamakhan761 sumamakhan761 commented Apr 6, 2025

Fix issue : #7137

This PR adds dynamic filtering functionality to the Mail component's search bar. Users can now type in the input field, and the mail list will filter in real time based on matches in the subject or body of the emails.

Change:

  • Added useState for search query tracking.
  • Filtered mails based on subject and text.
  • Updated input field to sync with search query.
  • Passed filtered results to MailList .

    first see this issue screen video [feat]: Add functional mail search to filter emails based on subject and body #7137

    Bellow is Changes screen recoding

    Screen.Recording.2025-04-06.204825.mp4
  • Copy link

    vercel bot commented Apr 6, 2025

    @sumamakhan7611 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

    A member of the Team first needs to authorize it.

    @sumamakhan761
    Copy link
    Author

    please review my PR @shadcn

    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.

    2 participants