Closed yitzchak closed 7 years ago
@thomasjo Check out the attached screen capture showing usage of the Docks API, message counter indicator and updating the log in response to changes in loggingLevel
.
:fire: wobble in busy indicator.
Table based display of messages.
Screenshot showing loggingLevel
controls in dock.
Screenshot showing loggingLevel controls in dock.
I like the intent, but from a user experience perspective it's not clear what the buttons do, nor what actually happens when you click them. Maybe a tooltip is enough, but this likely needs a label or something near the buttons that conveys "Adjust logging level". Couple that with a descriptive tooltip that clearly states what logging level here means.
What do you think? :thought_balloon:
Agree on log filter UI. Will probably need multiple iterations so I am moving into separate PR.
@thomasjo I've removed the logging level buttons and done some code cleanup. I think this one should ready to go.
The test coverage went down by one because getMostSevereType
is no longer being used (or DefaultLogger
). I used CSS specificity instead to make the error markers in the gutter override the warning markers, etc. The advantage of this method is that if two message ranges overlap then the non-overlapping regions will still be styled correctly.
Aside from that, I added a few more tests and fixed the issues you noted. Once I get a green light from CI I'll probably pull the trigger! :tada:
@thomasjo I've managed to recover most of the tests that are still applicable. I'll take a look at specs for MarkerManager
tomorrow. I think that will wrap it up.
Using Atom's loading indicator instead?
This a PR to improve the log reporting UI. Various ideas are listed below.
loggingLevel
setting changeAllow logging level to be set from the dockMove to filtering UIAdd message copyMove to separate PRAdd message filtering UI (#359)Move to separate PRRetain messages from previous buildsrequires changes to log message format