Jordi Enric
c1ed87febc
fix padding in logs selection ( #34154 )
...
* fix padding
* adjust more
2025-03-14 11:22:06 +01:00
Jordi Enric
ee7f7e4b42
Update Log Detail ( #33536 )
...
* state refactor & new log detail
* fix type in tests
* use new hook in auth page logs
2025-02-19 16:44:44 +01:00
Jordi Enric
2a3a2a597e
Add E2E tests for local studio logs ( #33592 )
...
* add e2e tests for local studio logs
* fix auth schema test
* comment out log pages without logs
* fix tests rm react query from dom, it blocks view of definition button
* undo auth table changes
2025-02-14 15:06:16 +08:00
Alaister Young
c26a1a7e63
chore(studio): remove unused files ( #32623 )
2025-01-08 12:39:00 +08:00
Jordi Enric
c76f9e682d
Log Explorer: Log Detail Overhaul ( #31684 )
...
* wip
* use flag
2025-01-07 08:16:17 +01:00
Jordi Enric and Ivan Vasilov
b6647d445c
store selected logs to url ( #29802 )
...
* add selected logs to url
* Add mocks for nuqs package.
* fix layout issues n remove magic numbers for height
* fix chart height issue
* fix bug where logs not in first page wouldnt load correctly
* fix spacing between charts and header
* fix postgtres_logs issues, improve size in log detail
* fix borders
* fix default renderer
* fix detail width
* rm maxheight references
* fix tests
* fix typeerrs
* fix stories typerr
* improve colelctions empty state
* move state UP for logs and warehouse tables
* cleanup
* rm params
* rm params
* rm params
* fix log explorer selection
* fix tests types
* cleanup divs
* fix selected log delay
* use isEq for comparison in rows
* fix selection stuck open
* fix btnlink combo
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-10-25 12:40:14 +02:00
Jordi Enric
442bba9ed5
fix copy btn alignment, fix titles ( #29980 )
2024-10-21 12:44:42 +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
Lakshan Perera
c44b9fe54e
fix: show execution ID in Function invocation details ( #26982 )
...
fix: show execution ID in Function invocations details
2024-06-04 12:46:02 +07:00
Jordi Enric and Terry Sutton
7c1d83e910
add panel to show selected log in logs explorer, and some ui fixes ( #26925 )
...
* add panel to show selected log in logs explorer, and some ui fixes
* fix type error
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-06-03 17:31:44 +02:00
Jordi Enric
aa84f7f60b
fix warehouse rows & update UI for event detail ( #26891 )
...
* ui fixes, rendering data in warehouse table fixed
* reduce padding in header
* rm test of copy button since it was moved elsewhere
2024-05-31 20:59:28 +02:00
9fd85e76fb
feature: warehouse ( #23714 )
...
* add event collection ui, queries, routing
* fix alignment issue
* renaming
* wip
* feat: initial data hooks and integration with feature flagging
* update with naming, correct mocks, etc
* feat: add source crud integration
* mock data, fix form, add motion to drawer
* feat: optimize warehouse fetch behaviour
* feat: add in valid query
* chore: ermove collection mocks
* feat: optimize tenant fetching
* cleanup + update openapi client + fix fetch calls
* cleanup imporst
* on delete success, redirect to main logs page
* fix dropdown event propagating to link and opening page
* Refactor code to use useParams and useRouter in CreateWarehouseCollection.tsx, WarehouseCollectionDetail.tsx, and LogsLayout.tsx
* clean warehouse query
* warehouse access tokens create, list
* add warehouse access token revokal
* fix access tokens table, fix access tokens revoke feature
* format date in access tokens table
* fix some state issues and warnings in access tokens forms
* warehouse/feat: introduction when creating event collections (#23244 )
feat: add introduction for event collections
* warehouse/feat: rename headers and nav items (#23243 )
* feat: rename headers
* feat: use feature flag for navigation bar
* move header name flag to component
* fix typeerror in create collection query
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
* ui fixes, rm deprecated icons
* render table with events
* fix typeerror results arr
* add pagination
* some ui fixes
* fix loading states, format dates, test connection dialog
* patch type errors
* Fix access token selection in TestCollectionDialog and update column name in WarehouseAccessTokens
* rm unused querytype
* rm unused querytype in logtable
* patch type errors in warhouse collection mutations
* rm unused component
* mr unused import
* show connection dialog in staging
* fix Run btn now showing up
* fix undef argument
* show pagination only when there are results
* fix issues in connection dialog, improve ux
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* fix infinite render loop, adapt component to render log metadata on log selection
* rm unused import, prevent ui from breaking when some data may be missing from an event
* update WAT create mutation to use template
* follow mutation template in delete access token mutation
* refactor naming, improve code in some areas
* rm unused mocks for msw
* skip tests - this will get fixed on the vitest PR
* Update apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
* fix loading compo
* rm unused import
* use correct alert title
* rm unnecessary div
* fix layout in projectpaused alert
* fix type err, refactor to new method
* rm observer
* rm observer
* refactor warehouse collections update
* use correct get method, comment out so it doesnt err
* use correct method
* fix formatting issues
* ref imports
* ref imports
* clean up imports
* clean imports
* clean imports
* rename props
* destructure props
* cleanup imports
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseCollection.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* ref scale class
* cleanup divs
* Update apps/studio/components/interfaces/DataWarehouse/TestCollectionDialog.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* refactor to rhf
* reuse types, cleanup, refactor to react query hooks instead of el events
* refactor table component to handle empty state
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* fix empty state ui
* use destructured queries
* rename query types
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseAccessTokens.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* chore: Refactor WarehouseCollectionDetail component
* rm unused imports
* rename loadolder
* rm typcast
* rhf in create token
* improve err handling
* refactor to rhf, refactor queries, use cn utils, cleanup
* fix loading logselection
* add correct type to warehouse access tokens query
* use correct types in err & clean unused types
* toggle token in curl exampel
* use product empty state component in warehouse
* add client side validation of collection name, temp fix
* add New badge
* update testcolldialog
* cleanup unnecessary div and rm double border
* code style fixes
* handle err
* code style fix
* add correct type
* add correct err type
* fix type error
* fix type err
* fix missing type
---------
Co-authored-by: TzeYiing <ty@tzeyiing.com >
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-29 10:32:46 +02:00
Joshen Lim
48869ee26f
Add redirect identifier to log selection if available ( #26383 )
2024-05-17 15:24:11 +08:00
Kevin Grüneberg
d12332ea5a
chore: xmas cleanup ( #19938 )
2024-01-04 17:27:49 +01:00
Joshen Lim
96d296d79b
Add validations whenever using new URL ( #20124 )
...
* Add validations whenever using new URL
* Update based on feedback
2024-01-03 14:53:40 +07:00
Francesco Sansalvadore and Jonathan Summers-Muir
be9590c890
Multiple themes management ( #18871 )
...
* set up multiple themes in studio
* set up multiple themes in studio
* set up multiple themes in docs and www
* update all resolvedTheme to also include deep-dark
* update all resolvedTheme checks to also include deep-dark
* update tailwind.config.js tokens
* update tailwind.config.js tokens
* update leftover scale12 token
* update if resolvedTheme _doesn't_ include 'dark'
* update more styling tokens
* add dynamic themes to CmdK
* fix nav and footer for multi theme
* add data-theme selector output to transformTokens.js
* update code-hike.css to target data-theme css
* update tailwindcss to ^3.3.5
* ThemeImage with light and dark src for www and docs
* add brand-button styling token
* update old dark theme boolean
* update old dark theme boolean
* make homepage product visuals themeable
* update product page themed images
* update badge green with brand
* fix roles list appearance
* fix auth widget in auth page
* update more dark logic
* update more dark logic
* add button default bg and border
* update pricing page theme styling
* clean up Themeimage
* remove forceDark in homepage
* update dark:border-dark occurrences
* update dark:border-dark occurrences
* fix dark mode base colors
* remove foreground-strong
* fix notification badge bg
* remove some dark: selectors
* update dark: selectors
* update code-hike deep dark bg color
* fix comment typo
* update border-button-hover token
* fix customer story logo
* remove some more dark: selectors
* restore forceDark in www homepage
* fix auth react icon
* fix homepage product visuals
* remove theme
* add brand-link token
* fix checkbox bg
* npm install
* more visible EntityListItem active bg
* fix --background-alternative-default css vars
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2023-11-16 16:41:53 +00: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