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

add pending stats to daily stats endpoint #1493

Merged

Conversation

heyitsmebev
Copy link
Contributor

@heyitsmebev heyitsmebev commented Dec 20, 2024

endpoints to update:
get_service_notification_statistics_by_day
get_user_service_notification_statistics_by_day

The purpose of this ticket is to update the dashboard UI to display the number of pending statuses, similar to the job page, where delivery statuses for pending, delivered, and failed messages are shown.

These numbers should align with those provided by AWS and remain consistent between job statuses and notification statuses.

UI dashboard
image

Delivery status
image

@heyitsmebev heyitsmebev marked this pull request as draft December 20, 2024 01:53
Signed-off-by: Cliff Hill <[email protected]>
Signed-off-by: Cliff Hill <[email protected]>
@heyitsmebev heyitsmebev marked this pull request as ready for review January 13, 2025 22:58
Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

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

Thank you, @heyitsmebev, this looks great!

I called out a couple of things that I wanted to make sure we double check as we've been bitten in those spots in the past, but I think they're right as is. Asking for @xlorepdarkhelm and @terrazoon's help there to confirm!

app/dao/services_dao.py Show resolved Hide resolved
app/dao/services_dao.py Show resolved Hide resolved
app/dao/services_dao.py Show resolved Hide resolved
app/dao/services_dao.py Show resolved Hide resolved
app/dao/services_dao.py Show resolved Hide resolved
app/service/rest.py Show resolved Hide resolved
Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

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

Thanks again @heyitsmebev and @xlorepdarkhelm!

We walked through the open questions as a team and resolved any lingering questions, thanks to everyone else for participating!

app/dao/services_dao.py Show resolved Hide resolved
app/dao/services_dao.py Show resolved Hide resolved
app/service/rest.py Show resolved Hide resolved
@heyitsmebev heyitsmebev merged commit 8f471cf into main Jan 28, 2025
7 checks passed
@heyitsmebev heyitsmebev deleted the 2199-add-pending-message-data-to-daily-and-user_daily-stats branch January 28, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add pending message data to daily and user_daily stats
4 participants