hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
313 stars 138 forks source link

TextTable borders render incorrectly in browser #8075

Open litt3 opened 1 year ago

litt3 commented 1 year ago

The "fancy" characters used by the TextTable to draw borders don't render well in browser (chromium based browsers tested)

image

Replace these fancy symbols with simpler ones, like | and _. The current tables look nice, but don't help anyone if they won't render properly

felipeneuhauss commented 12 months ago

I'll work on it.

mwb-al commented 11 months ago

@alittley Could you provide more information on how to reproduce it? I've tested this on Chromium and other browsers, and I didn't encounter the issue. I also noticed that com.hedera.hashgraph.java.gradle.kts explicitly sets the encoding to UTF-8.

litt3 commented 11 months ago

@mwblocky-al Take a look at these examples of artifacts uploaded from test runs with TextTable borders enabled

http://35.247.76.217:8095/alittley/08075-table-test/4N/Abbrev/20231128-172206-GCP-PRCheck-Abbrev-4N/Consistency-NDReconnect-10m/node0000/swirlds.log http://35.247.76.217:8095/alittley/08075-table-test/4N/Abbrev/20231128-172206-GCP-PRCheck-Abbrev-4N/Consistency-NDReconnect-10m/swirlds-logs.html

These don't render correctly for me in chromium based browsers, on macOS. I also observed the same behavior piping local run logs to a file, and opening in browser.