Fork me on GitHub
#kaocha
<
2019-09-05
>
plexus05:09:01

Hi @lee, thanks for the PR!

lread09:09:13

Thank you for creating an awesome tool!

lread14:09:58

Am also happy to look at tweaks to diff coloring if folks agree that there is merit to the idea: https://github.com/lambdaisland/deep-diff/issues/14

👏 4
plexus16:09:46

@lee I'm hesitant on this one, since red/green is a very established convention for diffs, but you do have a point. Maybe we should start by making them configurable in deep-diff, and then we can have a separate discussion what the defaults should be in kaocha

lread16:09:48

Thanks for the reply @plexus! I like red/green for diffs. It’s just that red is also used for normal syntax highlighting. And I was musing about red/green as background color instead of foreground just to make them stand out more. Do you think it is worth me mocking up some samples to get a feel for what some variations might look like?

plexus16:09:15

yeah, that would be great

lread16:09:51

I will put it on my todo list!

plexus16:09:17

point still stands about the configurability, if we change the default then some people will be unhappy about it, not everyone likes change and people get attached to their tools etc. so then I'd like to be able to say "just put this in your config and you get the old behavior back", rather than having to argue why it's better

lread16:09:29

Good point. If we decide to proceed with changes, I’ll scope that in.

lread16:09:30

I’ll add a note to git issue. Thanks!

lread21:09:14

Ok, I could not resist, I took a bit of time to update https://github.com/lambdaisland/deep-diff/issues/14 with some mockups. Looking for feedback from anyone with an opinion.