Skip to content

Improve error message when port 80 is already in use - #1068

Merged
ivan-ottinger merged 4 commits into
trunkfrom
update/another-server-running-error-message
Mar 17, 2025
Merged

Improve error message when port 80 is already in use#1068
ivan-ottinger merged 4 commits into
trunkfrom
update/another-server-running-error-message

Conversation

@ivan-ottinger

Copy link
Copy Markdown
Contributor

Related issues

Proposed Changes

  • delay error message and update its copy

Testing Instructions

  1. Start a WordPress site with custom domain through the Local app: https://localwp.com/
  2. Check out the PR branch and build the app with npm start.
  3. The error message should load with updated copy only after complete Studio app interface load.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@ivan-ottinger ivan-ottinger self-assigned this Mar 14, 2025
@ivan-ottinger
ivan-ottinger requested a review from a team March 14, 2025 11:21
@ivan-ottinger
ivan-ottinger force-pushed the update/another-server-running-error-message branch from d3d2818 to 222e258 Compare March 14, 2025 11:41

@fredrikekelund fredrikekelund left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy changes look good, but I realized there's an approach that doesn't require us to use a timeout.

Comment thread src/lib/proxy-server.ts Outdated
Comment thread src/lib/proxy-server.ts Outdated
ivan-ottinger and others added 2 commits March 14, 2025 16:19
Co-authored-by: Fredrik Rombach Ekelund <fredrik@f26d.dev>

@fredrikekelund fredrikekelund left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice 👍

@ivan-ottinger
ivan-ottinger merged commit 11b4325 into trunk Mar 17, 2025
@ivan-ottinger
ivan-ottinger deleted the update/another-server-running-error-message branch March 17, 2025 09:14
bgrgicak pushed a commit that referenced this pull request Mar 20, 2025
* Delay error message

* Update error message

* Update copy

Co-authored-by: Fredrik Rombach Ekelund <fredrik@f26d.dev>

* Pass `mainWindow` instance to `dialog.showMessageBox` instead of using timeout

---------

Co-authored-by: Fredrik Rombach Ekelund <fredrik@f26d.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants