Skip to content

Feat; status page endpoint + ui skeleton #2224

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

Merged
merged 8 commits into from
Aug 21, 2025

Conversation

Jamesbarford
Copy link
Contributor

@Jamesbarford Jamesbarford commented Aug 19, 2025

  • Adds an endpoint for getting the data out of the database
  • Minimal ui setup;
    • TypeScript datatypes
    • Dumps JSON on the screen
    • Renders a collector as a box

Below is what this page currently displays if there is some data. Which we will completely overhaul in subsequent PRs

Json blob;
image

Collectors;
image

@Jamesbarford Jamesbarford marked this pull request as draft August 20, 2025 12:06
@Jamesbarford Jamesbarford force-pushed the feat/status-page-endpoint branch 2 times, most recently from 03dc257 to 58c42ad Compare August 20, 2025 13:20
@Jamesbarford Jamesbarford force-pushed the feat/status-page-endpoint branch from 58c42ad to c04d76d Compare August 20, 2025 13:25
@Jamesbarford Jamesbarford marked this pull request as ready for review August 20, 2025 14:58
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

As you said yourself, this will be overhauled once we actually start using it, so feel free to merge :)


#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct CollectorConfigUi {
Copy link
Member

Choose a reason for hiding this comment

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

You don't really even need the Ui suffixes, since the structs are in a separate module.

@Jamesbarford Jamesbarford merged commit d367e51 into rust-lang:master Aug 21, 2025
11 checks passed
@Jamesbarford Jamesbarford deleted the feat/status-page-endpoint branch August 21, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants