Update CONTRIBUTING.md

This commit is contained in:
Andrew Pareles 2024-09-11 01:22:49 -07:00 committed by GitHub
parent 2989475c1e
commit 837956d668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ Here are the most important topics on our Roadmap that you can contribute. More
⭐⭐⭐ Improve diffs. We define a "diff" as a single green/red codeblock that denotes a change. Here are improvements to make:
1. Show red deletions (-) inside diffs. Right now we're only showing green insertions (+). Diffs currently work by highlighting all of the new code in green with a simple text decoration. We would like to use code from VS Code's native diffEditor to show the diffs instead ("inline" mode). We could alternatively keep what we have and add red zones of the deleted code between lines.
1. Show red deletions (-) inside diffs. Right now we're only showing green insertions (+). Diffs currently work by highlighting all of the new code in green with a simple text decoration. Instead, we would like to use code from VS Code's native diffEditor to show the diffs ("inline" mode). We could alternatively keep what we have and add red zones of the deleted code between lines.
2. Make diffs responsive. When a user accepts a diff, all of the diffs below it should be updated (because they are now on different line numbers). We're not doing this, so there is a lot of unexpected behavior.