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

TO DELETE: Feat/delete record from table view #484

Closed a-crea closed 6 months ago

a-crea commented 6 months ago

This PR resolves #460

a-crea commented 6 months ago

@gappc is there a way to easily reload the current dataset? Example: I'm in the event short table view, I delete a record and the table reloads. I managed to achieve that before the major merge of #482, but there should be an even easier and cleaner way now.

gappc commented 6 months ago

Ah, I think that's related to TanQuery that is used to fetch data. Internally it uses a caching algorithm, keyed by the URL. I think the solution could be around here: https://tanstack.com/query/latest/docs/react/guides/query-invalidation

Could you please provide me the steps to reproduce the problem, maybe using your branch?

a-crea commented 6 months ago

@gappc we can ignore and close this PR :) Please consider the #489

sseppi commented 6 months ago

I close without mergin this issue, since a-crea created a new one for the same features.