Jordi Enric
a5b626b7bc
Fix filters and sort not added to query in table editor ( #34862 )
...
fix filters and sort not added to query in table editor
2025-04-09 14:08:44 +02:00
Joshen Lim
252cfcc488
Adjust AI assistant panel styles ( #34855 )
2025-04-09 16:58:05 +08:00
Joshen Lim
d49c0ad300
Show IOPS price change in DiskManagementReviewAndSubmitDialog when switching storage type but no changes to IOPS value ( #34854 )
2025-04-09 16:47:40 +08:00
Joshen Lim
22b888bd46
Adjust organization managed by alert ( #34851 )
2025-04-09 15:46:52 +08:00
Saxon Fletcher and Joshen Lim
5fe1bdd54d
container queries basics ( #34724 )
...
* container queries basics
* refine padding
* add contain
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-09 15:28:21 +08:00
Jordi Enric and Joshen Lim
7283c3103e
Update project usage chart date picker ( #34734 )
...
* update project usage chart date picker
* Refactor ProjectUsage component: comment out unused chart intervals and update default interval state
* rm commented out options
* Fix TS issues
* Small fix
* Smol fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-09 15:11:24 +08:00
Saxon Fletcher and Joshen Lim
c7378b0bf5
remove flag for just accessing inline editor ( #34849 )
...
* remove flag for just accessing inline editor
* remove feature flag in header
* clean up
* fix
* Tiny tiny style fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-09 14:42:15 +08:00
Joshen Lim
09c6f0aa2c
DropdownMenu component modal prop default to false, but allow passing prop value ( #34846 )
...
* DropdownMenu component modal prop default to false, but allow passing prop value
* Smol fix for advisor
2025-04-09 13:59:57 +08:00
Thomas
1bbe434961
chore: project transfer preview supports messages of level INFO ( #34754 )
...
chore: project transfer preview now supports messages of level INFO
2025-04-09 13:06:40 +08:00
Terry Sutton
28c1c213eb
Fix modal locking up page ( #34837 )
2025-04-08 22:35:36 +02:00
Jordi Enric and Joshen Lim
1d4c0af295
Table Editor filters: Add backwards compatible filter parser ( #34796 )
...
* add custom parser
* pass old params to setParams
* refactor all this bullshit code to something simpler, add tests
* rm consolelogs
* Address feedback
* fix and rename
* solve conflict
* add testing lib hooks dep
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-08 15:46:11 +02:00
Saxon Fletcher
61a18cdcb6
set default value if empty array ( #34828 )
2025-04-08 21:30:35 +10:00
Joshen Lim
ec7e80bbef
Add studio version in header for local self host ( #34018 )
...
* Add studio version in header for local self host
* Fix
* Address feedback
* Fix
* Remove Docker Hub context, everything is CLI
* Update to use CLI version as the comparator instead of docker image version
* Fix
2025-04-08 18:06:48 +08:00
Kevin Grüneberg
4532286e04
fix: align with API types ( #34821 )
...
* fix: align with API types
* Update new-project.constants.ts
2025-04-08 17:17:35 +08:00
Alaister Young
d16fe56f89
fix: minor org layout fixes ( #34816 )
2025-04-08 13:05:55 +08:00
fb24d91305
Feat/ Org layout ( #33150 )
...
* update test
* move back button, fix width issues on sidebar
* update sidebar logic
* Update ProjectLayout.tsx
* lots of updates. layouts now streamlined. localstorage for tabs in use
* moar
* bunch of new tab logic
* fix empty tab issue
* Update tabs.ts
* layouts switched
* new pages now have fixed layouts
* fix tabs
* fix code bg
* add tabs support for multiple project refs
* intialization issue
* update ID handling
* fixed isOpened state for SQL snippets
* remove old assistant because its bugging up panels
* preview style works in sql editor
* fix border
* removes preview tab if there is one
* fix background of loading skeleton
* lots of issues with types/icons/redirect
* new tab cards
* snippets in empty state now work
* moar stuff
* tabs now in feature flags
* Update tabs.ts
* Update tabs.ts
* moar
* add feature previews
* remove code not needed
* Update next-env.d.ts
* Delete FeaturePreviewModal.tsx
* fix typescript errors. remove more explorer stuff
* remove explorer files
* fixed issues with templates and quickstarts tab
* fixed active state when tabs are not opted in
* logic error
* fix open/highlight issue when opted out of tabs
* templates/quickstarts now displayed with new cards
* Update recent-items.tsx
* Update new-tab.tsx
* add icon back in
* add old empty state back in
* recent items updated to respect project ref
* localstorage cleanup on deletion
* moar
* overflow tabs now working
* correct tab names used for new sql templates/quickstarts
* ongoing queries fix
* cleanup
* update images
* Update RouteValidationWrapper.tsx
* Update AppLayout.tsx
* Update NavigationBar.tsx
* add headers back into side panels
* improve writing
* tabs now drag and drop a billion times better
* Update tabs.tsx
* Update tabs.tsx
* init issues on stores, which caused a race condition.
* fix hydration error
* init
* init sidebars
* init
* Update app-default-navigation.tsx
* user dropdown updates
* moar layouts
* init
* moar
* moar
* updat
* reverse top bar
* some banners
* moar
* start adding account page
* change styling of dropdowns
* Update sidebar.tsx
* fix new tab issue in sql
* Update ProjectLayout.tsx
* Update pnpm-lock.yaml
* latest
* Update pnpm-lock.yaml
* moar layouts on account
* getLayout updates
* more fixes
* force a cache build
* moar
* Update app-default-navigation.tsx
* fix AI button animation
* moar layout
* account pages refactored
* Update user-dropdown.tsx
* Update new-tab.tsx
* move EditorMenuListSkeleton
* Fix type issues
* fixes: DESIGN-87
fixes: DESIGN-87
* refactor sort/filter components
* Update rules-set-button-text.tsx
* remove discussions for now
* small styling fixes
* Update FeaturePreviewModal.tsx
* Update FeaturePreviewModal.tsx
* Update RouteValidationWrapper.tsx
* revert
* revert
* revert
* revert
* revert
* more revert
* Update collapse-button.tsx
* Update SQLEditorTreeViewItem.tsx
* revert
* Update SchemaGraph.tsx
* Delete new-upcoming.tsx
* revert
* Update ProjectLayout.tsx
* fix home link
* Update table-editor.spec.ts
* test update
* Update projects.tsx
* remove
* Delete sidebar-open-top-banner.tsx
* add organizations page
* Update table-editor.spec.ts
* Fix the playwright tests.
* layout fixes
* layout fix
* revert sort/filter
* Update LastSignInWrapper.tsx
* revert
* revert
* remove
* update file names
* revert
* revert
* revert
* advisor lint page tabs revert
* revert
* revert
* revert
* revert
* revert
* revert tabs
* remove packages
* add sidebar
* sidebar docs added
* add sidebar
* fixed issues
* fix mobile
* fixes
* add org side bar in
* redirect updated
* fix more layouts
* move settings icon back down
* remove old stuff
* Delete SideBar.tsx
* use ProfileImage component
* spelling
* Update ThemeSettings.tsx
* Update ThemeSettings.tsx
* Update Sidebar.tsx
* layout udpate
* Update Sidebar.tsx
* fixes
* Minor lints
* Update Sidebar.tsx
* create a alt user dropdown for self hosting and local
* add fragment back in
* Adds Theme Selector for local/self hosting
* Update UserDropdown.tsx
* fix theme selector for local self host
* Update index.ts
* Update DefaultLayout.tsx
* now supports feature preview
* remove old files
* rename files
* revert
* Update LayoutHeader.tsx
* clean
* revert
* revert
* Update resource-banner.tsx
* remove redundant side bar stuff
* organizations action bar updated. removed hardcoded value
* fix type errors
* fix tests
* Undo test changes
* Fix account pages for when feature preview is off
* Bug fixes 1
* Missing key in map of EmailTemplates
* Fix missing border in StorageExplorer
* fix missing header in performance advisor
* Final clean up
* Fix DefaultLayout re-rendering issue on auth pages
* A couple of fixes
* Redirect to /organizations if land on /projects with feature preview on
* Route back to /projects if toggling preview off on /organizations
* Add HomePageActions to /org/slug
* make re-routing nicer
* Moar fixes
* Fix logging in redirect to /organizations irregardless of feature preview
* Fix missing withAuth in OrganizationLayout
* Minor clean upo
* Fix branch dropdown not aligned
* Add feature preview for update layout
* update dropdowns to only be chevron triggered in new layout
* Update content-query.ts
* Update entity-types-infinite-query.ts
* add IS_PLATFORM for org dropdown
* Add IS_PLATFORM check for EnableBranchingDropdown in LayoutHeader
* Midway fixing mobile nav
* Mobile nav fixes
* Address feedbacks
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-04-08 11:32:29 +08:00
Joshen Lim and Alaister Young
f8265f1b42
Fix version selector if only one result returned, and default to first result if no GA version found ( #34815 )
...
* Fix version selector if only one result returned, and default to first result if no GA version found
* Update apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Lint
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-04-08 11:01:54 +08:00
Jordi Enric
1588f04909
Charts: Strings in Y Axis break charts. ( #34804 )
...
fix
2025-04-07 18:17:19 +02:00
Etienne Stalmans
9fc77a7d51
chore: fix quoting for json column export ( #34799 )
2025-04-07 12:13:33 -02:30
Joshen Lim
5eddb59e36
Fix enabling captcha link to protection page, and add docs to captcha providers ( #34789 )
2025-04-07 21:03:34 +08:00
Joshen Lim
530988bc90
Set URL provider value to null on auth providers on cancel and save ( #34788 )
2025-04-07 19:00:55 +08:00
Jonathan Summers-Muir and Joshen Lim
aefb34fd9c
Feat: Adds Oauth client management ( #34591 )
...
* adds Oauth client update
* moar
* Update OAuthSecrets.tsx
* Fix TS issues
* moar
* Minor refactors
* Minor refactors
* Tidy up
* Clean up
* Clean up
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-07 17:43:46 +08:00
Jordi Enric
34d6749cd0
Log Detail: add copy as json button ( #34784 )
2025-04-07 11:23:22 +02:00
Jordi Enric
e4a5aa7318
log explorer: add last 3 hour option ( #34782 )
...
add last3 hour opt
2025-04-07 11:06:34 +02:00
Joshen Lim
1b4700c67d
Add meters table and swap listbox to combobox for WrapperTableEditor target selector ( #34781 )
2025-04-07 16:27:57 +08:00
Terry Sutton
d69fbfa703
Chore/add copy error button ( #34700 )
...
Add copy error button to SQL Editor
2025-04-04 14:41:02 -02:30
Alaister Young and Joshen Lim
31f5347d6e
fix: stop needlessly saving snippets ( #34739 )
...
* fix: stop needlessly saving snippets
* Small fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-04 21:40:20 +08:00
Joshen Lim
8c57907f0d
Remove safe parse checking in NewOrgForm updateForm preventing completely removing organization name in input field ( #34735 )
2025-04-04 08:49:18 -02:30
Joshen Lim
d25451efe5
Remove useKeyboardShortcuts in Results.tsx ( #34733 )
...
* Remove useKeyboardShortcuts in Results.tsx
* Remove Cmd C overrides in table editor
* Refactor onCellKeydown to a common utils, and add check for ctrlKey
2025-04-04 18:50:02 +08:00
Jordi Enric
2865138adb
Update reports datepickers ( #34727 )
...
* default to 69mins add 3 hours opt
* Enhance Reports Datepicker Helpers with Plan Availability
- Introduced `ReportsDatetimeHelper` interface to include `availableIn` property for plan-specific availability.
- Updated existing datepicker helpers to specify availability for different plans.
- Renamed 'Last 30 days' to 'Last 28 days' for consistency.
- Added `createFilteredDatePickerHelpers` function to filter helpers based on the user's plan.
* Refactor Datepicker Helpers in API Overview Report
- Replaced the usage of `REPORTS_DATEPICKER_HELPERS` with the new `createFilteredDatePickerHelpers` function to enhance plan-specific filtering.
- This change streamlines the datepicker helper logic based on user plan availability.
* Refactor Storage Report Datepicker Helpers
- Updated the Storage Report component to use `createFilteredDatePickerHelpers` for plan-specific datepicker logic.
- This change simplifies the datepicker helper implementation and enhances maintainability.
* fix test
2025-04-04 11:58:42 +02:00
Joshen Lim
0b75914d25
fix: project Dropdown only show projects from selected organization ( #34732 )
2025-04-04 17:45:02 +08:00
Joshen Lim
21cd562f40
Fix error handling for table side panel editor ( #34691 )
...
* Fix error handling for table side panel editor
* Minor copy update
2025-04-04 16:43:07 +08:00
Joshen Lim
caf9a4e962
QueryBlock whitelist now() and left() functions ( #34729 )
2025-04-04 15:50:03 +08:00
47fe4738d3
Prevent disabling PITR when hipaa is enabled ( #34513 )
...
* Prevent disabling PITR when hipaa is enabled
* Tweaks
* Sm word change
* Fix addon change
* Only allow changes if the changes are on 28 days. Use is_sensitive flag. When turning on PITR, set the default to 28 days.
* Simplify the illegal states.
* Fix the bad state for HIPAA.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-04-03 18:20:10 +02:00
Ivan Vasilov
ae0fbd4ee2
fix: Set the description field in column to empty string when cleared ( #34695 )
...
Set the description field in column to empty string.
2025-04-03 10:09:47 -02:30
Joshen Lim
6d0a742ab7
Chore/fix linkedin OIDC checking in user overview ( #34690 )
...
* Fix linkedin oidc checking in UserOverview
* Improve refactor
* Update
* Last fix
2025-04-03 13:56:30 +02:00
Joshen Lim and Ivan Vasilov
fa8cf46d50
Chore/refactor download results button to use papaparse ( #34693 )
...
* refactor LogTable and PreviewFilterPanel to use DownloadResultsButton
* Remove CSVButton file and remove react-csv dependency
* Update
* Change the download button to use file-saver.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-04-03 13:44:16 +02:00
Alaister Young
98c7cbff4d
fix: disallow edit row on protected schemas ( #34692 )
...
* fix: edit row on protected schemas
* disable editing on side panel editor
* allow viewing of json and text
2025-04-03 10:57:14 +00:00
Joshen Lim
0f0b02e0d9
chore: rework disk validation and cleanup ( #34533 )
2025-04-03 16:58:23 +08:00
Joshen Lim and Alaister Young
74723eccb6
Fix single date selection in organization audit logs ( #34689 )
...
* Fix single date selection in organization audit logs
* Update apps/studio/components/interfaces/Account/AuditLogs.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-04-03 16:14:11 +08:00
Joshen Lim
06091157d9
Table editor filter convert empty string value to null if column is not text based type ( #34674 )
2025-04-03 15:46:29 +08:00
Ivan Vasilov
86a690b00a
fix: Add a catch block around a JSON.parse when rendering AI assistant messages ( #34671 )
...
Add a catch block around a json.parse.
2025-04-03 09:44:44 +02:00
Joshen Lim
6fc55300ed
Support 1dp for inactivity timeout ( #34654 )
...
* Support 1dp for inactivity timeout
* Clean
2025-04-02 18:41:33 +08:00
Pamela Chia
89764b836d
chore: add via cli origin tracking ( #34637 )
2025-04-02 11:46:10 +02:00
Alaister Young
e3dae9ec36
chore: only load data in modals when they're visible ( #34617 )
...
* chore: only load data in modals when they're visible
* SidePanelGitHubRepoLinker
* scrolling is not my strong suit
* simple loading state for add new secret
* fix button width
* update to use shadcn
* fix ts
2025-04-02 16:41:47 +08:00
Joshen Lim
5fb29be685
Dont re route after selecting schema in table editor ( #34653 )
2025-04-02 14:34:29 +08:00
Kevin Grüneberg
8d48d5bfae
refactor: use database status from general health check endpoint ( #34629 )
2025-04-02 13:27:04 +08:00
Kevin Grüneberg
ab73c916c1
chore: only load data if needed ( #34624 )
...
Builds on top of #34617 (can be merged independently)
2025-04-02 09:23:58 +08:00
Paul Cioanca
fac3974974
fix: reuse existing project info instead of querying endpoint ( #34613 )
2025-04-01 17:25:31 +08:00
Stojan Dimitrovski
63d1dfb941
fix: underline clerk connect page link ( #34574 )
2025-03-31 16:13:53 +02:00