webui-client issueshttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues2022-10-16T19:35:49+02:00https://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/89Input box types string and String are confusing2022-10-16T19:35:49+02:00Tomáš PeckaInput box types string and String are confusingStudent did come up with this which is wrong [webui_export.json](/uploads/fbe40c1ecdb3876cce424f1fda76afd5/webui_export.json)
We need to redesign this, it's very confusing because
* string is unparsed but sometimes (when?) this std::st...Student did come up with this which is wrong [webui_export.json](/uploads/fbe40c1ecdb3876cce424f1fda76afd5/webui_export.json)
We need to redesign this, it's very confusing because
* string is unparsed but sometimes (when?) this std::string is lifted to our string::LinearString (String)
* String type is `string::*`, it also needs to delimit symbols with whitespace and for linear string we need to wrap it in quotes (e.g . `"a h o j"`)
cc @bilybranhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/86show measurements2022-05-19T19:11:28+02:00Tomáš Peckashow measurementsWe can run algorithms within measurements frame and report those. We just need an API for measurements, printing the frame report is not enoughWe can run algorithms within measurements frame and report those. We just need an API for measurements, printing the frame report is not enoughhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/66Reduce bundle size2022-02-20T13:55:19+01:00Tomáš PeckaReduce bundle sizeToday's build of 73460371 (this does not have the `algorithms.json` bundled anymore):
```
File sizes after gzip:
737.9 KB build/static/js/2.a28c4d21.chunk.js
35.84 KB build/static/js/main.364ca3d4.chunk.js
775 B build/stati...Today's build of 73460371 (this does not have the `algorithms.json` bundled anymore):
```
File sizes after gzip:
737.9 KB build/static/js/2.a28c4d21.chunk.js
35.84 KB build/static/js/main.364ca3d4.chunk.js
775 B build/static/js/runtime-main.595ff79e.js
135 B build/static/css/main.876345ae.chunk.css
```
Still too much I guess.
As per https://create-react-app.dev/docs/analyzing-the-bundle-size/:
Externals:
* 72.4% by viz.js (1.98 MB, graphviz dependency) !!!
* 6.2% by MUI (174 KB, not much to do I guess)
* 4.1% by react (114KB, not much to do I guess)
* 2.1% by immutable.js (60KB, used only for Maps in redux)
Our code is not that big.
Find out how to reduce viz.js size. Their [github repo](https://github.com/mdaines/viz.js/) says they compiled the C code with Emscripten :( Is there a way how not to bundle whole viz.js?Tomáš PeckaTomáš Peckahttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/64Filter by return type / argument types2022-04-25T14:06:13+02:00Hana LitavskáFilter by return type / argument typesBPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/63Create a second instance that will work with ALT dev branches2021-11-29T10:11:57+01:00Hana LitavskáCreate a second instance that will work with ALT dev branchesCreate a second instance that will work with ALT dev branches, not master. Or create a special worker and special queues.Create a second instance that will work with ALT dev branches, not master. Or create a special worker and special queues.BPhttps://gitlab.fit.cvut.cz/algorithms-library-toolkit/webui-client/-/issues/62Custom function node2022-05-13T13:47:02+02:00Hana LitavskáCustom function nodeBPhttps://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 themBPhttps://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/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/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/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/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/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/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/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/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áš Pecka