Fix: e-books in the moderation queue and log had no title or link #68

Merged
anas merged 1 commits from fix/ebook-queue-titles into main 2026-10-09 12:57:28 +00:00
Owner

Follow-up to #67, which was merged before this fix was pushed.

  • Bug: the moderation queue and activity log built titles from works and sections only. An e-book upload showed as a row with no title, so it could not be opened or approved (owner report).
  • Fix: the queue, log and revision page now share one title/link expression (TITLE, URL in moderation.ts), which includes e-books, so a new kind of change cannot be left out again.
  • Labels: rows now say what kind of change they are: ای بک:, ٹیگ: or ترتیب:. A work's text has no label.

Checked: npm test 42 pass. The queue API returns حدائقِ بخشش with /ebook/10, and the queue page shows ای بک: حدائقِ بخشش as a link.

🤖 Generated with Claude Code

Follow-up to #67, which was merged before this fix was pushed. - **Bug:** the moderation queue and activity log built titles from works and sections only. An e-book upload showed as a row with no title, so it could not be opened or approved (owner report). - **Fix:** the queue, log and revision page now share one title/link expression (`TITLE`, `URL` in moderation.ts), which includes e-books, so a new kind of change cannot be left out again. - **Labels:** rows now say what kind of change they are: **ای بک:**, **ٹیگ:** or **ترتیب:**. A work's text has no label. Checked: `npm test` 42 pass. The queue API returns حدائقِ بخشش with `/ebook/10`, and the queue page shows **ای بک: حدائقِ بخشش** as a link. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anas added 1 commit 2026-10-09 12:57:19 +00:00
anas merged commit b2746bfd08 into main 2026-10-09 12:57:28 +00:00
anas deleted branch fix/ebook-queue-titles 2026-10-09 12:57:28 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#68
No description provided.