Joshen Lim
9139418ef0
Chore/cleanup feature flags 130524 ( #35648 )
...
* Clean up reportsV2 feature flag
* Clean up edgeFunctionCreate feature flag
* Clean up creditTopUp feature flag
* Clean up allowOrioleDb feature flag
2025-05-14 16:56:27 +08:00
Joshen Lim
fd98a08a4f
Chore/default to new organization layout ( #35515 )
...
* Default to new organization layout + remove feature preview
* Remove feature preview
* Clean up LayoutUpdateBanner
* Clean up
* Fix
* Fixy fix
* Update comment
* Nit to fix layout shift
2025-05-13 11:25:35 +08:00
6d09404779
feat: add mfa enforcement toggle ( #34307 )
...
* feat: add mfa enforcement toggle
Allows toggling MFA enforcement on an organization level.
Depends on API change #22088
* fix: toggle and disable action for non-owner
* chore: disable for free plans
* chore: disable toggle for org MFA if current user doesn't have MFA enabled
* set initial state
* move org mfa to security page
* use zod resolver
* fix initial values
* useQueryClient in the organization-mfa-mutation
* chore: warn about losing access to mfa orgs
* Some refactors, fixes and improvements
* chore: feature flag mfa enforce page
* Tiny fix
* Leave comment
---------
Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-05-09 16:56:49 +02:00
Kevin Grüneberg
77d99e0f04
chore: branching compute hours copy ( #35524 )
2025-05-07 15:31:03 +00:00
Kevin Grüneberg
b4f6cc5cb8
fix: format currency ( #35507 )
2025-05-07 11:17:11 +12:00
Kevin Grüneberg
e1bd23d66f
fix: do not translate USD prices ( #35466 )
...
When translation tools go over prices, they wrongfully convert USD into other currencies without changing the price. $25 becomes Rp25 (Rupiah).
By using `translate='no'` we avoid the translation of pricing info. There are some tooltips left that are not covered yet, but this should be the majority already.
Kept the docs Pricing component as simple as possible, just wrapping in a span to avoid translation, not modifying any formatting.
2025-05-06 12:03:35 +08:00
Francesco Sansalvadore and Alaister Young
a4cfcd9b2e
global user dropdown in docs and www ( #35063 )
...
* docs: user nav dropdown
* www: user dropdown nav
* update menus
* chore: add complete local storage allowlist
* move all local-storage to common
* reload after logOut
* add local storage key changes from #35175
* fix errors
* add more keys
* fix merge bugs
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-05-05 11:48:06 +02:00
Kevin Grüneberg
12ba4da4a5
feat: groundwork for larger instance sizes ( #35373 )
2025-05-02 15:45:03 +07:00
Saxon Fletcher
3aadc009e6
feat: billing address, name and tax id for org creation/upgrade ( #34922 )
...
We currently get support requests about adding or amending invoices due to no billing address being set. Changes in this PR:
- Unify tax id and billing address into a single form
- Add ability to set billing name that diverges from org name
- Add ability to set billing address & tax id during org creation (only paid plans)
- Add ability to set billing address & tax id during plan upgrade
2025-05-02 10:10:41 +08:00
Joshen Lim
58a9db9db5
Chore/fix searching in table editor clearing tabs ( #35198 )
...
* Fix searching in table editor clears tabs
* Clean
* clean
* Make close button slightly bigger
2025-04-22 17:33:21 +07:00
Joshen Lim
d8e85a064b
Clear last visited organization when deleteing or leaving org ( #35088 )
...
* Clear last visited organization when deleteing or leaving org
* Fix DEFAULT_HOME to be dynamic based on if the new layout preview is enabled or not
2025-04-21 15:58:29 +07:00
Kamil Ogórek
c5e0e89e80
ref: Add note about github integration access ( #35009 )
2025-04-18 16:10:58 +00:00
Joshen Lim
7d01bfb6db
Tiny fix for copy client id ( #35097 )
2025-04-17 23:21:16 +08:00
Jonathan Summers-Muir and Joshen Lim
08e5abc64a
Chore: Support form | support access true as default ( #35066 )
...
* Update SupportFormV2.tsx
* Fix TS
* Update SupportFormV2.tsx
* Update SupportFormV2.tsx
* Small refactor after checking preview
* Clean up
* remove div
* Fix after merging master
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-16 21:10:47 +08:00
Joshen Lim
fd10704cc1
Make feature preview available + Fix up Connect UI for local self-host ( #35060 )
...
* Make feature preview available for local self-host
* Fix up Connect UI for local / self-host
* Fix
* Fix
* Fix
2025-04-16 19:35:09 +08:00
Kevin Grüneberg
679714fa75
feat: merged billing & invoices / billing tab in new org nav ( #35008 )
...
- Merge billing & invoices page
- Moved credits under payment method management to keep it closer to invoices
- Reduced invoice list to 5 by default
- Added "Billing" navigation item for new org nav
- Rewrote invoices links to use new billing invoices section
- Permanent redirect for organization invoices page
2025-04-16 19:19:39 +08:00
Joshen Lim
a4d5af48c8
Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu ( #35027 )
...
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Fix PopoverPOrtal
* Fix
2025-04-15 17:29:32 +08:00
Kevin Grüneberg
c0e1e02999
chore: make additional compute costs more prominent ( #35010 )
2025-04-15 15:54:23 +08:00
Kevin Grüneberg
d05bbb669f
perf: use subscription plan from org response ( #34993 )
2025-04-14 20:37:19 +08:00
Kevin Grüneberg
def70f8011
feat: allow removing last payment method on free plan ( #34896 )
2025-04-14 17:36:38 +08:00
Kevin Grüneberg
416f83325f
feat: confirmation before creating paid org ( #34973 )
2025-04-14 15:00:42 +08:00
Kevin Grüneberg
5fa5118b35
chore: add warning if upgrade without projects ( #34943 )
2025-04-14 13:24:04 +08:00
Kevin Grüneberg
838c4227d0
chore: route credit package requests to sales instead of billing ( #34951 )
2025-04-14 09:10:33 +12:00
Kevin Grüneberg
edd832bf14
fix: upcoming invoice compute costs ( #34931 )
2025-04-11 18:29:55 +08:00
Kevin Grüneberg
3ce7e400a1
feat: revamped invoice breakdown ( #34861 )
...
- Read Replica and Branching Compute is now explicitly listed (previously Read Replica compute was not distinguishable)
- All usage items have a link to their respective docs
- Branching Compute is aggregated into a single line item to avoid listing dozens of branches (they are listed in the tooltip still)
- Displays basic discounts with a strike-through price
- For Replica+Compute, it specifically lists the projects as sub line items, whereas other line items are not broken down, it's shown on the tooltip
- Compute credits are a sub line item under compute, rather than having it separate
- Pricing is displayed on the tooltip
- Breakdown focuses on costs, rather than mixing cost, usage and line item pricing descriptions
- Avoid confusing users in the breakdown with hourly usage (for add-ons)
- Fixed number formatting to properly work with negative number and 0 (use 2 decimals)
- Upcoming Invoice Section is hidden for Free Plan users
2025-04-11 12:40:59 +08:00
Terry Sutton and Joshen Lim
9f6faa65bb
Fix toggling of roles apply to all projects ( #34871 )
...
* Store initial state
* fixes
* Minor
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-11 10:41:07 +08:00
Kamil Ogórek
c3a352331a
ref: Fix all API types after Zod migration ( #34903 )
2025-04-11 10:28:08 +08:00
Alaister Young
9fbbc8b12a
fix: oauth scopes dropdown bug ( #34899 )
2025-04-10 13:22:02 +00:00
Joshen Lim
4b7570fd12
Chore/org nav layout fixes 01 ( #34884 )
...
* Fix padding in org settings layout for when preview is off
* redirect to /organizations instead of /projects when deleting org if preview is on
* Remove unused file
2025-04-10 18:09:42 +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
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
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 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
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
Kamil Ogórek
034435234f
ref: Remove redundant oauth apps icon workaround ( #34471 )
2025-03-27 14:16:37 +01:00
Jordi Enric
851a412a20
new org form: prevent telemetry spam ( #34370 )
...
* refactor telemetry to only send events on path change no query
* fix type error
* add comment explaining weird type cast
* undo telemetry
* use local state
* rm comments
* cleanup fns
* handle query params on first render
* use zod for validation
* transform to uppercase
2025-03-26 11:06:13 +01:00
Kamil Ogórek
861fe9ec88
fix: Update TS checks according to latest API changes ( #34372 )
2025-03-25 14:24:52 +01:00
Stephen Morgan
884743ac30
Chore: Update TiA and DPA ( #34367 )
...
* Updates to DPA with new Vendors
* Updates to TIA with new Vendors
2025-03-25 11:27:09 +13:00
Kevin Grüneberg
2b94dd7430
feat: Dedicated Pooler rollout ( #34240 )
2025-03-21 14:46:58 +01:00
Joshen Lim
8dcf326223
Authorized apps in org settings add copy action for App ID ( #34321 )
...
Authorized apps in org settings add copy action for add ip
2025-03-21 19:36:14 +08:00
Joshen Lim
40ca927808
Chore/support updating email and unlinking identities ( #33966 )
...
* Support updating email address for email identity
* Support unlinking identity
* Deprecate AccountInformation component
* Invalidate identities after unlinking
* Address feedback
* Smol
* Fix type issues
* Update toast message
* Set up email change pending badge
* Fix
* Address feedback
* Resolve ts-expect-errors
* Fix TS issues + Fix GH icon on light mode + Address feedback
2025-03-21 17:15:05 +08:00
Pamela Chia
9793cf73ca
chore: remove old plan dialog ( #34291 )
2025-03-19 21:21:39 +01:00
Kevin Grüneberg
5b7ffb586a
chore: remove nano_enabled flag usage ( #34286 )
2025-03-19 18:54:57 +01:00
Kamil Ogórek
315a189577
feat: Add created_by and app_id to approved oauth apps table ( #34045 )
...
* feat: Add created_by to approved apps table
* feat: Add app_id to approved apps table
2025-03-14 10:43:28 +01:00
Saxon Fletcher and Kevin Grüneberg
7c04aadfa9
Feat/plan upgrade improvements ( #33804 )
...
* upgrade dialog changes
* plan upgrade modal
* update dialog improvements
* factor in customer balance
* copy
* add PH a/b test
* fix ts
* smol stuff
* fixes
* group compute fees
* smol edits
* Update SubscriptionPlanUpdateDialog.tsx
* Update SubscriptionPlanUpdateDialog.tsx
* partner billing
* downgrade
* margin
* show pricing info + filter out long tweets
* fix tooltip
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-02-27 13:31:27 +10:00
Long Hoang
69726689c9
chore: remove event enums ( #33730 )
...
* chore: remove event enums
* chore: remove more event enums
* chore: remove unused HomepageHeroRequestDemoClickedEvent
* chore: remove unused HomepageHeroRequestDemoClickedEvent
* chore: rename custom_report events to use underscores
* chore: remove telemetry enum
* chore: remove unused imports
* chore: remove enums from merged events
* chore: remove unused imports
* chore: add typedocs for module and hide exported types that are not events
2025-02-25 13:08:31 +08:00
Kevin Grüneberg
be2271b9c2
feat: break down log drain egress ( #33763 )
2025-02-21 10:23:03 +00:00
Joshen Lim
0b9a59325c
Update org roles confirmation to fire requests sequentially ( #33695 )
...
* Update org roles confirmation to fire requests sequentially
* Add missing await
* Add skip invalidation flags
2025-02-19 10:22:08 -03:30
Joshen Lim
98a5f06070
Chore/next round of refactoring rqs to use data fetchers ( #33556 )
...
* Update several files to use data fetcher methods
* Remove unused files from lib/common/fetch
* Revert "Remove unused files from lib/common/fetch"
This reverts commit b314b05f06 .
* Fix GraphQL
* Fix types
* Add IS_PLATFORM check in useOrgUsageQuery
* Fix type issues
2025-02-17 15:23:38 +08:00
Pamela Chia
ea21e0837c
fix: clarify peak connections ( #33560 )
...
* fix: clarify peak connections
* fix: rearrange to concurrent peak connections
2025-02-13 04:06:44 +00:00