fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

Color coding requests from a specific site #190

Closed almereyda closed 1 month ago

almereyda commented 1 month ago

In https://github.com/fedwiki/wiki-server/issues/132#issuecomment-304191301 Ward suggested to

I suggest color coding requests from a specific site so as to distinguish it from others and system messages which deserve their own color.

This reifies this statement, as the issue where this came up is closed.

almereyda commented 1 month ago

191 brings colour coding for request domains.

Please be not confused. I'm using American English in code, to adapt to the existing style, but prefer to converse in British English.

A subsequent iteration can try to find and replace all uncoloured console.log statements in all wiki modules with ones that apply the suggested system colour.

almereyda commented 1 month ago

Ideally, there is a command line or configuration flag, which toggles printing colours. Such a toggle could also take care of grayscaling coloured variable output of Node.js in console.log statements.

almereyda commented 1 month ago

191 was released with v0.25.0.