decosoftware/deco-ide

Improve console UI

Open

#58 aperta il 29 mag 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (342 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (5840 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This one would be pretty easy for somebody to help with.

The current console UI kind of sucks: it's just a giant div that we stuff text in. We should try to use a terminal emulator.

  • text will wrap properly
  • we can autoscroll to the bottom better
  • probably won't lag during an ios build, when tons of text gets logged all at once (slowness might be due to other stuff)

This task is a prerequisite for being able to type back into the console (currently is read-only), and being able to search console output.

screen shot 2016-05-29 at 4 03 52 pm


How to improve it?

Consider using https://github.com/sourcelair/xterm.js, the actively maintained fork of termjs.

This should fix text-wrapping, scrolling, and probably performance (although we may also want to batch text output into the console). It will set us up to be able to run commands via the console and search console output.

Guida contributor