From 780bf6c19078b8a0d49391eb5492e506a2553b52 Mon Sep 17 00:00:00 2001 From: Julien Herr Date: Fri, 22 May 2026 18:21:49 +0200 Subject: [PATCH] fix(admin): add Atom feed URL, unify container width, update branding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Atom feed URL shown in both list and table views (new Atom column) - Remove container-wide toggle — both views now use max-width 1200px - Update dashboard title and login title to kill-the-news Co-Authored-By: Claude Sonnet 4.6 --- src/routes/admin.tsx | 60 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 50 insertions(+), 10 deletions(-) diff --git a/src/routes/admin.tsx b/src/routes/admin.tsx index 334b791..f865d84 100644 --- a/src/routes/admin.tsx +++ b/src/routes/admin.tsx @@ -159,7 +159,7 @@ app.get("/login", (c) => { /> -

Email to RSS Admin

+

kill-the-news

{errorMessage && (
{errorMessage}
)} @@ -337,12 +337,10 @@ app.get("/", async (c) => { return c.html( -
+
-

Email to RSS Admin

+

kill-the-news

Manage your email newsletter feeds

@@ -469,11 +467,12 @@ app.get("/", async (c) => { - - - - - + + + + + + @@ -572,6 +571,24 @@ app.get("/", async (c) => { title="Resize" > + +
+ +
+
Actions
{ {feedsWithConfig.map((feed) => { const emailAddress = `${feed.id}@${env.DOMAIN}`; const rssUrl = `https://${env.DOMAIN}/rss/${feed.id}`; + const atomUrl = `https://${env.DOMAIN}/atom/${feed.id}`; const titleDisplay = clampText(feed.title, 160); const titleHover = clampText(feed.title, 1000); const sortTitle = titleHover.toLowerCase(); const sortFeedId = feed.id.toLowerCase(); const sortEmail = emailAddress.toLowerCase(); const sortRss = rssUrl.toLowerCase(); + const sortAtom = atomUrl.toLowerCase(); const descDisplay = clampText(feed.description || "", 220); const descHover = clampText(feed.description || "", 1000); const searchHaystack = @@ -606,6 +625,7 @@ app.get("/", async (c) => { data-sort-feed-id={sortFeedId} data-sort-email={sortEmail} data-sort-rss={sortRss} + data-sort-atom={sortAtom} >
{ + + +
+ Atom Feed: +
+ + {atomUrl} + +
+ + +
+
+