Skip to content

fix(route): keep the structure of EasyLife 365 changelog posts [5m] - #83

Closed
Gl4dr3x wants to merge 2 commits into
masterfrom
claude/easylife-tickets-formatting-808e3a
Closed

Gl4dr3x wants to merge 2 commits into
masterfrom
claude/easylife-tickets-formatting-808e3a

Conversation

@Gl4dr3x

@Gl4dr3x Gl4dr3x commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Symptom: EasyLife 365 changelog items reach Trello as one run-on paragraph. Headings, numbered lists, bullets, screenshots and "Read more" links are lost, and the availability tags stick to the first sentence ("(27/11/2026)Globally Available (28/11/2026)EasyLife 365 Mail…"). The route also listed rss.xml, atom.xml and feed.json as posts.

Cause: lib/routes/easylife365/changelogs.ts took .text() of the whole <main> and collapsed every whitespace run into one space.

Change: The description is now the HTML of #__blog-post-container, without the anchor links, site classes and contact footer dropped. The availability tags go in their own italic line above it. Only dated post URLs become items. pubDate comes from the post's <time datetime>, with the URL date as the fallback. Detail pages go through cache.tryGet(), five at a time. Relative URLs are left to the output middleware, which resolves them against the item link.

Out of scope: Whether the Workoho sync turns this HTML into Markdown for Trello. The three cards from 27/11/2026 (Mail, Collaboration, Identity) were updated by hand to the new format.

Verified: Ran the handler against the live changelog on Windows: 132 items, no feed-file entries, Golden Eagle as structured HTML. ESLint, tsc --noEmit and the pre-commit chain passed. The pre-push pass ran: /simplify, then an independent review (behavior and consistency) with no findings.

An AI agent wrote this text in my name, on my instructions.

🤖 Generated with Claude Code

The route flattened each post to plain text with every whitespace run
collapsed, so headings, numbered lists, bullets and screenshots reached
feed readers as one paragraph. The description now carries the post
body as HTML with absolute links and image URLs, the availability tags
on one line above it, and without anchor links or the contact footer.

Only dated post pages become items, which drops the rss.xml, atom.xml
and feed.json links that were listed as posts. The date comes from the
post's own time element, and detail pages are cached.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Gl4dr3x Gl4dr3x self-assigned this Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Auto Route Test failed, please check your PR body format and reopen pull request. Check logs for more details.
自动路由测试失败,请确认 PR 正文部分符合格式规范并重新开启,详情请检查 日志。

The output middleware already resolves relative links and media URLs
against the item link, so the route no longer does it itself. One path
pattern now yields both the product and the date, which removes the
branches the link filter made unreachable, and detail pages are fetched
five at a time instead of all 132 at once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the Stale label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

This PR is being auto-closed because it has a broken Docker build without any fixes. Push a fix and reopen when ready.

@github-actions github-actions Bot closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant