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

chore(ui): mark as read when a link in a notification is clicked #4108

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

Conversation

liangfung
Copy link
Collaborator

@liangfung liangfung requested a review from Copilot April 3, 2025 08:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refines the UI behavior of the notifications by marking them as read when a notification link is clicked, and it introduces smooth animations when displaying notifications.

  • Added framer-motion components (AnimatePresence and motion.div) to animate the notifications.
  • Updated the link rendering in notifications to trigger a mark-as-read action on click.

@liangfung liangfung requested a review from wsxiaoys April 3, 2025 08:42
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.

1 participant