Comment by n2d4

Comment by n2d4 4 days ago

5 replies

> https://0github.com/stack-auth/stack-auth/pull/988

Very fun to see my own PR on Hacker News!

This looks great. I'm probably gonna keep the threshold set to 0%, so a bit more gradient variety could be nice. Red-yellow-green maybe?

Also, can I use this on AI-generated code before creating a PR somehow? I find myself spending a lot of time reviewing Codex and Claude Code edits in my IDE.

lawrencechen 4 days ago

Yeah we definitely want to make the gradient and colors configurable.

What form factor would make the most sense for you? Maybe a a cli command that renders the diff in cli or html?

  • froh 4 days ago

    colorbrewer has proven high contrast gradients and also color blind options.

    a cli command with two options, console (color) and HTML opens all doors, right?

  • n2d4 4 days ago

    Either would work, I think. How I do it right now is that I let AI edit automatically, but then check the diff in Cursor before I stage my Git changes. May be different for others.

blks 3 days ago

Perhaps more time that you would spend writing code yourself.