electricitymaps / bloom-contrib

Making carbon footprint data available to everyone.
https://www.bloomclimate.com
MIT License
435 stars 104 forks source link

#159 Adds Console Component for rendering of output #277

Closed dafrie closed 4 years ago

dafrie commented 4 years ago

Uses console-feed for rendering of output and allows searching, filtering and ordering of output. Resolves #159

TODO:

corradio commented 4 years ago

Looks cool! Ping me when you want me to review.

dafrie commented 4 years ago

@corradio should now be ready for review. Could do further improvements, e.g. storing selected filter categories in LocalStorage? Or maybe later once requirements of #160 is more clear?

corradio commented 4 years ago

I'll review asap

corradio commented 4 years ago

is it possible to sort ASC by default and show all output by default (i.e. warn and debug by default?)

dafrie commented 4 years ago

is it possible to sort ASC by default and show all output by default (i.e. warn and debug by default?)

Like so? In the ASC case however, then probably it should always scroll to bottom, so the whole console output should be wrapped in a scrollable container?

corradio commented 4 years ago

This looks good for now! I suggest we merge and then we can make additional UX changes later on. Thank you so much!