trifid
trifid copied to clipboard
Replace YASGUI package
As mentioned in issue #192 YASGUI is not maintained anymore. This causes a couple of issues
- Security updates are not being done
- reliance on external parties (prefix.cc)
The proposal is to replace the two elements that make up YASGUI
- YASQE the actual query editor
- use Monaco and allow VSCode plugins
- YASR the result renderer
- The concept of this part is actually really nice, but it needs an overhaul
General idea
Create two separate WebComponents which can be used independently
Query editor
Use Monaco as an editing component with VSCode plugins for language support
- Autocompletion
- LSP support
- Flexible wiring to the result renderer
Result renderer
Overhaul the existing YASR code and make a WebComponents out of it
- plugin support, allow for plugins to render specific result set formats
- use a result set attribute which can be set to initiate the rendering
- use extensible styling to it can integrate well in existing UI toolkits