code icon indicating copy to clipboard operation
code copied to clipboard

Stop user from interacting with mods when minecraft is running

Open denisJaved opened this issue 5 months ago • 2 comments

Please confirm the following.

  • [X] I checked the existing issues for duplicate feature requests
  • [X] I have checked that this feature request is not on our roadmap

What parts of Modrinth is your feature request related too?

App

Is your suggested feature related to a problem? Please describe.

Obviously it is impossible to remove/disable mod when instance(minecraft) is running. But theese buttons always will try to remove/disable mod when pressed.

Describe the solution you'd like

Disable buttons for disabling/enabling/updating/removing mod when minecraft is running.

Like this: image this done by adding disabled attribute to switch's input tag and buttons.

Describe alternatives you've considered

Before disabling/enabling/updating/removing check is minecraft running right now and if it is show user confirmation prompt. image

denisJaved avatar Sep 23 '24 09:09 denisJaved