visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
31 stars 3 forks source link

ensure status in Draft|Published #1510

Open Rdataflow opened 4 months ago

Rdataflow commented 4 months ago

ensure only Draft|Published are shown WRT https://github.com/zazuko/cube-creator/wiki/LINDAS-Specifics#needed-attributes-that-a-cube-shows-up-on-visualizeadminch

there are rare cases with different status i.e. https://s.zazuko.com/m6iuJB which shouldn't be shown

nb: this PR also makes results more consistent with https://github.com/visualize-admin/visualization-tool/blob/eef59af39594123bacc535484df6654550830fa1/app/rdf/queries.ts#L69-L74

cc @bprusinowski

vercel[bot] commented 4 months ago

@Rdataflow is attempting to deploy a commit to the Interactive Things Team on Vercel.

A member of the Team first needs to authorize it.

bprusinowski commented 4 months ago

Thanks @Rdataflow, LGTM! Side note: I think this situation technically shouldn't happen, looking at the below screenshot? Maybe it could be possible with some custom pipeline? 🤔

Screenshot 2024-05-08 at 08 54 11
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 7:07am
Rdataflow commented 4 months ago

@bprusinowski it's likely due to a combination of legacy C-C projects and code in C-C that doesn't expire deprecated cubes properly :+1: