BallStateCBER / cri

CBER Data Center: Community Readiness Initiative
http://cri.cberdata.org
0 stars 0 forks source link

CRI reports should be easier to consume #54

Closed bjpatterson closed 7 years ago

bjpatterson commented 7 years ago

Description

The reports are a bit fat in their current state, which makes them hard to read. It has been suggested that we rework these for better ease-of-use.

Potential Tasks

PhantomWatson commented 7 years ago

The library that I'm using for generating spreadsheets has trouble with rotated text.

image

If we're committed to rotating this text, this could work:

bjpatterson commented 7 years ago

Two possibilities come to mind:

Ultimately though, the primary goal is for the report to fit horizontally on one screen's width. If we can get that with no rotation, then that's totally fine. (Bonus points if it can be printed out on the width of a single landscape page, but that just gets you brownie points with ICI.)

PhantomWatson commented 7 years ago

Actually, I think I misspoke. There's no trouble setting the text at whatever angle we want (the screenshots above came from spreadsheets generated by the website), but the awkward angling of the borders is unavoidable.

The column resizing issue is caused by this: If cells are merged across columns A and B, the content of those cells are ignored when column A is auto-resized or when column B is. However, if both columns are selected together and auto-resized, then the content of the merged cells is taken into account. But PHPExcel only supports auto-resizing one column at a time, as far as I can tell.

However, we can either

bjpatterson commented 7 years ago

As many times as we've already reworked these reports, manual formatting smells pretty bad to me.

Avoiding merged cells is probably the best option for the internal report, despite making some of the headers a bit wordy (ugly but readable is fine for internal use).

For the external report, I'm less certain about a best policy (although it looks like the merged cells in that file aren't actually causing trouble right now.)

PhantomWatson commented 7 years ago

I think they're looking pretty good now. These spreadsheets can be printed out pretty legibly if they're scaled to fit on one sheet and rotated to landscape orientation. Splitting this up into multiple sheets made a huge difference.

Admin report: http://cri.cberdata.org/admin/reports/admin OCRA report: http://cri.cberdata.org/admin/reports/ocra