webui-client issueshttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues2022-05-15T22:59:36+02:00https://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/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/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/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/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/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/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/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/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/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/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/53Add switch to show/hide verbose output nodes2021-11-21T11:29:17+01:00Tomáš PeckaAdd switch to show/hide verbose output nodesPerhaps we can add a checkbox somewhere to allow/disallow showing verbose output of some nodes?
If so, do we wan't to propagate this value into the worker so it does not report it?Perhaps we can add a checkbox somewhere to allow/disallow showing verbose output of some nodes?
If so, do we wan't to propagate this value into the worker so it does not report it?BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/54Make the JSON describing AlgoGraph smaller2021-11-21T11:35:57+01:00Tomáš PeckaMake the JSON describing AlgoGraph smallerSome work was done in #47. But, I think we can make the JSON smaller and get smaller links.
However, proceed with caution. We must be able to parse older JSONs as well.
Perhaps, we can also gzip the base64 encoded-json to make it small...Some work was done in #47. But, I think we can make the JSON smaller and get smaller links.
However, proceed with caution. We must be able to parse older JSONs as well.
Perhaps, we can also gzip the base64 encoded-json to make it smaller. I believe there is going to be a npm-packaged library for (un)gzipping.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/55Offline version2021-11-26T10:13:56+01:00Tomáš PeckaOffline versionWrap webui-client together with some implementation of a single worker and a server into an (electron) app usable offline.Wrap webui-client together with some implementation of a single worker and a server into an (electron) app usable offline.https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/56templated algorithms (like string::Parse) should show the template arguments ...2022-03-25T15:31:19+01:00Tomáš Peckatemplated algorithms (like string::Parse) should show the template arguments in the Box on canvasI think templated algos should show its template params on the algorithm canvas.
User can't possibly remember which template specialization he put on the canvas.I think templated algos should show its template params on the algorithm canvas.
User can't possibly remember which template specialization he put on the canvas.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/57show documentation for algorithm boxes on canvas2022-03-25T15:31:18+01:00Tomáš Peckashow documentation for algorithm boxes on canvasMaybe a small (i) icon that shows a popup with documentation.Maybe a small (i) icon that shows a popup with documentation.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/58Add a form for specifying grammars without a need to learn ALT input language2022-04-17T10:59:24+02:00Hana LitavskáAdd a form for specifying grammars without a need to learn ALT input languageBPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/59Extend statemaker with pushdown automata2021-11-29T09:16:25+01:00Hana LitavskáExtend statemaker with pushdown automataBPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/60Link from algorithm to the source code2021-11-29T09:24:38+01:00Hana LitavskáLink from algorithm to the source codeBPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/61Parse doxygen comments and visualize them2021-11-29T09:13:34+01:00Hana LitavskáParse doxygen comments and visualize themBP