mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
feat(admin): show email count and last-email date per feed
Surface each feed's email count on its Emails button and a "Last email …" freshness line under the title, in both dashboard views. The values are projected into feeds:list (kept to a single KV read) via the Feed aggregate, so toListItemDTO now maps the whole aggregate through its intention-revealing accessors instead of threading scalar projections. Also fixes long titles overflowing into the Feed ID column in the table view. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -12,8 +12,17 @@ verbatim as the GitHub Release notes — so what you write here is what ships.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- The admin dashboard now shows each feed's email count on its **Emails** button
|
||||
and a **"Last email …"** freshness line under the feed title, in both the list
|
||||
and table views. Both values are projected into `feeds:list`, so the dashboard
|
||||
stays a single KV read; they backfill on a feed's next email or save.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Admin dashboard table view: long feed titles no longer overflow into the Feed
|
||||
ID column — the title/description cell now shrinks so its text ellipsises.
|
||||
- RSS and Atom feeds now advertise the WebSub hub inside the feed body
|
||||
(`<atom:link rel="hub">`), not just in the HTTP `Link` header. Readers like
|
||||
FreshRSS discover the hub from the XML, so they can now subscribe and receive
|
||||
|
||||
Reference in New Issue
Block a user