Jordi Enric
3cad1a5bf2
Move warehouse access tokens to its own page under settings ( #27822 )
...
* move warehouse access tokens to its own page under settings
* add desc
* rm unnecessary imports
* grmmar
2024-07-06 10:18:06 +02:00
Alaister Young and Kevin Grüneberg
70da0f1d1d
chore: cleanup packages ( #27770 )
...
* chore: cleanup packages
- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir
* chore: avoid barrel file imports in studio (#27771 )
* chore: avoid barrel file imports
- Removes some unused imports
- Avoids barrel file import for faster builds + less memory
* add eslint rule
* type fixes
* delete layouts barrel
* delete components/grid barrel file
* delete components/grid/utils barrel file
* delete components/grid/components/common barrel file
* delete components/grid/components/editor barrel file
* delete components/grid/components/formatter barrel file
* delete components/grid/components/grid barrel file
* delete components/grid/components/header/filter barrel file
* remote components/grid/store barrel file
* remove components/interfaces/Auth/Policies barrel file
* delete components/interfaces/Settings/Logs barrel file
* delete components/ui/CodeEditor barrel file
* delete components/ui/Forms barrel file
* delete components/ui/Shimmers barrel file
* delete data/analytics barrel file
* delete hooks barrel file
* cleanup lib/common/fetch barrel file
* final * barral files cleanup
* global react-data-grid styles
* remove console.log
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
* fix build
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-07-04 14:48:10 +08:00
Austin Tran
48eee8fa58
fix: failed to retrieve postgres version in setting ( #20556 )
...
* chore: make a fake api to avoid showing error page
* chore: use redirect to limit access to setting page
* chore: revert change
2024-03-14 14:07:35 +00:00
Joshen Lim
7d70f5a478
Remove observer calls for pages and components that no longer use mobx stores ( #21934 )
...
* Final replacements of ui setNotification with toast
* Rip out UiStore
* Rip out UiStore
* Shift files under authConfigSchema to components/Auth
* Rip out use of observers
* Remove observer calls for pages and components that no longer use mobx stores
2024-03-12 15:51:47 +08:00
Kevin Grüneberg
f9a55935f5
chore: use type imports for types/interfaces ( #21738 )
2024-03-04 20:48:22 +08:00
Kevin Grüneberg
13cfc0abb5
fix: barrel imports ( #21728 )
...
Avoid importing all components via barrel files that lead to bloated bundles/chunks
2024-03-04 18:39:53 +08:00
Joshen Lim
7f084ce27b
Improve loading states for project settings ( #21254 )
...
* Improve loading states for project settings
* Remove console log
2024-02-15 17:10:59 +08:00
Jordi Enric
f44cee41c1
fix: add configuration title to settings menu ( #21018 )
...
add configuration title to settings menu
2024-02-05 16:10:51 +01:00
Joshen Lim and Alaister Young
da792ba0ba
Chore/show rr UI only if project is enabled ( #19642 )
...
* Only show RR UI if project is enabled
* Only show RR UI if project has read replicas enabled, shift DatabaseSelector state to valtio, add Database Selector to API URl
* Update usage of Project interface from types to Project from project-details-query
* Fix ts errors
* Another one
* Another one...
* God one more
* Fingers crossed
* jesus
* Add deprecate mark on ProjectBase
* Resolve conflicts
* Rename ProjectState from valtio to DatabaseSelectorState
* Rename file
* fix imports
* tiny code changes
* Fixes
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2023-12-20 16:49:53 +07:00
Joshen Lim and Alaister Young
04c19a0d62
Chore/refactor db extensions to rq ( #19622 )
...
* Init db extensions to RQ
* Shift all extensions to RQ
* Deprecate extensions meta store
* Address comments
* Address comment
* Address comment
* Update apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Remove connection string check for entity-types-query and database-triggers-query
* Remove connection string checks
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2023-12-13 12:02:20 +07:00
Ivan Vasilov
436bdb10ae
chore: Move the studio app to apps/studio ( #18915 )
...
* Move all studio files from /studio to /apps/studio.
* Move studio specific prettier ignores.
* Fix the ui references from studio.
* Fix the css imports.
* Fix all package.json issues.
* Fix the prettier setup for the studio app.
* Add .turbo folder to prettierignore.
* Fix the github workflows.
2023-11-15 12:38:55 +01:00