Add a DiffsHub code font preference
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start by locating DiffsHub's display settings and the existing local persistence for display preferences, then trace where fonts are applied to diff code. Keep Berkeley Mono as the default and add system monospace and a custom installed-font option without remote font loading. Done means the choice persists locally, first-visit behavior is unchanged, and typography outside diff code is unaffected; linked PR #854 is already open.
Written by the indexing model from the issue text.
Description
Problem
DiffsHub always uses the bundled code font. Some users prefer a system monospace stack or a locally installed editor font for code review, especially when reading large diffs for long sessions.
Proposed scope
Add a code font preference to DiffsHub display settings:
- keep the current bundled Berkeley Mono as the default
- offer at least a system monospace option
- support a custom installed font name without loading remote font assets
- persist the selected font locally alongside display preferences
The implementation should avoid adding network font loading and should preserve current first-visit behavior.
Non-goals
- Shipping additional font files
- Loading fonts from Google Fonts or another CDN at runtime
- Changing typography outside the diff code surface
- Account-backed settings
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 226
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 29
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pierrecomputer/pierre
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pierrecomputer/pierre#1187 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pierrecomputer/pierre#1150 · 3 comments ·
Maintainers usually reply within 1 day
-
[Bug]: Ctrl+Arrow jumps to line boundaries instead of words on Windows and LinuxPossibly taken @ije claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 61/100
pierrecomputer/pierre#1198 ·
Maintainers usually reply within 1 day
-
Bug: Dragging a selection past the edge of an editable CodeView collapses it, then stops it growingOpenbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pierrecomputer/pierre#1189 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
pierrecomputer/pierre#1184 · 4 comments ·
Maintainers usually reply within 1 day
All issues in pierrecomputer/pierre
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
equinor/prisma-decision-web#919 ·
Maintainers usually reply within 1 day
-
[DC] OneLogin sync imports a partial user list when an API request failsPossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bitwarden/directory-connector#1276 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
home-assistant/installer#324 ·
Maintainers usually reply within 1 day
-
Mondriaan
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
knaw-huc/textannoviz#733 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day