feat(studio): enable functions counter on Home for self-hosted environments#1612
feat(studio): enable functions counter on Home for self-hosted environments#1612everettbu wants to merge 5 commits into
Conversation
Pull Request Test Coverage Report for Build 22151786704Details
💛 - Coveralls |
🎭 Playwright Test ResultsDetails
Flaky testsFeatures › cron-jobs.spec.ts › High Query Cost Banner › shows banner and still displays cron jobs when query cost exceeds threshold Skipped testsFeatures › assistant.spec.ts › AI Assistant › Can send a message to the assistant and receive a response |
|
Upstream PR was closed or merged. Code is synced via branch mirror. |
Mirror of supabase/supabase#42992
Original author: luizfelmach
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
Feature
What is the current behavior?
The Functions counter on the Home page is only displayed in platform environments.
In self-hosted setups, the counter is hidden due to a platform guard, even though Functions may be available.
What is the new behavior?
The Functions counter is now also displayed in self-hosted environments.
This is now possible thanks to the following PRs:
These PRs introduce and enable the API required for listing Functions in Studio, making it feasible to show the Functions count outside of the platform environment.
Additional context
Related issues: #36285
This change removes the platform-only restriction around the Functions card in the Home interface, allowing feature parity between platform and self-hosted deployments where the Functions API is available.