Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Create downloadable incidents csv report #2292

Closed
jackcmeyer opened this issue Aug 13, 2020 · 5 comments · Fixed by #2311
Closed

Create downloadable incidents csv report #2292

jackcmeyer opened this issue Aug 13, 2020 · 5 comments · Fixed by #2311
Assignees
Labels
🚀enhancement an issue/pull request that adds a feature to the application help wanted indicates that an issue is open for contributions incidents LOE - large indicates that the level of effort to complete issue is large
Milestone

Comments

@jackcmeyer
Copy link
Member

jackcmeyer commented Aug 13, 2020

🚀 Feature Proposal

There should be the capability of downloading an incidents CSV report from the UI. This report should be based on the current search parameters defined on the view incidents screen.

There should be a dropdown button above the table that says "Download Report". There should be an option for CSV in the list of options.

Clicking on that button should export incident data as a csv for whatever is currently being displayed in the table.

@jackcmeyer jackcmeyer transferred this issue from HospitalRun/hospitalrun Aug 13, 2020
@jackcmeyer jackcmeyer added help wanted indicates that an issue is open for contributions incidents LOE - large indicates that the level of effort to complete issue is large 🚀enhancement an issue/pull request that adds a feature to the application labels Aug 13, 2020
@jackcmeyer jackcmeyer added this to the v2.0 milestone Aug 13, 2020
@jackcmeyer jackcmeyer changed the title Create downloadable incident csv report Create downloadable incidents csv report Aug 13, 2020
@reidmeyer
Copy link
Contributor

I'd be interested in giving a crack at this for the next 5 days.

@fox1t
Copy link
Member

fox1t commented Aug 13, 2020

I've assigned this to you!

@reidmeyer
Copy link
Contributor

reidmeyer commented Aug 13, 2020

I've noticed that when I create two incidents, and resolve one, I believe the resolved one disappears, even when i switch the filter to "'resolved" or "all". Another issue might want to be created for this at some point. @fox1t. @jackcmeyer

It's an interesting bug: It works when I click out of the webpage and then back into it; it then reloads. Will look into fixing.

I don't think this will impede me working on this issue. I will continue forward.

@jackcmeyer
Copy link
Member Author

@reidmeyer could you open another issue for this bug with steps to reproduce?

@reidmeyer
Copy link
Contributor

@jackcmeyer Additionally, I noticed that when I change the filter to "all" it displays a blank incident that is a patient. This shouldn't happen, correct? I've added this to the new issue. #2300
image

reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Aug 16, 2020
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Aug 17, 2020
@blestab blestab linked a pull request Aug 17, 2020 that will close this issue
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Aug 18, 2020
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Aug 23, 2020
made getcsv and downloadlink functions

re HospitalRun#2292
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Sep 6, 2020
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Sep 6, 2020
reidmeyer added a commit to reidmeyer/hospitalrun-frontend that referenced this issue Sep 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀enhancement an issue/pull request that adds a feature to the application help wanted indicates that an issue is open for contributions incidents LOE - large indicates that the level of effort to complete issue is large
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants