okfn / opendataeditor

No-code application to explore and publish all kinds of data: datasets, tables, charts, maps, stories, and more. Forever free and open source project powered by open standards and generative AI.
http://opendataeditor.okfn.org
MIT License
149 stars 18 forks source link

Problem when adding a partial URL to the ODE - Remote file feature #440

Open romicolman opened 1 week ago

romicolman commented 1 week ago

Problem description

Let's say a user makes a mistake and copies/pastes a part of a URL (example). The ODE will display this message:

Captura de pantalla 2024-06-24 a la(s) 10 58 31 a  m

I have also cut another portion of the same URL and pasted it on the Remote File box (example). In this case, the ODE did not show a preview the data but added the file on the left menu and named it using part of the URL:

Captura de pantalla 2024-06-24 a la(s) 11 08 08 a  m

In this particular case, is there a way to avoid the ODE to add the file if it could not be loaded properly?

Steps to reproduce it

Original URL used for testing purposes

Suggested solution

Captura de pantalla 2024-06-24 a la(s) 11 56 34 a  m