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 a component for the metrics subcommand #10

Closed
sgreenbury opened this issue Sep 16, 2024 · 1 comment
Closed

Add a component for the metrics subcommand #10

sgreenbury opened this issue Sep 16, 2024 · 1 comment

Comments

@sgreenbury
Copy link
Contributor

The svelte component will be able to:

  1. Do the equivalent of calling the metrics subcommand with an input of a set of search fields (SearchParams) and returning SearchResults
  2. Parse the resulting dataframe (e.g. as JSON). There is JsonWriter in polars that could be called in rust_backend to provide the result as a JSON string and then a frontend method can be added to rust_worker.ts
  3. Display the parsed search results within the web app. For example this could be in a panel for displaying tables.

Both 2) and 3) are also tasks in #9 -- the logic to do this should probably be shared.

@sgreenbury
Copy link
Contributor Author

Completed with #13 merged.

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

No branches or pull requests

1 participant