Hide terminal and improve running instance controls - #23
Merged
Merged
Conversation
Co-authored-by: tristanpoland <34868944+tristanpoland@users.noreply.github.com>
Co-authored-by: tristanpoland <34868944+tristanpoland@users.noreply.github.com>
…tegration Co-authored-by: tristanpoland <34868944+tristanpoland@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Hide terminal and improve running instance controls
Hide terminal and improve running instance controls
Aug 31, 2025
tristanpoland
marked this pull request as ready for review
August 31, 2025 02:18
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.
This PR implements comprehensive instance control improvements that provide users with better control over terminal visibility and running instance management.
Features Added
🎯 Hide Terminal by Default
Instances can now launch without automatically showing the terminal window. This is controlled by a new "Follow Logs" setting in each instance's configuration, providing a cleaner UI for users who don't need to monitor logs constantly.
🔄 Play → Stop Button Swap
When an instance is running, the Play button intelligently transforms into a Stop button with visual feedback:
⚙️ Follow Logs Option in Settings
Added a new toggle in the instance settings General tab that controls log-following behavior:
🖥️ Real-time Log Console
Created a new
InstanceLogsModalcomponent with professional features:🛠️ Backend Process Management
Enhanced the Rust backend with proper process lifecycle management:
taskkill, Unix:kill)stop_instance,get_running_instances,is_instance_runningTechnical Implementation
Frontend Changes:
MinecraftInstancetype withfollowLogs,status: 'running', andprocessIdfieldsInstanceCardcomponent with conditional Play/Stop renderingStopInstanceModalfor confirmation dialogsuseInstanceshookBackend Changes:
instances.rsUser Experience
The implementation follows the exact flow described in the issue:
This provides both power users with the log monitoring they need and casual users with a cleaner, less cluttered interface.
Fixes #22.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.