Files
ServerKit/backend
Juan DenisandClaude Opus 5 e659773bfc fix(views): shareable links on Domains, and a restore guard for saved views
Two gaps found by re-reading the seams rather than the pages.

useViewLink was wired into useTableChrome but NOT into useGridConfig, so
/domains -- the page the whole grid was built for -- was the one list page that
could not produce or accept a view link. Both hooks share it now, so a DataGrid
page and a DataTable page emit the same URLs.

SavedView had no pre_restore. Deleting a view frees its name AND its slug (the
unique indexes are partial), so either can be taken by the time you press
Restore; clearing the tombstone would then violate the index and 500 at commit.
Same guard Domain already had.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 11:09:13 -04:00
..
2026-08-04 09:10:56 -04:00