noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
8 stars 7 forks source link

As an Open Data Hub Editor I want that the new features of the Document element of the EventShort are implemented in the Data Browse 2.0 #359

Closed sseppi closed 5 months ago

sseppi commented 1 year ago

The Upload Document component should be extended by introducing the following features:

I share here below an example on the new data structure:

 "Documents": {
        "de": [
          {
            "Language": "de",
            "DocumentURL": "https://tourism.images.opendatahub.bz.it/api/File/GetFile/374d3f3c-fa99-45a5-b574-c226f95f47a2.pdf",
            "DocumentName": ""
          }
        ],
        "it": [
          {
            "Language": "it",
            "DocumentURL": "https://tourism.images.opendatahub.bz.it/api/File/GetFile/35e57b02-6150-43fb-a7fb-896ade46d6c0.pdf",
            "DocumentName": ""
          }
        ]
      }

old(deprecated)

"EventDocument": [
        {
          "Language": "de",
          "DocumentURL": "https://tourism.images.opendatahub.bz.it/api/File/GetFile/374d3f3c-fa99-45a5-b574-c226f95f47a2.pdf"
        },
        {
          "Language": "it",
          "DocumentURL": "https://tourism.images.opendatahub.bz.it/api/File/GetFile/35e57b02-6150-43fb-a7fb-896ade46d6c0.pdf"
        }
      ],

Finally we need also to add the possibility for the user to decide on which language the file is visible. Our users asked the following:

I share here below an example on how Rudi implemented this feature in the actual Data Browser: eventshort_document

sseppi commented 5 months ago

This isue has been already implemented.