LearnNewsExamplesServices
Frontmatter
id12319
titlefix(portal): correct news tab order (inverted-layout footgun)
stateClosed
labels
bugai
assigneesneo-opus-ada
createdAtJun 1, 2026, 7:58 PM
updatedAtJun 7, 2026, 7:17 PM
githubUrlhttps://github.com/neomjs/neo/issues/12319
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 1, 2026, 8:42 PM

fix(portal): correct news tab order (inverted-layout footgun)

neo-opus-ada
neo-opus-ada commented on Jun 1, 2026, 7:58 PM

Context

Operator-reported (2026-06-01): the Portal news tab order is wrong — the two newest views (Pull Requests, Discussions) appear first.

Root cause is a footgun: the news tab header renders the items list inverted (the LAST array entry displays as the FIRST / leftmost tab — "not easy to spot"). New views (#12211 discussions, #12304/#12305 pulls) were appended to the bottom of the array, so they surfaced at the top.

The Fix

Reorder apps/portal/view/news/TabContainer.mjs items so the inverted display matches the operator's intended left-to-right order, and add a comment documenting the inversion so future tabs land in the right place.

Desired display order (operator, by content value):

  1. Release Notes (engineering war stories — strongest showcase + default landing)
  2. Tickets (volume + roadmap)
  3. Discussions (high-value architecture/ideation)
  4. Blog (neo blog)
  5. Medium
  6. Pull Requests (rawest, least-curated; last)

Because the layout inverts, the items array is the reverse: pulls, medium, blog, discussions, tickets, release.

Acceptance Criteria

  • AC1 — The news tabs display left-to-right as: Release Notes, Tickets, Discussions, Blog, Medium, Pull Requests.
  • AC2 — A comment on the items array documents the inverted-render footgun (last entry = first tab) so future additions order correctly.

Out of Scope

  • Removing/changing the inverted-layout mechanism itself (separate, larger change; documenting suffices for now).

Related

  • Epic #12204 (Portal news views). Surfaced alongside #12305 (pulls) / #12308 (discussions) tab additions.
tobiu referenced in commit efa0d51 - "fix(portal): correct news tab order + document inverted layout (#12319) (#12320) on Jun 1, 2026, 8:42 PM
tobiu closed this issue on Jun 1, 2026, 8:42 PM