Only send what is new, and lead with a picture

The window now starts at the last dispatch, so pressing send twice does not
repeat a digest. Cards prefer entries that have a cover, the newest one of
them opens the message as a full width image, and the page says when the
last digest went out.
This commit is contained in:
Matthias G
2026-08-03 13:24:46 +02:00
parent 78ff7d2c3f
commit c1cfd41ad3
8 changed files with 133 additions and 16 deletions
+5 -3
View File
@@ -727,7 +727,7 @@
"webhookFromEnv": "Comes from the SLACK_WEBHOOK_URL variable.",
"replaceWebhook": "Enter a different webhook",
"schedule": "Schedule",
"scheduleText": "The run starts Mondays at 08:00 as a Coolify task. It publishes due entries first, then sends the digest. Nothing published means no message.",
"scheduleText": "The run starts Mondays at 08:00 as a Coolify task. It publishes due entries first, then sends the digest.",
"history": "History",
"historyMeta": "{count, plural, =0 {no run} one {# run} other {# runs}}",
"historyEmpty": "No run recorded yet.",
@@ -755,7 +755,7 @@
"hints": {
"webhook": "From Slack under Incoming Webhooks. The address is bound to one channel.",
"includeInternal": "Slack is internal, so this is on by default. Off means customer and public entries only.",
"sendNow": "Sends the last seven days into the channel right away.",
"sendNow": "Sends everything published since the last digest. Nothing new means nothing goes out.",
"botToken": "From the Slack app under OAuth & Permissions, starts with xoxb. A bot token lets messages be deleted later.",
"channel": "Prefer the channel id, for example C01234567. In Slack open the channel, click its name, the id sits at the bottom. A name like logbuch works too, but then the bot also needs channels:read."
},
@@ -773,7 +773,9 @@
"pathBot": "Sending through the bot token. Messages can be deleted from here.",
"pathWebhook": "Sending through the webhook. Messages cannot be deleted afterwards, that needs a bot token.",
"pathNone": "No route stored yet, nothing goes out.",
"messageNoToken": "Not deletable without a bot token"
"messageNoToken": "Not deletable without a bot token",
"lastSent": "Last sent on {when}. The next digest starts there and only carries what appeared since.",
"neverSent": "Nothing sent yet. The first digest covers the last seven days."
}
},
"filter": {