* feat: track rls ai editor usage
when user accepts consent, we track when rls editor:
ai suggestion accepted
ai suggestion discarded
copy code from code block in ai assistant
apply changes from code block in ai assistant
when question is asked in ai assistant
when sql has and error and ai debugger was requested
* fix: add asking part and change to past tense
* chore: add fix with assistant tracking
* fix: deploy error and merge master
* fix: action label fixed at queryerror
The REST and Database sections overlap in responsibilities, and the
Database subsections are getting quite long.
This clears up the responsibilities:
- Database operations belong primarily in `Database`
- Things that are specific to RESTful interactions (such as API keys)
belong primarily in `REST API`
- `REST API` has a hub page that links out to `Database` for database
operations
Left nav for the Database sectionis reorganized to make it more
beginner-friendly. `Fundamentals` and `Working with your database
(basics)` is what you really need to know to get started, and the rest
can be figured out later.
* lwx best of review
* Add images.
* prettify and fix iframe
* minor edits
* adds thumbs and OGs
* add build stage card
* add the top 10
* Adds video
* prettier
* Update date in filename.
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
* Alpha sort db functions, triggers and indexes tables
* Use lowercased names when sorting.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Init RQ for database roles
* Shift all use of roles from pg meta mobx store to RQ
* Deprecate and remove roles pg meta mobx store
* Fix import
* Fix
* Address comments
* remove function child
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com>
* update flutter quick start and example app to use flutter v2
* update examples and blog articles to use Flutter SDK v2
* fix versions used in examples
* update image picker to 1.0.5
* minor code refactor for sample code
* refactor: ai sql logic to common package
* feat: ai sql tests
* feat: test rls policy ai chat assistant
* refactor: jest env loading
* feat(ai): improve sql title and description quality
* fix: ai message role type
* Move the new files to a separate package.
* Remove a forgotten console.log.
* Migrate the tests to use snapshots and commit the snapshots.
* Separate the functions which require edge runtime to be exported via /edge subpath.
* Bust the turbo cache when one of the deps has been rebuilt.
* chore: fix package main/type references
* fix: package lock out of sync
* fix: ai sql debugging to fix typos
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Add database policies RQ and shift all usage of policies from pg meta mobx to RQ
* Deprecate and remove policies store from pg meta mobx store
* Fix policies not showing by table and schema
* Update create policy mutation body
* Fix the position of the error in the profile information form.
* Update the query and the mutation for the connection pooling to use data/fetchers methods.
* Refactor the connection pooling form to use react-hook-form.
* Handle null values also.
* Make the headers same case everywhere.
* Set the data after updating.