earthquake-eventpages icon indicating copy to clipboard operation
earthquake-eventpages copied to clipboard

Improve display for scietch-text and impact-text products

Open ehunter-usgs opened this issue 6 years ago • 4 comments

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 avatar Dec 13 '18 18:12 ehunter-usgs

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 avatar Dec 13 '18 18:12 ehunter-usgs

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

ehunter-usgs avatar Dec 13 '18 18:12 ehunter-usgs

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.

jmfee-usgs avatar Dec 13 '18 19:12 jmfee-usgs

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.

jdbrown-USGS avatar Dec 19 '18 18:12 jdbrown-USGS