PaperMC / PaperMC/diff-viewer

Addition/Deletion highlights in the diff should stand out more

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
50
Forks
8
Avg merge
1h 38m
Merged PRs (30d)
6

Description

It is quite hard to see the actual diff of a line with the current highlight colors.
Here’s how it looks now:
Image
The getId() should stand out more.

GitHub does it like this:
Image

I have tried doing this change by myself but I was not able to do it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the diff rendering and styling entry points in the TypeScript web app, then reproduce the screenshots to compare the current addition and deletion highlights. Trace how changed text such as getId() receives its colors and inspect the existing Tailwind styles. Done means the changed portions stand out clearly while preserving readable line-level highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss, typescript
Domain
design, frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.