Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Adapt menu options and icon depending on server running to better visualize status #127

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andrerom
Copy link

@andrerom andrerom commented Jan 20, 2023

This closes #121

This improves usability by giving you a grey icon if server is not running, and a blue icon (the existing one) if server is running.

It also changes to trigger openFileInBrowser when clicking icon when server is running so you don't get error about that, but instead get what you expect.

Screenshoot: Server not running vs Server running:

Screenshot 2023-01-20 at 13 46 37 Screenshot 2023-01-20 at 13 45 55

Looking for feedback on approach before attempting to improve on test coverage.

UPDATE: Marked as Draft as this needs further work if anyone wants to pull this in, main issue is the state about php running or not can easily get out of date, there needs to be a way to check if it runs for sure. This is especially issue with several VS Code windows open with different paths PHP should start in.

@andrerom andrerom force-pushed the server_status_indication branch from 2f35e08 to f99ff10 Compare January 20, 2023 19:58
@andrerom andrerom changed the title Toggle menu options on server status, visualize server status with icon Feature: Toggle menu options on server status, visualize server status with icon Jun 11, 2024
@andrerom andrerom changed the title Feature: Toggle menu options on server status, visualize server status with icon Feature: Adapt menu options and icon depending on server running to better visualize status Jun 11, 2024
@andrerom andrerom marked this pull request as draft October 18, 2024 11:05
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.

[Feature] Keep track of server state to greatly improve usability of extension
1 participant