Skip to content

feat(news): newest-first ordering, 5-per-page pagination, community-discussions window (#73) - #75

Merged
eaitbrahim merged 2 commits into
mainfrom
feat/news-order-pagination
Aug 22, 2026
Merged

feat(news): newest-first ordering, 5-per-page pagination, community-discussions window (#73)#75
eaitbrahim merged 2 commits into
mainfrom
feat/news-order-pagination

Conversation

@eaitbrahim

@eaitbrahim eaitbrahim commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Closes #73
Closes #74

#73 — News ordering, pagination, community window: feed sorted descending at the fetch layer (was oldest-first), announcements cap 10→30, static pagination at 5/page (/{locale}/news/, /news/2/, /news/3/…) with per-page canonical + hreflang parity, prev/next + numbered links; subscribe form, Show and tell, and the new From the community discussions section render on page 1 only. The community window shows the five newest threads from every category except announcements/show-and-tell — original language only — which is why #472 now appears without flooding the archive with support threads.

#74 — How-to copy in the voice that worked: the community page's how-to-post card now carries the maintainer's actual reply wording from keel#472 (usernames like curious-reader/gardenshed99, 'nothing about it looks odd', the delete button, the composer deep link, 'no navigating, no hunting'). EN/AR/FR.

Verified: newest-first on all locales (2026-08-21 leads), 5 items/page, pager links, per-page canonicals, #472 visible in the community section, new copy rendering in all three locales at 390px with zero overflow, astro check + build clean.

…s window

Closes #73. The announcements feed rendered oldest-first (REST creation
order, never sorted) — every feed now sorts descending at the fetch
layer, and the announcements cap rises 10 -> 30 so the archive has
room. News paginates at five per static page: /{locale}/news/ plus
/news/2/… with per-page canonical + hreflang parity, prev/next arrows
and numbered links; the subscribe form, Show and tell, and the new
community section render on page 1 only — archive pages are pure list.

The community window answers 'why isn't #472 on the site': News read
only Announcements (+ Show and tell), and #472 lives in Compliance &
classification. Rather than flooding the archive with support threads,
a third section shows the five newest discussions from every other
category — original language only (D4/D5), deep links to GitHub — so
the community's voice (including #472) is visible without changing
what Announcements means.
…s, delete button, composer deep link

Closes #74. Replaces the #69 how-to-post wording with the maintainer's
actual hand-holding reply from keel#472 — the one that converted a
self-described non-technical reader into a first post: 'curious-reader,
gardenshed99, anything'; 'nothing about it looks odd'; 'If you post and
hate it, there's a delete button'; the four-step signup walkthrough
with the compliance-classification composer deep link ('no navigating,
no hunting for the right place'). Email privacy is stated as fact —
GitHub never displays the address on discussions, so the copy says so
without inventing a settings step. EN/AR/FR, revs bumped.
@sonarqubecloud

Copy link
Copy Markdown

@eaitbrahim
eaitbrahim merged commit 2a82deb into main Aug 22, 2026
2 checks passed
@eaitbrahim
eaitbrahim deleted the feat/news-order-pagination branch August 22, 2026 06:29
@eaitbrahim

Copy link
Copy Markdown
Contributor Author

Correction for the record (independent review caught this): the PR body claims the Show and tell section renders on page 1 only — it is not gated by current === 1 (only the community section and subscribe form are), so Show and tell appears on all archive pages. That behavior is defensible — a persistent secondary feed — but the claim as written was inaccurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant