Skip to content

Add ability to edit custom config parameters, both for global and bot configs #1698

@Rudokhvist

Description

@Rudokhvist

Checklist

  • I read and understood ASF-ui's Contributing Guidelines
  • I also read FAQ
  • My idea doesn't duplicate existing ASF-ui functionality described on the wiki
  • I believe that my idea falls into ASF-ui's scope and should be offered as part of ASF-ui built-in functionality
  • This is not ASF suggestion

Enhancement purpose

Add ability to edit custom properties in configuration files, that are parsed by third-party plugins.

Solution

I believe it should be a multi-line text area with non-parsed json of unsupported parameters. Upon saving would be nice to check if it's still valid json, if possible, and show error without saving otherwise.

Why currently available solutions are not sufficient?

Currently editing those parameters only possible by directly editing files on disk. For VPS-hosted ASF it will be more convenient to have ability to edit them via ASF-ui

Can you help us with this enhancement idea?

Somehow, I can test and offer feedback, but can't code

Additional info

Theoretically, we can agree on some "well-known" endpoint where plugins should report schema for supported parameters. But it looks a bit hard to implement, so I believe just a field with json should do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ EnhancementIssues marked with this label indicate further enhancements to the program, such as new features.👍 PR-okIssues marked with this label are good candidates for being accepted in a pull request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions