webui-client issueshttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues2022-03-25T15:31:16+01:00https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/52Verbose output nodes2022-03-25T15:31:16+01:00Tomáš PeckaVerbose output nodesThe verbose output nodes were introduced in !15.
However, they are kind of hacked in there. Worker just reports them as "output nodes" and the webui processes it just as it was an output node.
I think that from the view of the worker, it...The verbose output nodes were introduced in !15.
However, they are kind of hacked in there. Worker just reports them as "output nodes" and the webui processes it just as it was an output node.
I think that from the view of the worker, it is fine.
However, the webui should distinguish between an actual output node and "verbose node".
So, what I propose:
* The verbose output should be distinguished visually (another color might suffice)
* The verbose output should be typeset in verbatim as it is just a stream of printable bytes. Some algorithms, like `minimize` even try to print a table in plaintextBPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/51(Finite) Automaton output nodes2022-04-20T19:02:48+02:00Tomáš Pecka(Finite) Automaton output nodesI think we should create a new outputnode that will parse the automaton and display it as a [table](https://v4.mui.com/components/tables/).
Or, alternatively, we could merge this into the DotOutput node and add two [tabs](https://v4.mui...I think we should create a new outputnode that will parse the automaton and display it as a [table](https://v4.mui.com/components/tables/).
Or, alternatively, we could merge this into the DotOutput node and add two [tabs](https://v4.mui.com/components/tabs/) there (Table, Dot) so user can easily see both versions.
Personally, I like the later version but adding "Discussion needed" label.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/50Filter ALT algorithms2022-05-10T19:53:39+02:00Tomáš PeckaFilter ALT algorithmsI don't think we want to map all the provided algorithms from ALT 1:1. For instance, I don't think we need `example::*` algos.
So let's either
* write a filter for some algorithms
* do not link some libs to the result.
This is someth...I don't think we want to map all the provided algorithms from ALT 1:1. For instance, I don't think we need `example::*` algos.
So let's either
* write a filter for some algorithms
* do not link some libs to the result.
This is something that should probably be done in cooperation with #40.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/48Unable to open automaton output2022-04-05T14:06:46+02:00Tomáš PeckaUnable to open automaton outputIn this sheet we are unable to open `Automaton output` node. The error it prints into console is `Uncaught SyntaxError: unmatched ) in regular expression`
[webui_export.json](/uploads/320df9cbec43f136b319a5e9a1c45575/webui_export.json)In this sheet we are unable to open `Automaton output` node. The error it prints into console is `Uncaught SyntaxError: unmatched ) in regular expression`
[webui_export.json](/uploads/320df9cbec43f136b319a5e9a1c45575/webui_export.json)Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/47(De)serialize sheet into/from URL2021-11-21T11:35:57+01:00Tomáš Pecka(De)serialize sheet into/from URLbut our Json is kinda big
- IDs might be shorter?
- run through gzip + base64
Or perhaps add database of links?but our Json is kinda big
- IDs might be shorter?
- run through gzip + base64
Or perhaps add database of links?https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/46Log higher priority messages to stderr2020-11-15T14:39:13+01:00Tomáš PeckaLog higher priority messages to stderrWe forward logs from docker containers to hosts journald in deployment. Docker [apparently](1) logs only stderr messages as critical. However, spdlog logs everything to stdout.
Probably we have to create two sinks for the worker loggers...We forward logs from docker containers to hosts journald in deployment. Docker [apparently](1) logs only stderr messages as critical. However, spdlog logs everything to stdout.
Probably we have to create two sinks for the worker loggers.
[1] https://github.com/docker/docker-ce/blob/96d50fd61df5a62a26609523619f5a5386b7d6db/components/engine/daemon/logger/journald/journald.go#L122Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/45Add a link to docs in string input dialog2020-10-30T15:48:20+01:00Tomáš PeckaAdd a link to docs in string input dialogthe formats may be confusingthe formats may be confusingTomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/44Crashed worker causes the job not to be removed from queue2020-11-07T18:33:10+01:00Tomáš PeckaCrashed worker causes the job not to be removed from queueso the other workers fetch the job and keep themselves busy crashing&restarting ...so the other workers fetch the job and keep themselves busy crashing&restarting ...Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/43Worker sometimes fails with pure virtual method called2021-02-07T11:59:30+01:00Tomáš PeckaWorker sometimes fails with pure virtual method calledIt happened twice. This crashes the worker but the job is still in the server's queue.
I started workers in debug mode in production, we shall see whether this happens again.It happened twice. This crashes the worker but the job is still in the server's queue.
I started workers in debug mode in production, we shall see whether this happens again.Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/42show algorithm's verbose output2021-11-14T18:44:30+01:00Tomáš Peckashow algorithm's verbose outputTomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/41Report more detailed errors2020-10-29T16:58:26+01:00Tomáš PeckaReport more detailed errorsMake worker report full ALT̈́ exception log (include nested exceptions). Perhaps pass that back to webui as structured JSON and visualize.Make worker report full ALT̈́ exception log (include nested exceptions). Perhaps pass that back to webui as structured JSON and visualize.Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/40algorithms.json should probably be fetched from the server2022-02-20T20:27:07+01:00Tomáš Peckaalgorithms.json should probably be fetched from the server... so we do not have to bundle it into the client and rebuild everytime we want to upgrade backend... so we do not have to bundle it into the client and rebuild everytime we want to upgrade backendTomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/39Simple string::Parse of automaton with dot output does not work2020-10-29T16:58:26+01:00Tomáš PeckaSimple string::Parse of automaton with dot output does not workSimple evaluation pipeline `input(string) -> parse(Automaton) -> dot output` fails with `Evaluation of algorithm convert::DotConverter failed.` although the input is valid. See attached notebook.
[webui_export__4_.json](/uploads/c4a8ed0...Simple evaluation pipeline `input(string) -> parse(Automaton) -> dot output` fails with `Evaluation of algorithm convert::DotConverter failed.` although the input is valid. See attached notebook.
[webui_export__4_.json](/uploads/c4a8ed0fb65a52b6b416a40dcddde8f5/webui_export__4_.json)Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/38Statemaker and "multiedges"2020-10-30T18:14:06+01:00Tomáš PeckaStatemaker and "multiedges"Statemaker can be very confusing when having two parallel edges. Students are used to doing something like this from AAG course (see pic) which obviously results in wrong alphabet and `string::Parse` failure.
![Snímek_z_2020-10-15_17-08...Statemaker can be very confusing when having two parallel edges. Students are used to doing something like this from AAG course (see pic) which obviously results in wrong alphabet and `string::Parse` failure.
![Snímek_z_2020-10-15_17-08-07](/uploads/57c166acd6492813cc4f8135782169f6/Snímek_z_2020-10-15_17-08-07.png)
Solution: Probably show a warning? Or parse it into individual symbols/transitions?https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/37Restyle algorithm overload list element - it is too large2022-05-13T08:27:37+02:00Tomáš PeckaRestyle algorithm overload list element - it is too largeThe algorithm overload div still takes a lot of space. Finding a specific overload for algorithms like `string::Compose` is pain.
![Screenshot_2020-10-12_ALT_WebUI](/uploads/35f9c51bc59a60a4d7913ca459a1afb6/Screenshot_2020-10-12_ALT_Web...The algorithm overload div still takes a lot of space. Finding a specific overload for algorithms like `string::Compose` is pain.
![Screenshot_2020-10-12_ALT_WebUI](/uploads/35f9c51bc59a60a4d7913ca459a1afb6/Screenshot_2020-10-12_ALT_WebUI.png)
Ideas how to improve it:
- name of argument and its type can be on a single line. If the name of the argument is longer than (lets say) 15 characters, abbreviate it with `...`.
- I was actually thinking about removing the name of the parameter and repace it with the input index. But I see that we reference the name in the docs. This is something that can't probably be done better (parsing doxygen? probably not, thank you). In the future we should solve this on the `automata-library` level. Maybe use a docstring for each parameter separatelyinstead of the full doxygen (what do you think, @travnja3 ?)
- Result and its type similarly
- Smaller margins around those <code>hr</code> tags and Result and Parameters headers.
I think making it smaller at least about one third would be desirable.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/36Latex Converter2022-05-15T22:59:17+02:00Tomáš PeckaLatex ConverterThe latex converter should probably be a priority now. When composing a text table output for automata with states labelled like `{A,B,C}` or `(a, 1)`, the output gets quite messy because the columns are unaligned.The latex converter should probably be a priority now. When composing a text table output for automata with states labelled like `{A,B,C}` or `(a, 1)`, the output gets quite messy because the columns are unaligned.Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/35Import over API2020-10-07T17:01:39+02:00Michael VránaImport over API@peckato1
How would you want it to work? My idea would be to have an endpoint from which the webui would pull the JSONs and import them. We also need to decide how to store the JSONs. The simple solution would be to host the JSONs on a ...@peckato1
How would you want it to work? My idea would be to have an endpoint from which the webui would pull the JSONs and import them. We also need to decide how to store the JSONs. The simple solution would be to host the JSONs on a web server that would be accessed by the API server. Alternatively we can have a DB with the JSONs.Michael VránaMichael Vránahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/34Ideas for features2022-05-15T22:59:36+02:00Tomáš PeckaIdeas for featuresFeel free to edit this issue.
* [x] Create a database containing mapping hash -> algorithm graph so students can easily load some predefined examples. We could then just add links to coursepages. (#47)
* [ ] Extend statemaker with gra...Feel free to edit this issue.
* [x] Create a database containing mapping hash -> algorithm graph so students can easily load some predefined examples. We could then just add links to coursepages. (#47)
* [ ] Extend statemaker with grammars and pushdown automata (#58, #59)
* [x] Latex output (#36)
* [ ] Link from algorithm to the source code (#60)
* [x] ~~Parse doxygen comments and visualize somehow (#61)~~
* [x] Filter algorithms in AlgorithmsJsonParseGenerator (or whatever it is called now) (#50)
* [ ] Custom function node (#62)
* [ ] Create a second instance that will work with ALT dev branches, not master. Or create a special worker and special queues. (#63)
* [x] Filter by return type / argument types. (#64)https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/33Save sheet to local storage2020-05-27T07:12:25+02:00Tomáš PeckaSave sheet to local storagehttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/32Input connection - replace old one2020-05-28T00:37:32+02:00Tomáš PeckaInput connection - replace old onenew input connection should replace the old onenew input connection should replace the old one