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

Autocompletes not working (like before)

Open clumba opened this issue 11 months ago • 3 comments

Checklist

The question

Previously, autocomplete worked correctly - if I enter pl, then play is offered. I enter the first letters of the bot's name - the full name is suggested. Now it doesn't work. However, something else works - if you enter the letter s, then sa (?) is suggested. And if you press TAB... status ASF will appear! What's happening? Was there some kind of update that changed the logic of autocomplete?

Additional info

No response

clumba avatar Mar 07 '24 04:03 clumba

Same. When I type transfer^ nothing shows up, when I send the command as-is without the needed params I get 'unknown command' for some reason, idk if it was like that before. But for sure the auto-complete and param tips are both disabled/broken.

UPD: I've just checked, for some reason the /commands endpoint returns 404. That must be the reason. ASF is probably supposed to return the list of commands so that IPC knows what it's working with, but it doesn't happen for some reason.

Wolterhon avatar Mar 07 '24 15:03 Wolterhon

The situation is the same, and not only does it not prompt you to complete the commands, but also the names of the bots must be entered in full manually. At the same time, in ASF Config, when you click on the question mark to expand the list with a description of the parameters, it is also empty

evgewakan avatar Mar 14 '24 17:03 evgewakan

same

zhangminghao1989 avatar Mar 15 '24 02:03 zhangminghao1989

Works for me. No update in that regard. Maybe your ASF can't connect to GitHub to fetch wiki commands page.

MrBurrBurr avatar Mar 18 '24 00:03 MrBurrBurr

Works for me. Maybe your ASF can't connect to GitHub to fetch wiki commands page.

A bunch of random people have this problem, and you just close the issue cause it 'works for you' instead of investigating. Bruh. There's also an issue with the global config page as stated in this comment, does it also require to connect to GitHub? The endpoint that's probably related to this (/asf-config) also returns 404.

Wolterhon avatar Mar 18 '24 08:03 Wolterhon

The situation is the same, and not only does it not prompt you to complete the commands, but also the names of the bots must be entered in full manually. At the same time, in ASF Config, when you click on the question mark to expand the list with a description of the parameters, it is also empty

Same problem.

clumba avatar Mar 18 '24 08:03 clumba

Works for me. Try updating to latest version

Abrynos avatar Mar 18 '24 08:03 Abrynos

Upading what? ASF updates itself automatically.

Wolterhon avatar Mar 18 '24 08:03 Wolterhon

Works for me. Try updating to latest version

Снимок экрана 2024-03-18 120236 1 Снимок экрана 2024-03-18 120033

use last stable version ASF

evgewakan avatar Mar 18 '24 09:03 evgewakan

I can indeed confirm that it doesn't work on the latest stable ASF version but works using the latest pre-release.

ezhevita avatar Mar 18 '24 09:03 ezhevita

As for global config property descriptions, it was fixed as per https://github.com/JustArchiNET/ASF-ui/issues/1661 and is not included yet in any ASF release.

ezhevita avatar Mar 18 '24 09:03 ezhevita

A bunch of random people have this problem, and you just close the issue cause it 'works for you' instead of investigating. Bruh.

I answered his question, what more do you expect? This is not a bug report issue as you can see from the assigned label.

There's also an issue with the global config page as stated in this comment, does it also require to connect to GitHub?

This issue has already been fixed thanks to the bug report in #1661. And yes it also reads from GitHub and needs to be able to connect to it. But that bug was related to GitHub changing html structure of their wiki page so ASF-ui wasnt able to parse it correctly.

MrBurrBurr avatar Mar 18 '24 09:03 MrBurrBurr