* Set a min width for the left panel so that it doesn't get squished when the documentation panel is expanded.
* When the doc panel is closed via dragging, disable the plugin icon.
* Adds FCM tab to push notifications doc
* Align the table definition of FCM setup guide with the expo guide
* minor text fix
* run prettier
* add a line about creating a user with a FCM token
* Fix the default active ID
* Adjust shared snippet language in modal
* Add read-only badge if current user doesnt own snippet
* Check for snippet
* Reverse logic
* Update
* Move read only to indicator
* Cleanup
* Check owner permissions
---------
Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
I moved the headers declaration outside of the if statement code block, as in the example, we are required to provide these headers to the redirect if the code fails.
* Move useEncryptedColumns hook and use it in the TableGridEditor.
* Convert the viewsQuery to use data/fetchers. It also handles invalidation of schemas.
* Invalidate the view when deleting a column or a table.
* Use the new query function in VaultStore.
* Remove the viewStore.
* Fix two more edge cases. Add comments for it.
* chore: improve auth screens loading
* Update apps/studio/components/interfaces/Auth/Users/UsersList.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* handle error
* better pagination for users list
* disgusting boolean logic
* return user to previous page after deleting last user
* only show reloading indicator when it's refetching
* fix date formatting
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* Fix new role form
* Rewrite form
* Commit a sin against ts
* Make the afterLabel a ReactNode.
* Fix minor type issues.
* Fix type
* Types
* Use lodash sortBy instead of the mutating array.sort.
* Fix the order of the roles with active connections.
* Sort the roles by lowercased names.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* docs: update with-ionic-angular.mdx
* Fix compile errors
* Update syntax to match @supabase/supabase-js v2
* Correct spelling/grammar mistakes found by Grammarly
I waffled a bit on what to do about the untyped errors. I opted for any because the point of this tutorial is a minimal demostration of supabase that's approachable to a beginner/intermediate level developer. With that in mind, it felt more important to keep the code concise instead of type checking error in every catch block. Totally open to feedback here.
Additionally, I was a bit indecisive on handling the API change re: returning errors instead of throwing. I opted to throw the error immediately if one was returned because that was the only way I could guarantee that the sample snippets worked the same as they did before this update without doing a deep dive.
* Apply suggestions from code review
* chore: run prettier
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>