bronzeage-node icon indicating copy to clipboard operation
bronzeage-node copied to clipboard

Provide some user-friendly indication of what is happening and remove debug statements by default

Open stefek99 opened this issue 7 years ago • 8 comments

I've just wanted to start the app.

image

I'm waiting and waiting, the only thing that I see is:

[info]
[debug]
[debug]

I don't know what is really happening - do I have to wait much longer?

Also see the bouncing icon - animated GIF below - what is happening?

is electron app starting


To provide nice initialisation screen and remove debugging statements by default it would be much more user friendly.

stefek99 avatar Jun 28 '17 07:06 stefek99

sh start.sh > stdout.txt 2> stderr.txt

Some of my logs: https://gist.github.com/stefek99/81645852e59e9dcfb859fe73df57db3e

stefek99 avatar Jun 28 '17 07:06 stefek99

The bouncing little icons are again webtorrent-hybrid which spawns again. Remove the -hybrid from the require('webtorrent-hybrid') in the contentdb.js file.

And the bronze age is more a proof of concept than a polished finished product, in my opinion the debug logs are very import.

KurzGedanke avatar Jun 28 '17 14:06 KurzGedanke

+1 to keeping the debug logs for now. It's early stage so developer support is higher priority than user friendliness.

ghost avatar Jun 28 '17 14:06 ghost

developer support is higher priority than user friendliness

@berrycoiled agreed

stefek99 avatar Jun 28 '17 14:06 stefek99

+1 @KurzGedanke and @berrycoiled

martriay avatar Jun 28 '17 20:06 martriay

I'd prefer Quake like press ' or some magic key...

I didn't know what is happening, what is important, is it still loading...

Furthermore - the Electron torrent app - and dock icon going crazy..

First impression - opened 7 Github issues (one immediately closed as duplicate)

If node by default starts in mining mode, then maybe show the hashes, network difficulty, probability, some super basic dashboard, keep it Electron app and maybe the Torrent will not be opening the thing...

And then the magic ' key to display debugging console.

This is an additional feature, set up a bounty - https://github.com/aragon/aragon-core/labels/bounty - allow members of the community to implement.

stefek99 avatar Jun 28 '17 22:06 stefek99

The thing is... the electron spawn are a... I think you may call them bugs. Some machines are working better with webtorrent other with webtorrent-hybrid. So it depends.

And... the miner show mining information:

[info] Miner: hashrate=452khs hashes=8589933 target=503382015 height=130493 best=00000006540e54ed329e9719cd15a91b9765e507e4f4d340c313c0dac6153652

KurzGedanke avatar Jun 29 '17 09:06 KurzGedanke

maybe show the hashes, network difficulty, probability, some super basic dashboard

[info] Miner: hashrate=452khs hashes=8589933 target=503382015 height=130493 best=00000006540e54ed329e9719cd15a91b9765e507e4f4d340c313c0dac6153652

YEAH... Basic chart... I'm just a human, when I see long line full of digits it's not that easy to make sense of it.

stefek99 avatar Jun 29 '17 11:06 stefek99