CDCgov / ReportVision

Intelligent Data Workflow Automation
Apache License 2.0
1 stars 1 forks source link

Create Template Index #230

Closed schreiaj closed 5 days ago

schreiaj commented 5 days ago

Pull Request

Description

Kapture 2024-09-17 at 09 48 20

Created helper methods in the console to manipulate the localStorage of templates

Created a SortableTable component if we need this in other places.

Related Issues

223

Additional Notes

A nice todo on SortableTable would be pass it a data fetch method and use useQuery to allow it to push the data sorting to server side and allow proper pagination.

The connection to localStorage is set up as a subscription, changes to localStorage in other tabs will trigger a render (this is how the demo gif was created)