Skip to content

Conversation

@sirtimid
Copy link
Contributor

@sirtimid sirtimid commented Oct 29, 2024

Closes #183 #216

This PR introduces a simple Kernel management panel within the extension popup, allowing users to initialize, restart, and shut down vats, as well as view the current status of the kernel and send messages.

For reviewers

There is now a new entry point popup.ts you can start from there to review the files in panel folder. For the other files start from the offscreen.ts entry point.

Screenshots

Screenshot 2024-11-06 at 18 22 43
Screen.Recording.2024-11-06.at.18.19.00.mov

@sirtimid sirtimid force-pushed the sirtimid/kernel-devtools-panel branch 2 times, most recently from 698daa2 to c022bd8 Compare November 5, 2024 15:00
@sirtimid sirtimid changed the title feat(WIP): Add Kernel Management DevTools Panel feat(WIP): Add Kernel Panel on extension popup Nov 5, 2024
@sirtimid sirtimid changed the title feat(WIP): Add Kernel Panel on extension popup feat: Add Kernel Panel on extension popup Nov 5, 2024
@sirtimid sirtimid changed the title feat: Add Kernel Panel on extension popup feat: Add Kernel management panel on extension popup Nov 5, 2024
@sirtimid sirtimid marked this pull request as ready for review November 5, 2024 17:36
@sirtimid sirtimid requested a review from a team as a code owner November 5, 2024 17:36
@sirtimid sirtimid force-pushed the sirtimid/kernel-devtools-panel branch 2 times, most recently from 17e0a7c to 27cfc88 Compare November 6, 2024 12:29
@sirtimid sirtimid marked this pull request as draft November 6, 2024 15:34
@sirtimid sirtimid force-pushed the sirtimid/kernel-devtools-panel branch from 3b617e6 to 745c10f Compare November 11, 2024 12:03
@sirtimid sirtimid marked this pull request as ready for review November 11, 2024 18:14
Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

In addition to inline comments, passing an invalid vat id to "Launch Vat" in the popup appears to break the entire extension. Handling that error or preventing it via input validation would be good. The broken state is very broken.

@sirtimid sirtimid force-pushed the sirtimid/kernel-devtools-panel branch from d4f71cd to 524ff55 Compare November 20, 2024 12:23
@sirtimid sirtimid force-pushed the sirtimid/kernel-devtools-panel branch from 1689e7e to 93cec35 Compare November 20, 2024 14:57
@sirtimid sirtimid requested a review from rekmarks November 20, 2024 15:05
Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple more things

Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sirtimid sirtimid merged commit 2bb71b6 into main Nov 20, 2024
@sirtimid sirtimid deleted the sirtimid/kernel-devtools-panel branch November 20, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Kernel Management Panel

3 participants