Disable preview for .txt files
Closed this issue · 2 comments
Problem description
The datagrid preview and its associated features should only be available for csv, Excel and G-Spreadsheet files. In this sense, when a user ingest a txt file, the ODE should show the "Preview not available" message that we have implemented for other formats like PDF and Word documents.
@romicolman this is not exclusive to .txt
files. try opening .geojson
files or images. they can all be opened with the ODE in its current state. Do we want to address this as well?
What about the menu? Do we keep the metadata button enabled so the users can see the filenames?
Hi @guergana for the stable version the ODE should only allow the preview for Excel, csv and Google Sheets files. In this sense, for any other format type the tool show display the "Preview not available" message.
Regarding the top menu options on the preview screen, we should only keep the metadata button (see image below with a PDF):