Skip to content

Create desktop console window with context menu#11

Merged
VectoDE merged 1 commit intomainfrom
codex/create-standalone-console-window-for-servercommander-3ntuuv
Oct 21, 2025
Merged

Create desktop console window with context menu#11
VectoDE merged 1 commit intomainfrom
codex/create-standalone-console-window-for-servercommander-3ntuuv

Conversation

@VectoDE
Copy link
Owner

@VectoDE VectoDE commented Oct 21, 2025

Summary

  • replace the web-based console with a desktop window that captures stdout/stderr and routes command execution through the existing dispatcher
  • present the console in a fixed-size window with only minimise/close controls and include a clear action within the UI
  • add a right-click menu on the window logo linking to the portfolio and UplyTech website

Testing

  • go build ./...
  • go test ./...

https://chatgpt.com/codex/tasks/task_e_68f7b700f248832caaebf128532d6d5c

@VectoDE VectoDE merged commit f3b3b5d into main Oct 21, 2025
1 check failed
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

Comment on lines +185 to +189
c.stderrPipe = stderrWriter
c.origStdout = os.Stdout
c.origStderr = os.Stderr

os.Stdout = stdoutWriter

Choose a reason for hiding this comment

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

P1 Badge Route interactive prompts through GUI

The desktop console only redirects stdout and stderr (c.origStdout, c.origStderr, and os.Stdout/os.Stderr are swapped here) but leaves os.Stdin untouched. Commands such as session add and ssh still call utils.Prompt/PromptPassword, which read from stdin. After the old terminal loop was removed, there is no way to respond to these prompts inside the window, so those commands block waiting on terminal input and the UI appears frozen. The console should capture stdin or surface prompt dialogs so interactive commands remain usable.

Useful? React with 👍 / 👎.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

Comment on lines +185 to +189
c.stderrPipe = stderrWriter
c.origStdout = os.Stdout
c.origStderr = os.Stderr

os.Stdout = stdoutWriter

Choose a reason for hiding this comment

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

P1 Badge Route interactive prompts through GUI

The desktop console only redirects stdout and stderr (c.origStdout, c.origStderr, and os.Stdout/os.Stderr are swapped here) but leaves os.Stdin untouched. Commands such as session add and ssh still call utils.Prompt/PromptPassword, which read from stdin. After the old terminal loop was removed, there is no way to respond to these prompts inside the window, so those commands block waiting on terminal input and the UI appears frozen. The console should capture stdin or surface prompt dialogs so interactive commands remain usable.

Useful? React with 👍 / 👎.

@VectoDE VectoDE deleted the codex/create-standalone-console-window-for-servercommander-3ntuuv branch October 21, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant