Repository navigation
feat(studio): enable functions counter on Home for self-hosted environments - #42992
Conversation
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@luizfelmach is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe change removes the Comment |
Braintrust eval report
|
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.