feat: add per-workspace launch script with dedicated terminal tab#231
Merged
feat: add per-workspace launch script with dedicated terminal tab#231
Conversation
Owner
Author
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ce43e6eaa1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
gersmann
pushed a commit
to gersmann/codex-monitor-web
that referenced
this pull request
Mar 10, 2026
zip700
pushed a commit
to zip700/CodexMonitor
that referenced
this pull request
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
launchScriptfield on each workspace and mirror it in the Tauri backend types and storage so scripts are saved with workspace metadata (src/types.ts,src-tauri/src/types.rs,src-tauri/src/workspaces.rs).LaunchScriptButton) wired into the main header so the control sits next to the existing Open/In button (src/features/app/components/LaunchScriptButton.tsx,src/features/app/components/MainHeader.tsx,src/styles/main.css).useWorkspaceLaunchScripthook to manage the editor, saving to workspace settings, and orchestrating runs via the app terminal API; it schedules runs and writes the script to a dedicated terminal tab when the session is ready (src/features/app/hooks/useWorkspaceLaunchScript.ts).useTerminalTabs,useTerminalController) and by adding a title-awareensureTerminalWithTitle+restartTerminalSessionflow (src/features/terminal/hooks/*).src/features/layout/hooks/*,src/App.tsx,src/features/terminal/hooks/useTerminalSession.ts).src/features/terminal/hooks/useTerminalTabs.test.tsx,src/features/app/hooks/useWorkspaceLaunchScript.test.tsx).Testing
npm run lintwith no linter errors.npm run testand all automated tests passed, including the new tests (useWorkspaceLaunchScriptanduseTerminalTabs) — full test suite reported success (all tests passed).npm run typecheckand TypeScript checks completed successfully.Codex Task