* Add custom types for queries, mutations and infinite queries.
* Migrate all queries to use the new type.
* Migrate all infinite queries to useCustomInfiniteQueryOptions.
* Migrate all mutations to use useCustomMutationOptions.
* Add type to all imports in `types` folder.
* Replace all usage of useProjectContext with useSelectedProjectQuery
* Replace all usage of useSelectedProject with useSelectedProjectQuery
* Replace all usage of useProjectByRef with useProjectByRefQuery
* Replace all usage of useSelectedOrganization with useSelectedOrganizationQuery
* Deprecate useSelectedProject, useSelectedOrganization, and useProjectByRef hooks
* Deprecate ProjecContext
* Fix connection pooling feature flag
* Fix type issues with lint-query after updating API typs
* Apply same fix for connection_string to ConnectTabContent
* Update useMemo dependency arrays in ConnectionPooling
* Remove allowPgBouncerSelection enabled check on react queries - feels unnecessary and adds some complexity to the loading state of the forms
* Remove conosle log
* Remove selectedRow which was row index but the info was already available through selectedLint.
* Update the lint query with the new code.
* Merge a render function into its calling component.
* Remove duplicated logic for entity name and icon.
* Fix minor mapping logic.
* Unite the loading flags in the security advisor.
* Add links to docs, new categories and update lint script
* Split linter into security and performance
* Move not found to own component
* Move type
* Split linter into two pages, DRY components
* Cleanup
* Refactor the functions page to keep its state in the URL.
* Derive the filter options from currently active lints.
* Update the lint query sql.
* Update the urls to the docs.
* Fix the paddings on the filterPopover.
* Add handling for the other types of lints.
* Comment out the ignore lint functionality.
* Fix a misspell.
* unbest
* Bring back the CTA button.
* Update the SQL code from the splinter repo.
* Add handling for the duplicate index lint rule.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Add lints, 2
* Add basic table
* Handle ignoring lints
* Add loading state
* Cleanup
* move utils
* Cleanup
* Shift lint to react query
* Merge master solve import lint issue
* Update lints UI
* Optional params
* Add entity and schema name
* Rename lints to linter, format results
* Wrap in markdown
* Adjust layout of some components
* Add CTAs to each lint
* fix ignored problems section
* Update type
* Add cta buttons for auth rls initialization issues
* Change metadata object
* Remove unneeded file.
* Add a component for CTA for a lint row.
* Make the lint query to be more type-safe.
* Various fixes to the lint table.
* Show the remediation link.
* Fix the button icons.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>