N3developertoolkit / neo3-visual-tracker

Neo N3 blockchain explorer that is directly available within Visual Studio Code for developer usage and development scenarios.
https://marketplace.visualstudio.com/items?itemName=ngd-seattle.neo3-visual-tracker
MIT License
7 stars 11 forks source link

Change color of Status Bar - NEO active connect #138

Closed robliou closed 2 years ago

robliou commented 2 years ago

I added code to the settings.json file which changes the colors on the status bar at the bottom of the VS Code border based on Active Chain Connection status. It is currently set to orange to when it is disconnected to the chain, white when connecting, and green when NEO is connected. We can set the colors as we like and is quite eye-catching to the user.

A2

A3

A4

Note that this is in response to UI issue https://github.com/ngdenterprise/neo3-visual-tracker/issues/124 as brought up by Erik. However, per further discussion with him, it seems to have opened up a can of worms as to what 'active connection to a chain' really entails. See issue https://github.com/ngdenterprise/neo3-visual-tracker/issues/137 for discussion therein.

devhawk commented 2 years ago

The settings.json file is for the local developer - in this case, the DevTracker developer (i.e. you or me) not the DevTracker user.

You'll need to define new color contributions for the neo status bar