bug #8739
closedremaining issues for description detail page
100%
Description
Copied from #8595
- Evtl. will man auf aggr. Description von höheren Taxa nicht die Specimen als Quellen anzeigen, sondern die niedrigeren aggr. Description.
AM: Generally all descriptive data should be shown, not only structured descriptions. E.g. distribution data is still missing. => #8687
TODOs from Code review:¶
1.
DONE
description.inc#1179 :
$enclosing_tag = cdm_feature_block_element_tag_name($feature_block_settings);
is unused, this breaks the feature block setting as_list (old bug)
2. Don't use <i>
and <br>
etc to apply styling, all styling must be applied through css
DONE cdm-dataportal|bea70813 & cdm-dataportal|753a8083
- pages.inc:
render_cdm_description_link()
... - pages.inc:
$render_array[] = markup_to_render_array("Aggregation source from ".$description->created.'<br><br>');
- pages.inc: render_cdm_description() -
$detail_html = (empty($description_string)?$link_text:$description_string).$iconlink."<br><br>";
- pages.inc: render_description_string()
$descriptionString .= '<i>' . $element->feature->representation_L10n . '</i>: ' . $state_data . "; ";
}
break;
case 'QuantitativeData':
$descriptionString .= '<i>' . $element->feature->representation_L10n . '</i>: ' . compose_quant_stats($element) . "; ";
- pages.inc: compose_cdm_description()
if (isset($description->describedSpecimenOrObservation)) {
$render_array[] = markup_to_render_array("<b>Specimen</b><br>");
$render_array[] = markup_to_render_array(render_cdm_specimen_link($description->describedSpecimenOrObservation));
}
if (isset($description->taxon)) {
$render_array[] = markup_to_render_array("<b>Taxon</b><br>");
$render_array[] = markup_to_render_array(render_cdm_taxon($description->taxon));
}
SampleSize:
diese Sache mit der SampleSize, die überall auftaucht, ist das schnell zu fixen? Das ist ziemlich irritierend.
- warum werden die nur bei einem Teil der Characters in Klammern (wie es sein sollte), bei den anderen aber als "92 Sample Size" ausgegeben?
- wir sollten in der Tabelle im Header hinter "States" erklärend anfügen: "(bracketed numbers denote sample size)" oder so, ähnlich bei der Description ...
===> #8766
Name der Description
Da war ich ungenau. Wenn das Taxon einen TaxonName hat, sollte der TaxonName.titleCache genommen werden, sonst wird’s zu lang. Nur wenn taxon.getName() == null dann taxon.titleCache nehmen. Wäre jedenfalls mein Vorschlag und machen wir an vielen andere Stellen so. Auf der Seite kommt dann ja auch nochmal der Link, wenn man es genau haben will.
===> #8779
Hallo,
hier wie besprochen noch ein paar Anmerkungen zur Portaldarstellung
zu http://test.e-taxonomy.eu/dataportal/preview/greece_bupleurum/cdm_dataportal/description/ff646ffe-0e6a-4edf-8aff-d3a5e0fdab11
- wir sollten in der Tabelle im Header hinter "States" erklärend anfügen: "(bracketed numbers denote sample size)" oder so, ähnlich bei der Description ... DONE: Note appears as caption below the table and feature block, the text is aligned right.
- bei numerischen Characters wird immer noch am Ende die Specimen-Zahl ausgegeben als e.g. "10 SampleSize", auch hier sollte stehen "[10]" - DONE
Bei "stem width" wird als Minimum "0" angegeben: wie kommt das? Dateneingabe- oder -ausgabe-Fehler?REJETCED: this is a problem in the aggregation algorithm not in the dataportal.- es fehlt hier die Maßeinheit. Dateneingabe- oder -ausgabe-Fehler? - DONE: Problems solved by cdm-dataportal|ad7fa57c but nothing visible yet due to missing data.
- abgesehen davon, dass die Mittelwertangabe zwischen Min und Max unüblich ist, sind 4 Nachkommastellen mindestens 2 zuviel. Das lässt sich doch sicher angeben? ==> #8771
- Eine bessere Darstellung wäre ", mean = xx hinter Min+Max . ==> #8786
- Presence-Problematik: Hatten wir nicht mal eine Regel aufgestellt, wann die Angabe von Presence entfallen soll? Ganz schlimm: "Entire Plant present (28)"; siehe auch, im Gegensatz: "adventitious root presence present (2)"; spine presence present (2), absent(1)" ===> #8759
- Die seq. Referenzen bei den Taxanahmen sollten in solchen Zusammenhängen unbedingt entfallen, das ist nur krude und völlig überflüssig, da es ja eine Link aufs Taxon gibt; eigentlich sind sogar die Taxonautoren entbehrlich. ==> #8779
Schöne Grüße,
Norbert
Related issues
Updated by Patrick Plitzner almost 4 years ago
- Related to feature request #8595: Create description detail page added
Updated by Patrick Plitzner almost 4 years ago
- Related to deleted (feature request #8595: Create description detail page)
Updated by Patrick Plitzner almost 4 years ago
- Due date set to 10/17/2019
- Start date changed from 12/03/2019 to 10/17/2019
- Follows feature request #8595: Create description detail page added
Updated by Patrick Plitzner almost 4 years ago
- Due date deleted (
10/17/2019) - Start date deleted (
10/17/2019)
Updated by Andreas Müller almost 4 years ago
- Related to bug #8687: Description page must show all DescriptionElement subclasses added
Updated by Andreas Müller almost 4 years ago
- Assignee changed from Patrick Plitzner to Andreas Kohlbecker
- Target version changed from 287 to Release 5.12
Updated by Andreas Kohlbecker almost 4 years ago
- Priority changed from New to Highest
Updated by Andreas Kohlbecker almost 4 years ago
- Description updated (diff)
- Status changed from New to In Progress
Updated by Andreas Kohlbecker almost 4 years ago
- Related to bug #8766: Aggregated Descriptions: show Sample size as [$SAMPLE_SIZE] added
Updated by Andreas Kohlbecker almost 4 years ago
- Related to task #8768: DISCUSS: place CdmLinks in a separate pseudo feature block? added
Updated by Andreas Kohlbecker almost 4 years ago
- Description updated (diff)
Updated by Andreas Kohlbecker almost 4 years ago
- Copied to feature request #8771: display of average value with precision so that it differs from min and max by one digit added
Updated by Andreas Kohlbecker almost 4 years ago
- Related to bug #8779: Description page: use render_taxon_or_name() for creating the page and description title and taxon links added
Updated by Andreas Kohlbecker almost 4 years ago
- Related to feature request #8714: description page: Show multiple datasets per description as list of links added
Updated by Andreas Kohlbecker almost 4 years ago
- Description updated (diff)
- % Done changed from 0 to 30
Updated by Andreas Kohlbecker almost 4 years ago
- Copied to task #8786: Display of mean value with min max added
Updated by Andreas Kohlbecker almost 4 years ago
- Status changed from In Progress to Resolved
- Assignee changed from Andreas Kohlbecker to Andreas Müller
- % Done changed from 30 to 50
AS far as I see, this ticket is either solved or remaining issues are copied to new tickets.
Therefore I suggest closing this ticket.
Updated by Andreas Müller almost 4 years ago
- Related to bug #8788: Cloned descriptions do not show up in dataportal anymore added
Updated by Andreas Kohlbecker almost 4 years ago
- Related to feature request #8798: description page: Show character hierarchy added
Updated by Andreas Müller over 3 years ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Müller to Andreas Kohlbecker
- % Done changed from 50 to 100
This all seems to be implemented or moved to other tickets. Norbert, please reopen if you think some issues are not fully fixed.