all41

Nhật ký thay đổi

Có gì mới trên all41

Mọi cải tiến đã ra mắt trên all41.io và các ứng dụng, mới nhất trước, tạo tự động từ nhật ký công việc.

Nội dung từng mục được ghi bằng tiếng Anh khi ra mắt.

  1. 24 thay đổi

    • playtest games (wheel, coin, dice, number): scores A4/P4/F4/R4/C4/Cl4/Cr3→4/T5; fixed 11 px horizontal scroll from the header on phones, game stage below the fold on phones (compact title), number game overflowing at 360 px (lotto/copy button/4-digit slot), keyboard hints hidden on touch screens; added G-024 history strip, G-025 wheel scroll on phones, G-026 lotto celebration

    • Wheel: drag to turn it by hand, flick to spin (harder flick = longer spin, either direction; winner still crypto RNG)

    • all41F-036

      Game result dialog (kit RevealDialog) runs on the shared Radix Dialog: focus trap, Esc/backdrop close, focus returns to the wheel/coin; busy game buttons use aria-disabled so keyboard focus is not lost mid-spin

    • all41F-035

      Useful 404: every app's 404 lists the live games and the sections (lobby first) as a search-result style list in the page language

    • all41F-034

      Language suggestion bar fits one line on mobile (short "English?" label)

    • all41F-033

      Localised section names: registry app name is {en,vi} (Trò chơi, Tiệc nhóm, Hợp âm, Học, Cho bé, Công cụ) + appName(id, locale); header lockup, footer, switcher, ComingSoon, OG pill, metadata, JSON-LD and hub rows use the page language

    • all41F-031

      Fixed flaky hydration #418: the custom <head> in All41Html broke hydration of the header next to Next's metadata outlet (16/48 → 0/128 loads); theme script is now the first child of <body>, e2e retries 0 locally

    • all41F-028

      (+F-032) i18n migration finished: apps already on [locale] + @all41/i18n since E-013/E-014; templates/app is now a zone on i18n (copied from apps/tools: [locale]/[section] page + og, createZoneProxy, assetPrefix /_z/<id>, messages/{en,vi}.json); pnpm new-app takes --vi-path/--en-path, writes registry path/aliases/title/description, subdomain null; smoke-tested with a throwaway app (build + /vi 200, /en 200, wrong-locale 404); docs + new-app skill updated

    • all41F-027

      Social card (next/og) for every section zone at <page>/og (all41.io/cong-cu/og), wired into sectionMetadata og:image/twitter:image; hub and games already had theirs

    • all41F-026

      pnpm screens: Playwright screenshots of every sitemap page + every app/game home (vi+en) through the hub, desktop-light/desktop-dark/mobile-light (+mobile-dark) into git-ignored tasks/screens/ with index.md listing page errors

    • all41F-038

      hub desktop header nav: Trò chơi/Công cụ/Hợp âm/Có gì mới (en: Games/Tools/Chords/Changelog) via appName + routeUrl + shellText in apps/web [locale]/layout.tsx

    • all41F-037

      playtest hub shell (was dup F-028): scores Cl 3→4 / Cr 4 / F 4; switcher + theme toggle localised per page locale (labels, aria-current, locale-aware links, aria-pressed), mobile footer 2 columns, #principles link without stray slash, hub title/description from SEO-KEYWORDS (was just "all41"); added F-038 hub desktop nav

    • all41F-024

      shadcn/ui-style Radix primitives in packages/ui (@all41/ui/{dialog,popover,tabs,slider,toast}, token-themed, animate-out exit); AppSwitcher now a Radix Popover (focus return, collision-aware)

    • all41F-030

      Design review of hub, lobby, games, coming-soon, legal, 404: one-language play-now cards + marquee, fixed mobile app-row arrows, lobby coming-soon list, ComingSoon hierarchy, legal pages updated from subdomains to paths; follow-ups F-033…F-035

    • E-016

      Accessibility + Best Practices 100 on every sitemap page (AA text tokens, app-switcher label, CSS wordmark, analytics only on Vercel); Lighthouse budget now enforces all four categories ≥ 95 (Perf ≥ 90)

    • E-009

      Lighthouse mobile budget (pnpm lighthouse, CI): SEO ≥ 95 + Performance ≥ 90 on every sitemap page; hero animate-rise no longer starts at opacity 0 (Performance 84–86 → 99–100 on home + game pages)

    • E-008

      Visible breadcrumbs (all41 › Games › game) on games + lobby, footer Games column on every app, breadcrumb JSON-LD names match

    • E-007

      One-language OG card per game + lobby per locale (localized title, section pill, page URL) + e2e og:image check

    • E-006

      Sitemap index + hub-only robots.txt verified; e2e seo.spec checks index lists every launched zone, hreflang vi/en/x-default in each zone sitemap via the hub, no zone robots.txt

    • E-005

      Structured data: WebApplication + BreadcrumbList + FAQPage on game pages, CollectionPage + breadcrumb on the lobby, locale-aware WebSite (#website) + Organization on all41.io

    • E-004

      SEO article under every game (vi + en, 400–590 words): how-to, use cases, 6–7 FAQ with FAQPage JSON-LD, related games; GameGuide in game-kit, guide.ts per game

    • E-003

      Game pages one language per URL: titles/descriptions checked against SEO-KEYWORDS; every game UI (wheel, coin, dice, number) + game-kit (GameLayout, RevealDialog, pace) now renders only the page locale via per-game copy.ts and a locale prop; locale-aware wheel presets and number validation messages; no more "Spin · Quay" labels

    • E-015

      Short aliases + old subdomains: one 301 map (aliasRedirect in the registry) in the hub proxy (quay./xu./xucxac./so., /quay…, old wheel./game./chords.… with deep paths, www.); zones 301 with the same map as fallback; scripts/domains.mjs to move the domains to all41-web; docs + skills updated

    • E-014

      One domain, step 2: party /tro-choi-nhom, tools /cong-cu, chords /hop-am, learn /hoc, kids /cho-be (+ /en/party…) served as all41.io zones via shared @all41/ui zone + zone-proxy (noindex off-hub, old subdomains 308); all41.io/sitemap.xml is now a sitemap index over the hub and every live zone, robots.txt only on the hub

  2. 16 thay đổi

    • E-013

      One domain, step 1: games live at all41.io/vong-quay-may-man, /tung-dong-xu, /xuc-xac, /so-ngau-nhien (+ /en/spin-the-wheel…) and lobby /tro-choi; the hub proxies zone paths to the game app, per-locale titles/descriptions, noindex off-hub, old game subdomains redirect

    • all41F-008, F-009

      Neon Postgres (Vercel Marketplace, Free plan, store all41, region sin1) connected to web/game/party/chords/learn/kids; all functions moved to sin1; first migration 0000_init applied (6 schemas, 29 tables); local .env written

    • E-002

      Vietnamese at /, English at /en (/vi → /); no Accept-Language/cookie redirects; localeAlternates (canonical + hreflang vi/en/x-default) for metadata + sitemaps; dismissible "View in English / Xem tiếng Việt" LanguageSuggestion bar in the shell

    • E-001

      SEO keyword map docs/SEO-KEYWORDS.md: vi/en keywords, intent, one target URL and title/description drafts for every app, game and planned page, plus cannibalization rules

    • all41F-022

      Changelog page on all41.io (/changelog, /vi/changelog) generated from tasks/LOG.md at build, grouped by day with app chips; footer link, sitemap entry, web rebuilds when LOG.md changes

    • all41F-021

      Legal pages on all41.io (/privacy, /terms, /cookies, /kids-privacy, EN+VI; COPPA + Decree 13) with footer links on every app and sitemap entries

    • Trò chơiG-017..G-021

      Suspense + payoff for every game (pace, drumroll, crawl, focus dim, confetti, RevealDialog), wheel modes/text editor/click-to-spin, coin call + best-of, dice hold + combos, number digit-lock + lotto draw; skills playtest + media-assets; autopilot keeps Mac awake + tested limit detection; Phase SEO + Phase 9 added

    • all41F-020

      Playwright smoke tests (e2e/): every app's home + 404 render in the shell, all header/footer links resolve, each live game renders on its subdomain; runs in CI after build

    • all41F-018

      Branded 404 + error screens (NotFound/ErrorState in @all41/ui) in the template and all apps, localized on web

    • all41F-017

      Vercel Web Analytics + Speed Insights in All41Html (all apps, off for kids)

    • all41F-015

      SEO kit: @all41/ui/seo (sitemap/robots/JSON-LD), @all41/ui/og branded OG cards (VI fonts), wired into web, game + 4 games, template; docs/SEO.md

    • all41F-014

      packages/i18n (next-intl): / en, /vi vi, Accept-Language redirect, shared a41-locale cookie, EN/VI switcher in header; hub (web) migrated; other apps → F-028

    • all41F-012

      Biome lint/format at root (pnpm lint, pnpm format), whole repo formatted, lint step in CI

    • all41Trò chơiF-013, F-016, F-023, G-003, G-015, G-016

      Brand v2 redesign, games as packages on own subdomains (wheel/coin/dice/number), brand-assets generator, new skills (new-game, brand-assets)

    • all41F-010, F-011

      Vercel projects for all 7 apps, Git auto-deploy, domains all41.io + subdomains attached

    • all41Trò chơiF-001..F-007, G-001, G-002

      Initial monorepo, brand system, registry, DB schema, landing page, game tools (spin wheel, coin, dice, number), Claude workflow + autopilot, CI