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

Notification Events View #203

Closed
4 of 6 tasks
jmbrunskill opened this issue Oct 17, 2023 · 0 comments · Fixed by #223
Closed
4 of 6 tasks

Notification Events View #203

jmbrunskill opened this issue Oct 17, 2023 · 0 comments · Fixed by #223
Assignees
Labels
enhancement New feature or request

Comments

@jmbrunskill
Copy link
Collaborator

jmbrunskill commented Oct 17, 2023

Is your feature request related to a problem? Please describe

As a system administrator, it's useful to be able to review what notifications have been sent, to whom, and any errors that might occur.

Describe the solution you'd like

A new navigation panel button Notification Log

image

When clicking this button, the admin should be able to see the most recent notification_event records.

image

Acceptance Criteria

  • The user should be able to filter by status (errored, failed, ok)
  • The user should be able to see the reason for any failed or errored rows
  • The user should be able to click on a button (or maybe the row?) to navigate to the configuration for that alert

Optional/Nice to have

  • Nice to have: Specify a time range to return the data for
  • Nice to have: Filter by Notification Type
  • Nice to have: Other filters & search options

Describe alternatives you've considered

We might also make a way to see the errors for a particular notification config, perhaps by prefiltering this page???

Additional context

Example SQL Query

SELECT e.updated_at, e.title as message_title, notification_type, error_message, to_address, e.status, nc.title as config_title, nc.kind as notification_type
FROM notification_event e
LEFT JOIN notification_config nc ON nc.id = e.notification_config_id
ORDER BY updated_at DESC
LIMIT 100
@jmbrunskill jmbrunskill added the enhancement New feature or request label Oct 17, 2023
@jmbrunskill jmbrunskill self-assigned this Nov 1, 2023
@jmbrunskill jmbrunskill linked a pull request Nov 3, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant