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 an events summary table to the patrols workflow #314

Open
Tracked by #289
walljcg opened this issue Oct 15, 2024 · 0 comments
Open
Tracked by #289

Add an events summary table to the patrols workflow #314

walljcg opened this issue Oct 15, 2024 · 0 comments

Comments

@walljcg
Copy link

walljcg commented Oct 15, 2024

In addition to the pie chart and map summarizing patrol events, we should also display a table of the events. This would include the following columns:

  1. serial number
  2. event time
  3. event type
  4. event title
  5. recorded by
  6. other*

** columns could be controlled by a config parameter when generating the table (e.g., 'num_charcoal_kilns') and as long as those column(s) exist then they are pulled out of the additional event_details json and turned into a column.

The table should be scrollable and allow sorting on the different columns. Ideally, a 'download' button would let the user export a csv.

A quick-win is to start with the pandas.DataFrame.to_html() function. But eventually we probably need our own 'EcoTable' class to meet all these needs.

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