Ivan Vasilov
19b6a419a9
chore: Add support to enable incident banner through env var ( #41109 )
...
* Show the incident banner since configcat is down.
* Enable the ongoing incident through an env var.
* Rename the env var to be available on FE.
2025-12-05 15:27:58 +01:00
Joshen Lim
72d50d8ac4
Remove barrel files part 1 ( #39955 )
2025-10-29 18:07:20 +08:00
Joshen Lim
4124f0ed98
Shift useFlag hook and configcat library to common package, remove from Studio ( #38203 )
...
* Shift useFlag hook and configcat library to common package, remove from studio
* Fix test
* Fix test
2025-08-27 13:42:20 +07:00
Joshen Lim
2066e1c652
Set up to default opt in tabs interface ( #35549 )
...
* Set up to default opt in tabs interface
* Add callout in new tab
* Unify tabs feature flag
2025-05-13 20:07:40 +08:00
Joshen Lim
5e9c2a3c71
remove restriction banner component ( #34887 )
2025-04-11 10:08:52 +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
Ivan Vasilov
4ec8e0d289
fix: Fix the Monaco error from showing up ( #33432 )
...
Fix the Monaco error from showing up.
2025-02-08 17:49:47 +08:00
Jonathan Summers-Muir and Ivan Vasilov
a09ffd0104
Feat/get layout - Project pages updated to use getLayout ( #33365 )
...
* Update AppBannerWrapper.tsx
* full width header layout
* layout fixing for sign in pages
* update
* init
* Update app-state.ts
* Update ProjectLayout.tsx
* init project pages
* Update LayoutHeader.tsx
* sign in layout fixed
* Update AppBannerWrapper.tsx
* Update AppBannerWrapper.tsx
* update
* Update DefaultLayout.tsx
* Update WithSidebar.tsx
* Update ProjectLayout.tsx
* Update DefaultLayout.tsx
* layout header updatefix header
* add fragment back in
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Remove ProjectContextFromParams component (duplicate to ProjectContextProvider).
* Fix the loading state of SignInMfa page.
* Update sign-in-fly-tos.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-02-07 15:00:02 +08:00
Jonathan Summers-Muir and Joshen Lim
dc9376106e
Feat/header bar ( #33353 )
...
* Update AppBannerWrapper.tsx
* full width header layout
* layout fixing for sign in pages
* update
* Fix
* Add defaultSize prop to resizablePanel
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-06 15:46:39 +08:00
Ivan Vasilov
b5437c630e
feat: Add a banner for clock skew in studio ( #32866 )
...
* Add a ClockSkewBanner on top of studio.
* Fix the color of the RestrictionBanner.
* Add an API endpoint which return the current UTC time on the server.
* Fix the glob pattern for docs in turbo.json.
* Force docs to build.
* Revert unneeded changes.
* Add feature flag for clock skew banner.
* Add a comment.
2025-01-21 17:45:06 +01:00
Joshen Lim
1bb86bf705
Only render RestrictionBanner if user is logged in ( #28479 )
2024-08-08 18:15:43 +08: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
Ivan Vasilov
694c0e7f7a
fix: Define the editor theme before rendering ( #22402 )
...
Define the editor theme before rendering.
2024-04-02 15:06:09 +02:00
95e9820c57
feat: Add notices for orgs over quota ( #22044 )
...
* Expand the org type with the new restriction fields.
* Add a badge to each org on the projects list if the org is over quota.
* Add a banner to each project belonging to an org which is over quota.
* Remove unneeded code.
* Add a restriction banner at the top of billing org tab.
* Correct the links to point to the correct page.
* Move the exceededLimits alert into the restriction component.
* Add an additional alert to the restriction component.
* chore: adjust copy on service restrictions
* Use gap instead of margin-right.
* Fix a bug in the ProjectList where the selectedOrg was used for all organizations.
* Small copy changes
* Small UI updates to restriction banner
* Hide links to documentation pages first
---------
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-04-01 13:46:49 +07:00
497575b647
fix: prevent scroll when banners are visible in AppLayout components ( #21069 )
...
* fix: prevent scroll when banners are visible in AppLayout components
* Lint + use tailwind
* fix
* Deprecate LayoutWrapper
* Fix import
---------
Co-authored-by: Mohammed Yasin Mulla <mohammedyasin@obmondo.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-02-08 14:13:18 +08:00
Joshen Lim
b4023b6eb2
Chore/banner for ipv4 deprecation notice ( #20334 )
...
* Add LayoutWrapper component to DRY the layout height change when incident banner is toggled
* Add notice banner for pgbouncer and ipv4 deprecation
2024-01-11 16:20:38 +08: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