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

UI - Add and implement data tables #153

Merged
merged 49 commits into from
Jun 26, 2023
Merged

Conversation

wcgunter
Copy link
Collaborator

@wcgunter wcgunter commented Jun 20, 2023

This PR includes the local download of DataTables as well as the implementation of some basic DataTables on the History, Deployments, and Processes pages.

Added a "Download" action button on the History page which allows the user to download the entire history log as JSON or CSV.

Fixed sorting when clicking on column header (removed manual sorting implementation and replaced with DataTable's sorting methods).

Processes page has been edited to remove the old pagination solution to replace it with DataTable's pagination solution. As a result, the way data is requested from the API has changed. Instead of receiving 200 at a time, the initial page load requests the 5000 most recent processes. If more are needed, the user can use the buttons added to the Processes page to load more/less in batches of 5000 (and a button to load all).

Also fixes the automated integration tests which were expecting the old filtering system for the processes page.

DataTables will be implemented on the Logs page in an upcoming PR.

@wcgunter wcgunter marked this pull request as draft June 20, 2023 21:57
@wcgunter wcgunter marked this pull request as ready for review June 23, 2023 22:00
Copy link
Collaborator

@jamesfwood jamesfwood left a comment

Choose a reason for hiding this comment

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

Awesome job! There was a lot of work here, great job!
This will be a UI game changer.

@jamesfwood jamesfwood merged commit 194427e into develop Jun 26, 2023
@jamesfwood jamesfwood deleted the ui-history-download-log branch June 26, 2023 19:37
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