Closed janagombitova closed 7 years ago
Furthermore, photo or video with geotag or without is also shown as a string
fixed as part of [#1577]
Options and cascades show now as pipe separated values - 👍 Geoshapes show as strings but that is outside of the scope of this issue. - 👍
There is an inconsistency in how the photo and video responses are shown. The photos render on the top of the side bar and are clickable, so that is ok. But in the answers they either show the full url or only a path. Same for videos. @mtwestra why is this and can we show the url for all cases?
You can check it out on https://uat1.akvoflow.org/ on data points located around Schiphol.
@janagombitova: This seems to be some legacy stuff. The path of the photo that is in the actual answer used to contain the path on the device, which is not relevant. To display the photo, the backend stripped off the image name, and the actual path to amazon was build up. From what I see here, the video path is still treated like that, while for the photo both types of paths are now shown. I am not sure where that comes from. In any case, both of these should be replaced by the reconstructed path: amazon root+image folder + filename. This value should be easy to get as it is also used to show the image.
@mtwestra that sounds like an easy fix. Can you take a look at it and try to fix it up? Thank you
Based on the discussion with @mtwestra I am creating a separate issue to deal with the diversity in displaying video and photo responses. https://github.com/akvo/akvo-flow/issues/1799
If we do not take into account the difference in displaying the photo and video answers, then this issue passes the test plan 👍
Since the introduction of codes for option questions and geotagging of media items, the collected data is shown in the public map as a string. This issue refers to https://github.com/akvo/akvo-flow/issues/1632
Question types rendered as a string: