Riverscapes / riverscapes-tools

Open-source Python 3.0 tools for the Riverscapes organization
https://tools.riverscapes.net/
GNU General Public License v3.0
11 stars 12 forks source link

BRAT Report Style Improvements #948

Closed philipbaileynar closed 3 months ago

philipbaileynar commented 6 months ago

As a general rule try and implement these fixes at the lowest level possible. In other words, try and use CSS improvements rather than styling individual HTML tags.

  1. Better semantic heading fonts. H1 shoulder be bigger than H2. H2 should be bigger than h3 etc.

  2. Remove the incremental indendation of sections.

Screenshot 2024-05-09 at 12 18 13 PM
  1. Reduce the border around the info boxes to 1px? and drop cell spacing to zero.
Screenshot 2024-05-09 at 12 18 56 PM
  1. Data tables should match info box styling. Set outer border to 1pm. Remove the cell spacing.

  2. Implement "Total" row for all data tables where relevent.

  3. Is there are "one fix all" to avoid pie chart label overlaps?

  4. Are 3D pie charts being used? If so, turn off and make 2D.

Screenshot 2024-05-09 at 12 19 44 PM
  1. What are the redundant horizontal rules HR at the end of the capacity section?
Screenshot 2024-05-09 at 12 22 22 PM
  1. Risk table first column should left aligned.

  2. Risk table has "None" when it should be zero.

  3. Stream discharge plot series should be "riverscapes blue" not burnt orange.

philipbaileynar commented 6 months ago

Another request.

Please change the report background to white. Currently it's a subtle cream colour. This doesn't work with the PNG graphics that have a white background and the alternating table rows that also use pure white.

Screenshot 2024-05-09 at 4 23 45 PM
philipbaileynar commented 6 months ago

Feedback

  1. Slight gap in cell border? Is this still some cell spacing or padding?

    Screenshot 2024-05-13 at 11 03 32 AM
  2. Don't add categories to pie charts that have a value of zero.

  3. In the Hydrology section the "Drainage area threshold" is right aligned but the other items are left aligned. (I think this is some automated behaviour because it is integer and not string or float)

  4. Weird rounding going on. I'm fine if 99.9% rounds to 100%. but the bar in the chart doesn't appear to be at 100%

    Screenshot 2024-05-13 at 11 10 06 AM
  5. Missing class. This might require a left join instead of an inner join.

    Screenshot 2024-05-13 at 11 11 54 AM
  6. Silly request. Can you remove the colons on the project metadata table after the labels?

    Screenshot 2024-05-13 at 11 13 11 AM
philipbaileynar commented 6 months ago

Can you use a regex on metadata (or look at the metadata type) and add a hyperlink to URLs?

r-k-g commented 6 months ago

report.zip Updated report example