JustArchiNET / ASF-ui

The official web interface for ASF
Apache License 2.0
257 stars 36 forks source link

Autocompletes not working (like before) #1660

Closed clumba closed 3 months ago

clumba commented 4 months ago

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

Wolterhon commented 3 months ago

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.

evgewakan commented 3 months ago

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

zhangminghao1989 commented 3 months ago

same

MrBurrBurr commented 3 months ago

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

Wolterhon commented 3 months ago

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.

clumba commented 3 months ago

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.

Abrynos commented 3 months ago

Works for me. Try updating to latest version

Wolterhon commented 3 months ago

Upading what? ASF updates itself automatically.

evgewakan commented 3 months ago

Works for me. Try updating to latest version

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

use last stable version ASF

ezhevita commented 3 months ago

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

ezhevita commented 3 months ago

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.

MrBurrBurr commented 3 months ago

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.