cliffhall
7227909df3
Fix spurious linebreak
2025-03-28 16:03:39 -04:00
cliffhall
84335ae5f4
Remove else block wrapper for final component return to reduce indenting and hopefully make the PR diff easier to approve.
2025-03-28 15:57:11 -04:00
Cliff Hall
804a144ffb
Merge branch 'main' into fix-rules-of-hooks-warning
2025-03-28 15:20:11 -04:00
Ola Hungerford
e47b1d8f4d
Merge pull request #200 from morinokami/patch-1
...
Restructure link buttons in sidebar to respect theme
2025-03-28 06:50:47 -07:00
Shinya Fujino
d2e211a597
Update Sidebar component icons to use 'text-foreground' for better visibility
2025-03-28 22:13:31 +09:00
Shinya Fujino
827d867aae
Merge branch 'main' into patch-1
2025-03-28 21:01:22 +09:00
cliffhall
0891077402
This fixes the linter's warning that Hooks must be run in order each time.
...
* In App.tsx
- move the conditional that returns suspense if the path is oauth/callback to the end of the component after all hooks, rendering either suspense or the normal component.
- move handleApproveSampling and handleRejectSampling functions down below all the hooks for clarity. There are a lot of hooks so finding the end of them is a scroll, and these function constants aren't referenced until the rendering section below anyway.
2025-03-27 15:59:41 -04:00
Cliff Hall
00118f7cf9
Merge branch 'main' into show-all-notifications
2025-03-25 15:31:46 -04:00
Ola Hungerford
25f5bb7620
Merge branch 'main' into add-ui-tests
2025-03-24 12:01:41 -07:00
Mark Anthony Cianfrani
30e7a4d7b7
Merge branch 'main' into main
2025-03-24 12:59:13 -04:00
Mark Anthony Cianfrani
f2f209dbd3
fix(sidebar): maintain order when changing values
2025-03-24 12:56:41 -04:00
Ola Hungerford
65a0d46816
Fix formatting
2025-03-24 09:47:34 -07:00
Ola Hungerford
951db44bad
Merge branch 'add-ui-tests' of https://github.com/olaservo/inspector into add-ui-tests
2025-03-24 09:43:52 -07:00
Ola Hungerford
379486b5ea
Add failing test for pull/206
2025-03-24 09:43:48 -07:00
Ola Hungerford
40213bb1ed
Merge branch 'main' into add-ui-tests
2025-03-24 09:30:35 -07:00
Ola Hungerford
f8b7b88a25
Merge pull request #198 from nathanArseneau/error-when-switching-Tools-without-changing-value
...
fix: set default value for input fields in ToolsTab component
2025-03-24 09:29:05 -07:00
Ola Hungerford
b7fa23676a
Fix formatting
2025-03-24 09:27:51 -07:00
Ola Hungerford
a7f25153c4
Add failing ToolsTab test that should get fixed with pull/198
2025-03-24 09:18:58 -07:00
Ola Hungerford
fa3e2867c9
Fix formatting
2025-03-24 09:07:53 -07:00
Ola Hungerford
5735f2347a
Add tests related to issues/187 to confirm fixed
2025-03-24 08:52:45 -07:00
Ola Hungerford
cab1ed3dd8
Add some json form tests and handle css in ui tests
2025-03-24 08:28:28 -07:00
Ola Hungerford
61e229a552
Add sidebar tests
2025-03-23 13:35:24 -07:00
Ola Hungerford
2890e036ed
Merge pull request #201 from Larmyliu/feat/proxyServerUrl
...
Update Vite configuration to enable host access and use `window.location.hostname` for Inspector URL
2025-03-22 21:13:39 -07:00
Abdelkader Boudih
af44efb236
chore: extract utils escapeUnicode
2025-03-22 16:25:33 +00:00
Larmyliu
51f3135c76
Merge branch 'main' into feat/proxyServerUrl
2025-03-23 00:11:58 +08:00
Abdelkader Boudih
3488bdb613
feat: Add utility function to escape Unicode characters in tool results
2025-03-21 22:21:26 +00:00
Cliff Hall
c726c53b00
Merge branch 'main' into add-log-level-setting
2025-03-21 11:06:31 -04:00
jazminliu
4fdbcee706
Update Vite configuration to enable host access and fix proxy server URL to use the current hostname.
2025-03-20 22:04:59 +08:00
Shinya Fujino
ce81fb976b
Restructure link buttons in sidebar to respect theme
2025-03-20 22:18:44 +09:00
Nathan Arseneau
029e482e05
fix: set default value for input fields in ToolsTab component
2025-03-19 20:15:14 -04:00
Nathan Arseneau
27b54104c1
Add support for additional notification schemas in useConnection hook
2025-03-19 19:51:01 -04:00
Ola Hungerford
c463dc58c2
Simplify check for defaults and add another test
2025-03-18 06:23:25 -07:00
Ola Hungerford
a85d5e7050
Fix formatting
2025-03-17 07:56:23 -07:00
Ola Hungerford
7ddba51b36
Generate empty objects and arrays for non required object and array fields
2025-03-17 06:36:35 -07:00
Nathan Arseneau
dd460bd877
Refactor notification handling to include all notifications
2025-03-17 02:44:59 -04:00
Ola Hungerford
50131c6960
Merge branch 'main' into handle-empty-json-fields
2025-03-16 15:56:24 -07:00
Ola Hungerford
cae7c76358
Fix formatting
2025-03-16 15:31:49 -07:00
Ola Hungerford
50a65d0c7a
Use generateDefaultValue for object and array defaults
2025-03-16 15:29:59 -07:00
Ola Hungerford
e1b015e40d
Add comments explaining extra parsing logic
2025-03-16 15:28:07 -07:00
Ola Hungerford
a3740c4798
Remove unneeded DynamicJsonForm.tsx
2025-03-16 15:24:34 -07:00
cliffhall
d8b5bdb613
Run prettier
2025-03-15 17:03:22 -04:00
cliffhall
5104952239
Add log level setting in UI
...
* This fixes #188
* In App.tsx
- import LoggingLevel from sdk
- add [logLevel, setLogLevel] useState with value of type LoggingLevel initialized to "debug"
- add useEffect that stores the new logLevel in localStorage as "logLevel"
- added sendLogLevelRequest function that takes a level argument of type LoggingLevel and sends the appropriate request. It calls setLogLevel when done, to update the local UI
- pass logLevel and sendLogLevelRequest to Sidebar component as props
* In Sidebar.tsx
- Import LoggingLevel and LoggingLevelSchema from sdk
- add props and prop types for logLevel and sendLogLevelRequest and loggingSupported
- add Select component populated with the enum values of LoggingLevelSchema, shown only if loggingSupported is true and connectionStatus is "connected"
*
2025-03-15 16:37:10 -04:00
cliffhall
d70e6dc0e8
In useConnection.ts,
...
- import LoggingMessageNotificationSchema
- set onNotification as notification handler for LoggingMessageNotificationSchema
2025-03-13 15:17:17 -04:00
Ola Hungerford
1f214deeab
Merge branch 'main' into handle-empty-json-fields
2025-03-13 06:17:18 -07:00
Ola Hungerford
c77252900a
Merge pull request #180 from seuros/version
...
feat: Fetch version from package.json in useConnection hook
2025-03-12 13:48:11 -07:00
leoshimo
e5ee00bf89
fix: add dark mode support to SamplingTab JSON display ( #181 )
2025-03-11 12:59:28 -07:00
Abdelkader Boudih
397a0f651f
feat: Fetch version from package.json in useConnection hook
2025-03-11 13:33:45 +00:00
Justin Spahr-Summers
15bbb7502b
Merge pull request #175 from avi1mizrahi/main
...
Add Bearer Token Support
2025-03-11 10:50:51 +00:00
Avi Mizrahi
dbd616905c
Support bearer token
2025-03-10 17:50:12 +02:00
Ola Hungerford
1ff410ca3d
Merge branch 'main' into handle-empty-json-fields
2025-03-10 05:46:57 -07:00