One of our bigger papercuts in terms of billing is customers not understand compute pricing and that they cannot launch unlimited projects for $25 in total per month. Customers also get confused with "Compute Hours" on their bill.
We already show a breakdown of compute hours/compute costs on the organization billing and usage pages. While that can be improved in the future, this PR aims to make compute costs much more clear when launching a new project.
This should avoid "surprise" compute charges and serves as kaizen improvement. Info is only shown for paid plan organizations, as it's irrelevant for free plan organization.
* Refactor login_page with a _showSnackBar function
* Add an onError block to onAuthStateChange
Errors get swallowed without this error handler, I noticed it when I had requested too many magic link emails, there was no feedback in the ui, nor in the logs in the console.
* Fix SnackBars not being displayed and add a _showSnackBar function
* Fix code samples for login_page.dart and account_page.dart to reflect fixes in #27104
* Fix isError not being passed for an Unexpected Error in login_page
* Update flutter user management example to a more modern code
* Update the guide to match the new content
* run formatter
* got rid of excess code and minor format fix
---------
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
- Remove the cleanup function. (Too much potential for concurrently
running workflows to stomp all over each other. This should run in a
separately scheduled task that locks the table for cleanup.)
- Exit with error code if updates error so problem will show up in
Action notifications.
* Separate the message because it's not connected to the checkbox.
* Fix obsolete fields.
* Update apps/studio/components/interfaces/Auth/Users/CreateUserModal.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
* Revert "Add storybook dependency back so that prod studio works. (#27174)"
This reverts commit 118b4123a8.
* Remove the fallbackNodePolyfills flag since it disables the process.env functionality in Nextjs.
feat: Update Twilio Phone Auth Guide link for configuring WhatsApp sign in
The Twilio Phone Auth Guide link for configuring WhatsApp sign in has been updated in the magic link section of the Supabase JS v2 documentation. The new link points to the correct guide page.
* Disable restores if project paused for longer than 30 days
* Update to 90 days
* Update copy
* PRetty
* Update based on API changfes
* Prettier
* Update
* Minor copy fix
* simplify wording
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com>
* fix: remove warning on branching that services are not available
* fix: convert branching duration to constant
* fix: add callout related to pg_cron and inactivity related pausing
* docs: Adds Dart sample code into using custom schemas guide
* Add Flutter code to OAuth docs
* docs: Add sign out Flutter code to the OAuth guides
* Add Flutter code samples to the auth guides
* docs: Add Flutter code samples to storage docs
* docs: align all Flutter sample code to say Flutter instead of Dart
* docs: sort clean up Flutter and Dart labels
* docs: minor sample code fix
* run prettier