Skip to content

fix(site): order products desktop, terminal, mobile - #62462

Merged
thdxr merged 1 commit into
devfrom
site-product-order
Nov 7, 2026
Merged

thdxr merged 1 commit into
devfrom
site-product-order

Conversation

@thdxr

@thdxr thdxr commented Nov 7, 2026

Copy link
Copy Markdown
Member

products are now ordered desktop, terminal, mobile, then SDK everywhere on the site.

  • product order rule comments and products data in product-data.ts; the home carousel, /product grid, footer, search and llms follow from it
  • settings-defaults.json productsOrder
  • download sections (page + markdown) and search's download entries
  • product-videos manifest key order
  • copy that lists the products, in english and all 17 locales (stamps updated for just those entries)
  • on phones mobile still leads, followed by desktop, terminal, SDK (deviceOrder now moves mobile to the front instead of swapping it with desktop)

Visual

<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none" stroke="currentColor"><style>.m{animation:m 3s ease-in-out infinite}.t{animation:t 3s ease-in-out infinite}@keyframes m{0%,20%{transform:translateX(-56px)}50%,100%{transform:translateX(0)}}@keyframes t{0%,20%{transform:translateX(56px)}50%,100%{transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.m,.t{animation:none}}</style><rect x="8" y="16" width="48" height="40" rx="4" opacity=".9"/><g class="t"><rect x="64" y="16" width="48" height="40" rx="4" opacity=".7"/><path d="M74 30l6 6-6 6M84 42h10" opacity=".7"/></g><g class="m"><rect x="128" y="16" width="48" height="40" rx="4" opacity=".7"/><rect x="146" y="24" width="12" height="24" rx="2" opacity=".7"/></g><rect x="184" y="16" width="48" height="40" rx="4" opacity=".4"/></svg>

no flag, copy and order change only.

@thdxr
thdxr merged commit 04b1474 into dev Nov 7, 2026
9 checks passed
@thdxr
thdxr deleted the site-product-order branch November 7, 2026 01:12

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change works as described and I found nothing that needs fixing. On the commit it branched from, the server-rendered /product grid showed desktop, mobile, terminal, SDK; with this change it shows desktop, terminal, mobile, SDK. With a phone user agent it still leads with mobile (mobile, desktop, terminal, SDK), so the rewritten deviceOrder keeps the same phone behaviour. The site's translation check (bun src/i18n/check.ts) gives the same results as on pr/base, so the updated stamps match the new English. The site tests (192) pass and tsc --noEmit is clean.

Public API: unchanged. Only site copy, ordering and site-internal data are touched.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant