ASF-ui icon indicating copy to clipboard operation
ASF-ui copied to clipboard

Add dropdown for SteamUserPermissions config property

Open Abrynos opened this issue 4 years ago • 0 comments

Checklist

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

Enhancement purpose

When creating a new bot or re-configuring an old one, I'd like to be able to select a bot that is already in my ASF instance via dropdown menu to give it permissions. ASF-ui already gets the SteamID when requesting /api/bot/asf, so this should be possible to implement.

Solution

Add a dropdown menu to SteamUserPermissions config property that has the bots that are already in ASF available for selection. Selecting a special value input manually should bring back the original text field to give a user permission that is not available as a bot in the ASF instance.

Why currently available solutions are not sufficient?

Currently I need to go to a steam users profile in another tab and get their steam id from there somehow.

Can you help us with this enhancement idea?

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

Additional info

Thank you in advance for considering the implementation of this feature request.

Abrynos avatar Dec 06 '21 08:12 Abrynos