Add a confirmation prompt when clicking Stop (Local Server) - Mendix Forum

Add a confirmation prompt when clicking Stop (Local Server)

3

Hi everyone,

I would like to suggest a small but impactful quality-of-life improvement for Mendix Studio Pro regarding the local server controls.


The Problem: While developing and debugging in Studio Pro, it is relatively easy to accidentally click the "Stop" button (the red square). This happens frequently because of its position: it is located right next to the "Run Locally" button, and very close to the "Clear" button in the console—a button developers click constantly while monitoring logs.

Currently, clicking "Stop" halts the local server immediately without any warning. Depending on the size and complexity of the project, waiting for the application to start up again can take a considerable amount of time. These accidental clicks break the developer's state of flow and decrease productivity.


The Proposed Solution: Implement a simple confirmation dialog when the "Stop" button is clicked (e.g., "Are you sure you want to stop the local server? [Yes] [No]").

To ensure this doesn't bother developers who prefer the current instant-stop behavior, this prompt could be accompanied by a "Don't show this again" checkbox, or be toggled on/off within the Studio Pro Preferences > General settings.


The Value: This simple guardrail would prevent accidental server shutdowns while launching the app or clearing logs, saving valuable development time and improving the overall Developer Experience (DX).

Has anyone else experienced this frustration? I would appreciate your votes and thoughts on this!


Thanks.

asked
1 answers

See also a similar problem for the other button Protect from accidental publish

Created