Open allanlasser opened 2 weeks ago
When saving a form on the viewer, we invalidate the document route's data in SvelteKit, forcing a refetch. This mostly works great, except some data in the viewer (like the list of pinned add-ons) isn't impacted by this change.
https://github.com/MuckRock/documentcloud-frontend/blob/448caf5dfd0e92f5c38e5bd86ba8a0035fb8dd4e/src/routes/documents/%5Bid%5D-%5Bslug%5D/%2Bpage.svelte#L83-L91
We'll need to investigate and present solution(s) before continuing to specify work to be done.
When saving a form on the viewer, we invalidate the document route's data in SvelteKit, forcing a refetch. This mostly works great, except some data in the viewer (like the list of pinned add-ons) isn't impacted by this change.
https://github.com/MuckRock/documentcloud-frontend/blob/448caf5dfd0e92f5c38e5bd86ba8a0035fb8dd4e/src/routes/documents/%5Bid%5D-%5Bslug%5D/%2Bpage.svelte#L83-L91
We'll need to investigate and present solution(s) before continuing to specify work to be done.