Skip to content

Page blocks for the cloud home redesign: a repeating tile grid bound to an array, a stacked-avatar row and a letter avatar for the hero #39907

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

维护者速读

  • 做什么:云控制台首页新设计要按列表画应用图标网格,现有页面组件做不到(只能写死槽位)。在框架 UI 加三个通用块:按数组重复的图标网格、头像叠放、头部字母头像。
  • 第二阶段(p2),约 3 人日。云端首页卡依赖它。

Parent: #39900

Why

  • The cloud home (packages/service-tenant/src/pages/welcome.page.ts in cloud) composes hero, stat, usage-bar, flex, grid, page:card, element:button, element:text (:19-22). None repeats over an array; the invite list works around it with fixed slots (:877).

What to build

  • Repeating tile grid: binds an array from the page's data, renders one tile per item (icon or letter fallback, label, optional subtitle, action/href per item), responsive columns (4 desktop / 3 phone), optional trailing 「添加」 tile, empty state slot.
  • Avatar stack: up to N overlapping initials/avatars + count.
  • Letter avatar option on hero.
  • Spec entries, renderer, i18n-safe labels, docs and tests, following how existing page blocks are registered.

Acceptance

  • A page declares a tile grid bound to an array of N items and renders N tiles; 0 items renders the empty slot.
  • Works at 1280 and 375, light and dark.

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Dec 6, 2026
  2. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · p2 · pm:on-hold, touched 2026-12-06T12:18Z. Rationale: phase 2 of epic #39900. objectstack-ai/cloud#5495 (the cloud home redesign) depends on it.
    Restart-when: the maintainer releases phase 2 of #39900 on that epic

  3. added
    pm:on-hold
    on Dec 6, 2026
  4. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV

    Hold lifted: the maintainer asked (2026-12-06 19:23Z) whether phase 2 of #39900 must wait for phase 1. It does not. This card has no dependency on phase 1: in the epic's order only #39902 waits on #39901, and cloud#5495 waits on #39907. Back to pm:queue for repo:objectstack@os-steve (phase 2 owner since the hand-over 7460286975).

  5. added
    pm:queue
    and removed
    pm:on-hold
    on Dec 6, 2026
  6. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-steve · os-steve · session_01ADHkmPhvd5XT8WTQ6Lu6ic

    Claim: PM loop round 1
    Session: session_01ADHkmPhvd5XT8WTQ6Lu6ic
    Thread session: session_01ADHkmRmTGWWa3aSoaDk1ki
    Account: os-steve
    Branch: claude/project-thread-t1qoqo
    Worktree: objectstack-issue-39907
    Domain: domain:ui
    Seat: repo:objectstack@os-steve
    Area: ost-W (card thread owned by the zone; epic #39900 phase 2, hold lifted 7463382379)
    File surface: ui/packages/app-shell/src/console/blocks/productBlocks.tsx, ui/packages/types/src/product-blocks.ts, ui/packages/types/src/index.ts, ui/packages/types/src/zod/product-blocks.zod.ts, ui/packages/types/src/zod/index.zod.ts, ui/packages/cli/src/utils/known-schema-types.ts, ui/packages/app-shell/README.md, content/docs/ui/pages.mdx, content/docs/frontend/data-source.mdx, ui/apps/console/src/preview-gallery.tsx (pins beside them: the known-schema-types 13301/10859 tests, types product-block-arms-12197 and zod-mirror-parity tests)
    Container & model: L, mode:thread, model: default (dispatch-gates --tier: "no path-derived mandate … floor sonnet · default opus · ceiling fable"), effort: high
    Clause-②: yes
    Metadata-protocol: added
    Responsibility: n/a — not a defect card
    Thread-read: 7463382379
    Premise: corrected (thread reading at main e8b5040: an array-bound tile-grid block already exists in productBlocks.tsx; missing are the letter fallback, the 4/3 column grid, the empty slot and per-item action. The six product blocks have no @objectstack/spec row — they ride PageComponentSchema.type's open string arm, contract face = @object-ui/types TS + zod mirror, as row-table did in PR #31883 — so this card is ui-only and touches no packages/spec.)
    Pre-claim lane: domain:ui (+ content/docs pages that document these blocks)
    Pre-claim deps: none (phase 2 of #39900 has no phase-1 dependency for this card, 7463382379)
    Prior rulings read: none on the card; precedent PR #31883 (row-table, zero spec change). New names (seat's call, precedents): tile-grid gains columns (ui/AGENTS #5 breakpoint object), fallback: 'icon' | 'letter' (avatar fallback), empty node slot (hero's slot shape); new block avatar-stack (PresenceAvatars' own name; maxVisible from PresenceAvatars); hero.avatar { name, src? }. Per-item action deferred (open question).
    Serial constraints cleared: #39937 (zone ost-U) holds wide ui/apps/console/src/ and ui/packages/*/src/ pending its own narrowing to named import() sites; if its narrowed list names a file here, the later lander merges (Notify: serial). #36910 names other content/docs pages, disjoint.
    Resume-from: none

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions