nextcloud / app_api

Nextcloud AppAPI
https://apps.nextcloud.com/apps/app_api
GNU Affero General Public License v3.0
81 stars 7 forks source link

Add possibility to edit Deploy daemon configuration #332

Closed andrey18106 closed 3 months ago

andrey18106 commented 3 months ago

Describe why it is important and where it will be useful

It would be more convenient to have an "Edit Deploy daemon" feature.

Describe your proposed solution

It's actually the same modal as for "Register Deploy daemon" but slightly adjusted with already filled data from the target Deploy daemon to edit. In this way we keep all the logic of the registration checks. The backend part also needs the endpoint to update the edited Deploy daemon.

For each Deploy daemon list item add context menu option "Edit", which opens a modal with data of selected daemon configuration, similar to "Register modal", but without templates, and with adjusted warnings logic.

Describe alternatives you've considered, if relevant

No response

Additional context

There are some fields, the changes of which are reflected only for newly installed ExApps (Docker container re-create is required

Fields that should be able to be edited without warning:

With warning:

image