Jopyth/MMM-Remote-Control

API endpoint to edit the config of a single module

a-waider opened this issue · 5 comments

Description

Hey there,

did you guys ever think about adding an endpoint to edit the config of a single module? Would be a really nice feature when configuring the magic mirror for a specific module.

Changelog

Need to add another endpoint to api.js and some logic to node_helper.js.

Requirements

This shouldn't be that difficult to implement. More important this needs a general decision if such an endpoint is justified.

Additional info

No response

It's a great addition, but I think that first we'll need to solve #241
I can add it, but as long as that issue still active, MM will require a full reload.

And also having "Edit config.js" in Menu seems to solve the issue for most people.

Nice to hear this positive response from you. I'm definitely willing to help you implementing this feature and verifying if this meets my initial issue post.

In my opinion reloading the complete page isn't a big problem, cause in my use case the page reloads pretty quick.

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

I totally forgot about this issue.
For now, I'll add it as stated before, it'll act the same way as modifing the full config file, and it'll restart the whole browser.

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.