Issue 10648

Popup dialog has problems displaying text

10648
Reporter: kbraak
Assignee: mdoering
Type: Bug
Summary: Popup dialog has problems displaying text
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-01-18 11:02:30.515
Updated: 2013-08-29 14:44:51.767
Resolved: 2012-12-05 10:46:34.619
        
Description: Popup should have a resizable width according to the length of its text - long texts are displayed in an unreadable vertical column.

It also doesn't close.

Please see the attached screenshot showing the problem rooted in the Geo Coverage Description's popup dialog.]]>
    

Attachment Screen Shot 2012-01-18 at 10.57.16 AM.png



Author: kbraak@gbif.org
Comment: The problem of the popup not closing is covered in this issue: http://dev.gbif.org/issues/browse/POR-64
Created: 2012-01-19 11:30:25.015
Updated: 2012-01-19 11:30:25.015


Author: trobertson@gbif.org
Comment: Please paste a link to an example
Created: 2012-08-27 14:50:03.523
Updated: 2012-08-27 14:50:03.523


Author: mdoering@gbif.org
Comment: http://staging.gbif.org:8080/portal-web-dynamic/dataset/9e7ea106-0bf8-4087-bb61-dfe4f29e0f17
Created: 2012-08-28 17:19:34.055
Updated: 2012-08-28 17:19:34.055


Author: javierarce
Comment: This kind of tooltips were intended to be used with short texts. I think we should use another solution to show texts that big. 
Created: 2012-10-03 11:46:34.477
Updated: 2012-10-03 11:46:34.477


Author: mdoering@gbif.org
Comment: yes, probably best. Shall we hand the issue over to Diego then?
Created: 2012-10-03 12:06:46.64
Updated: 2012-10-03 12:06:46.64


Author: javierarce
Comment: We should rethink this kind of dialogs, Diego (check the comments)
Created: 2012-11-16 15:16:45.693
Updated: 2012-11-16 15:16:45.693


Author: mdoering@gbif.org
Created: 2012-11-16 15:26:53.442
Updated: 2012-11-16 15:26:53.442
        
that spatial coverage now became already a scrollable div, but there should be other places still having a bit larger content.
We also have a larger white popup box somewhere, but I cant remember/find where
    


Author: dcano
Created: 2012-11-16 15:31:52.965
Updated: 2012-11-16 15:31:52.965
        
I don't really understand the presence of this text there. The original idea was it to be a brief description of the areas in the world that the dataset covers: "India", "South america and Caribe", "South african seaside" or things like that. Is the current one a generic description of India or is particularly related to the dataset?. What happens when geographic coverage spans through different countries? Can you confirm you need to display all this text?

If that's the case, we need a dedicated second-level page for this field (the ones with the yellow ribbon on the top). And we need to format the text: keep the BRs, bullets, etc. Currently it's unreadable.

Anyway: I think we should style intra-pane scrolls. We already added them for image metadata (http://dev.gbif.org/issues/browse/POR-67) and we are going to need them.
    


Author: mdoering@gbif.org
Comment: yes, thats needed and I agree its tough to read. If its a separate page we would still show a preview?
Created: 2012-11-16 16:44:15.125
Updated: 2012-11-16 16:44:15.125


Author: dcano
Created: 2012-11-16 17:04:41.769
Updated: 2012-11-16 17:04:41.769
        
Sure, a paragraph and then a "Read more" link with the same style as the already designed (arrow to the right).

But we should really think if all this text here is really useful.
    


Author: dcano
Comment: Sorry Markus, I didn't read your "that's needed". let's go with the aux page then.
Created: 2012-11-16 17:05:42.916
Updated: 2012-11-16 17:05:42.916


Author: mdoering@gbif.org
Created: 2012-11-16 18:06:09.741
Updated: 2012-11-16 18:08:01.593
        
Diego, maybe this helps: http://ipt.gbif.org/resource.do?r=test
We ened to show everything for a dataset that is covered by the underlying EML. The example above is another tool we produce, the IPT, that allows to author this data and therefore also has a rendering.

I think its nice to have a single page view of that data and to not have to follow various pages. It also allows one to print or create a pdf from it (although looking at the IPT that layout would proabably be better for printing)
    


Author: mdoering@gbif.org
Comment: done by Tim when redesigning the maps in some commits this week or last
Created: 2012-12-05 10:46:34.647
Updated: 2012-12-05 10:46:34.647