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 option to download report in readable format #559

Open
petterill opened this issue Jan 30, 2018 · 3 comments
Open

Add option to download report in readable format #559

petterill opened this issue Jan 30, 2018 · 3 comments

Comments

@petterill
Copy link

petterill commented Jan 30, 2018

An option to download hearing report in other format besides excel would be nice. Such as txt, word or pdf, so the user does not have to sweat with making the excel report understandable, but can send it directly to the BOSS.

@Rikuoja
Copy link
Contributor

Rikuoja commented Feb 15, 2018

Well, this definitely requires a lot more specifying. Also, this is not a UI issue, so you should create an issue in the backend. The backend is responsible for formatting the data, because the data is stored in the backend; the UI only displays the data to the user but should not do any data processing as such. The excel link in the UI is just a direct link to the API excel renderer.

Currently, the data in the excel format is specific fields directly from the database. It is possible to create a pdf, text or word renderer for a specific endpoint in the API, but it would require specifying user needs for such a report: should all comments be included? Should comment images be included? How do we format it?

Do we make some analysis and processing before creating the report? Without that the pdf format is not any better than excel in my opinion.

@Rikuoja
Copy link
Contributor

Rikuoja commented Feb 15, 2018

Okay, I can reopen this issue; once backend support is done we can just add the report link to the UI. That's luckily only one line of UI code.

@Rikuoja Rikuoja reopened this Feb 15, 2018
@Rikuoja
Copy link
Contributor

Rikuoja commented Feb 15, 2018

Though I believe @terotic had some ideas on how to present the links if several report formats are available?

Currently, already, it is possible to download the comments from the API as excel or in geojson format (which gives you the coordinates of all the comments ready for your GIS software to peruse). If a third option (pdf report) is included, I think this calls for its own UI element such as gasp the dreaded drop-down menu!

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

2 participants