usgs / earthquake-eventpages

Web application for displaying earthquake event pages.
Other
28 stars 22 forks source link

Improve display for scietch-text and impact-text products #1582

Open ehunter-usgs opened 5 years ago

ehunter-usgs commented 5 years ago

We currently display both of these text products as blobs of text after all of the summary component tables. This does not really provide any context for the text and can also lead to some confusing layouts on the page (see images).

ehunter-usgs commented 5 years ago

This is the layout for a impact-text product when no other "impact" products exist. Very confusing.

screen shot 2018-12-13 at 10 53 12 am
ehunter-usgs commented 5 years ago

This is the layout for a impact-text product when other "impact" products exist. This makes it feel like the text is related to the last product (PAGER) listed on the page. I think a header would provide some context to indicate that this is impact text.

screen shot 2018-12-13 at 10 57 48 am
jmfee-usgs commented 5 years ago

Currently, text products need to include their own headers when necessary. I agree this isn't ideal.

For example, general-text products often include an h2 Tectonic Summary header. At some point, we need to separate these back into a real tectonic-summary product (and remove the old, different tectonic-summary products); as well as figure out a better way to handle the impact text products that are perhaps better described as "felt-description" so we can more accurately add headers.

jdbrown-USGS commented 5 years ago

A horizontal Line or some white space might work. This would add some separation if a header is not given but if one is provided maybe it would not look to out of place.