mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
Moves the `/storage`, `/realtime`, `/compute`, `/functions` and `/branches` page bodies into their route files and deletes the pages (FE-3106). Part 8 of the stack. **Depends on:** #53216 **Changed:** - `routes/project/$ref/{storage,realtime,compute,functions,branches}/**` – 26 page bodies inlined. Wrappers the routes imported from pages (`BranchesPageWrapper`, `MergeRequestsPageWrapper`, …) are now private to their route files. Bucket redirects, function create/deploy navigation and merge-request links use typed `navigate`/`Link`; function logs/invocations use `useLocation().href` - Edge function overview, logs-navigation, vectors, compute and branches tests render the routes with `renderRoute` - `routes/project/$ref/storage/files/buckets/$bucketId.tsx` – also carries master's #52777 (Purge CDN cache action and single `action` query param for the bucket modals), ported from the deleted page so it isn't reverted **Removed:** - 26 page files Addresses [FE-3106](https://linear.app/supabase/issue/FE-3106/move-page-bodies-into-route-files-and-delete-pages). ## To test - Storage: open a bucket, its policies link and S3 settings – same layout; deleting a bucket returns to the list - Edge Functions: create a function, open Overview/Code/Logs/Invocations/Details – same layout - Branches and merge requests – lists and "Review" links work --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>