Skip to content

Conversation

@svenvg93
Copy link
Contributor

📃 Description

This PR introduces a new page to track the history of all alert results. For now, the page is located under the Settings section, as I could not find a better place for now.

🪵 Changelog

➕ Added

  • alert_history collection to store alert result history
  • alert_history module to manage related logic
  • UI page with a table to view, export, and delete alert history

📷 Screenshots

Scherm­afbeelding 2025-07-16 om 22 12 28

@henrygd
Copy link
Owner

henrygd commented Jul 17, 2025

Great idea! I'll check this out soon.

How long do you think we should we retain these? 60 days?

@svenvg93
Copy link
Contributor Author

svenvg93 commented Jul 17, 2025

Great idea for the retention, I made it user configurable for 1,3,6,12 months. With default to 3 months.

As well do you think the settings page is the right place for now?
By now it might make sense to add an side bar and move the settings, etc to there, as it makes its easier to group new pages, looking the new pages added in #937 and discussed in #972 as well.

- Home

- Settings
    - General
    - Tokens & Fingerprints
    - YAML Config

- Alerting 
    - Alert History
    - Notifications
    - Alerts Configurations

- Application
    - Users
    - Systems
    - Logs
    - Backups

- Log out

@henrygd
Copy link
Owner

henrygd commented Jul 17, 2025

Thanks, I like this feature and want to get it in the 0.12.0 release so I'll pick it up from here.

We'll just leave it in settings for now but I agree a sidebar would make sense in the future.

@henrygd henrygd changed the base branch from main to svenvg93-feat/alerts-history July 20, 2025 23:20
@henrygd henrygd merged commit 9d7fb8a into henrygd:svenvg93-feat/alerts-history Jul 20, 2025
1 check passed
@svenvg93 svenvg93 deleted the feat/alerts-history branch July 21, 2025 05:10
@henrygd
Copy link
Owner

henrygd commented Jul 22, 2025

Thanks again, this is merged now and is definitely a useful feature.

I'm going update tests and docs for the next release, then I'll loop back around to the other PRs afterwards 👍

@svenvg93
Copy link
Contributor Author

Thanks! Happy to be able to contribute to your amazing project! Take your time for the other ones.

@henrygd henrygd moved this to In next release in Beszel Roadmap Jul 22, 2025
@henrygd henrygd moved this from In next release to Done in Beszel Roadmap Jul 25, 2025
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.

2 participants