Skip to content

Commit c91afc3

Browse files
authored
Merge pull request #60 from thetarnav/owner-details
Owner Details Panel
2 parents b66c979 + 41b4b7b commit c91afc3

52 files changed

Lines changed: 1736 additions & 943 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/smooth-bikes-sing.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@solid-devtools/debugger": minor
3+
"solid-devtools-extension": minor
4+
"@solid-devtools/extension-adapter": minor
5+
"@solid-devtools/locator": minor
6+
"@solid-devtools/logger": minor
7+
"solid-devtools": minor
8+
"@solid-devtools/shared": minor
9+
"@solid-devtools/ui": minor
10+
---
11+
12+
This one will be a major rewrite of the debugger, API available in plugins and the reconciliation on the extension.
13+
Now the walked tree will now include information about computation observers, value, signals, sources. All this will be available only for the "focused" owner—new API for getting details about a specific owner.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ lerna-debug.log
2020
# solid
2121
.solid
2222

23+
# tsup
24+
tsup.config.bundled*.*
25+
2326
# VSC Settings
2427
.vscode/settings.json
2528

@@ -34,3 +37,5 @@ Thumbs.db
3437

3538
# chrome extension private key file
3639
*.pem
40+
41+

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"author": "Damian Tarnawski <gthetarnav@gmail.com>",
66
"contributors": [],
77
"scripts": {
8-
"dev:extension": "turbo run dev --filter=solid-devtools-extension",
9-
"dev:extension-deps": "turbo run dev --filter=@solid-devtools/shared --filter=@solid-devtools/ui",
10-
"dev:sandbox": "turbo run dev --filter=solid-devtools-sandbox-playground",
8+
"dev:ext": "pnpm -dir packages/extension run dev",
9+
"dev:ext-deps": "turbo run dev --filter=@solid-devtools/shared --filter=@solid-devtools/ui",
10+
"dev:sandbox": "pnpm -dir playgrounds/sandbox run dev",
1111
"build": "turbo run build --filter=!./playgrounds/*",
1212
"test": "turbo run test --filter=!./playgrounds/*",
1313
"typecheck": "turbo run typecheck --filter=!./playgrounds/*",

packages/debugger/src/batchUpdates.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

packages/debugger/src/index.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
import { ParentComponent } from "solid-js"
2-
import { attachDebugger } from "./primitives"
2+
import { attachDebugger } from "./roots"
33

44
// export all graph types from the internal "shared" library
55
export * from "@solid-devtools/shared/graph"
66

77
export { registerDebuggerPlugin } from "./plugin"
8-
export type { PluginFactory } from "./plugin"
8+
export type {
9+
PluginFactory,
10+
FocusedState,
11+
SetFocusedOwner,
12+
SignaledRoot,
13+
BatchComputationUpdatesHandler,
14+
} from "./plugin"
915

10-
export type { TargetIDE, TargetURLFunction } from "@solid-devtools/locator"
11-
12-
export { attachDebugger } from "./primitives"
16+
export { attachDebugger } from "./roots"
1317

1418
export {
1519
makeSolidUpdateListener,
@@ -18,6 +22,8 @@ export {
1822
observeComputationUpdate,
1923
observeValueUpdate,
2024
interceptComputationRerun,
25+
makeValueUpdateListener,
26+
removeValueUpdateObserver,
2127
} from "./update"
2228
export type { AfterCrateRoot, ObjectObserver } from "./update"
2329

0 commit comments

Comments
 (0)