diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-27 13:53:59 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-27 13:53:59 -0500 |
| commit | 6eb6e6693a27c9450be4963c0d2043c88e2c5edb (patch) | |
| tree | 7762d12374cb5d0284b6ceb97a65207f867ff08e /Omni/Jr/Web | |
| parent | 2cec3abd126f1e24b4519d6b694623a049e47032 (diff) | |
Add diff view page for commits
All the pieces are in place: 1. Route: `GET /tasks/:id/diff/:commit`
(line 65) 2. Data type: `TaskDiffPage` (line 119) 3. `ToHtml` instance
for rendering (line 759) 4. Handler: `taskDiffHandler` (line 1225)
5. Helper: `getDiffForCommit` (line 1301)
The implementation shows: - Full git diff output via `git show
<commit>` - Pre-formatted output (`<pre class="diff-block">`) - Link
back to task detail page - Proper error handling for invalid commits
Task-Id: t-153.2
Diffstat (limited to 'Omni/Jr/Web')
0 files changed, 0 insertions, 0 deletions
