4 ms·
> https://0github.com/stack-auth/stack-auth/pull/988 https://0github.com/stack-auth/stack-auth/pull/988 Very fun to see my own PR on Hacker News! This looks g
by n2d4 11mo ago
> https://0github.com/stack-auth/stack-auth/pull/988 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 11mo agoYeah 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?
- n2d4 11mo agoEither 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.
- lawrencechen 11mo agoYeah, heatmapping the diff before creating a PR would need tighter IDE integration. We're working on cmux for this purpose. It's kinda an IDE, and it lives in the same repo: https://github.com/manaflow-ai/cmux https://github.com/manaflow-ai/cmux. After we add the heatmap diff viewer into cmux, I expect that I'll be spending most of my time in between the heatmap diff and a browser preview: https://github.com/manaflow-ai/cmux/raw/main/docs/assets/cmux4.png https://github.com/manaflow-ai/cmux/raw/main/docs/assets/cmu...
- froh 11mo agocolorbrewer has proven high contrast gradients and also color blind options. a cli command with two options, console (color) and HTML opens all doors, right?
- blks 11mo agoPerhaps more time that you would spend writing code yourself.