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

🐛 Bug Report: useCounts returns a maximum of 99 unread notifications with read filter #7729

Open
2 tasks done
jayanth-karri22 opened this issue Feb 17, 2025 · 2 comments
Open
2 tasks done

Comments

@jayanth-karri22
Copy link

📜 Description

I don't see any documentation on fetching Counts with limit more than 100.

👟 Reproduction steps

const { counts, refetch } = useCounts({
	filters: [{ read: false }],
});

    Make sure number of unread are more than 99 and try to refetch counts doesn't get updated

👍 Expected behavior

Hook should support a param limit

👎 Actual Behavior with Screenshots

There is no support for limit param. Couldn't find in documentation

Novu version

@novu/react": "^2.6.3", "@novu/node": "^2.0.1", "@novu/framework": "^2.3.0",

npm version

10.7.0

node version

22.2.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

@linear linear bot added the Inbox label Feb 24, 2025
@Manhatthien-98
Copy link

📜 Mô tả

Tôi không thấy tài liệu nào về việc lấy số lượng có giới hạn lớn hơn 100.

👟 Các bước sinh sản

const { counts, refetch } = useCounts({
	filters: [{ read: false }],
});

    Make sure number of unread are more than 99 and try to refetch counts doesn't get updated

👍 Hành vi mong đợi

Hook phải hỗ trợ một paramlimit

👎 Hành vi thực tế với ảnh chụp màn hình

Không có hỗ trợ cho limitparam. Không tìm thấy trong tài liệu

Phiên bản mới

@novu/react": "^2.6.3", "@novu/node": "^2.0.1", "@novu/framework": "^2.3.0",

phiên bản npm

10.7.0

phiên bản nút

22.2.0

📃 Cung cấp thêm bất kỳ bối cảnh nào cho Lỗi.

Không có phản hồi

👀 Bạn đã dành thời gian kiểm tra xem lỗi này đã từng xảy ra chưa?

  • Tôi đã kiểm tra và không tìm thấy vấn đề tương tự

🏢 Bạn đã đọc Hướng dẫn đóng góp chưa?

Bạn có sẵn lòng nộp PR không?

Không có

#7729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants