[WEB-1437] feat: notifications mention filter (#5040)
* chore: implemented mentions on the notification * chore: mention notification filter * chore: handled mentions refetch and total count on header and sidebar menu option * chore: seperated notifications empty state * chore: updated sidebar menu option notification vaidation * chore: handled notificaition sidebar total notifications count --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
parent
837f09ed90
commit
54a5e5e761
9 changed files with 141 additions and 55 deletions
|
|
@ -64,6 +64,7 @@ export type TNotificationPaginatedInfoQueryParams = {
|
|||
type?: string | undefined;
|
||||
snoozed?: boolean;
|
||||
archived?: boolean;
|
||||
mentioned?: boolean;
|
||||
read?: boolean;
|
||||
per_page?: number;
|
||||
cursor?: string;
|
||||
|
|
@ -86,6 +87,7 @@ export type TNotificationPaginatedInfo = {
|
|||
// notification count
|
||||
export type TUnreadNotificationsCount = {
|
||||
total_unread_notifications_count: number;
|
||||
mention_unread_notifications_count: number;
|
||||
};
|
||||
|
||||
export type TCurrentSelectedNotification = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue