Skip to content

「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: #36908's os-dev report 7153865833, open question N3. Seat repo:objectstack#4 ruled 「A: file a follow-up card」. Part of #36890.

维护者速读

  • 同一个「已定制」,两处数法不一样。Setup > 软件包详情里,「排列调整」(arrangements)算作定制。全部元数据页头的总数、两处列表的「已定制」筛选用的是 customizationTotal(覆盖 + 扩展),不算排列调整。
  • 结果:一个只改了排列的基础包,在 Setup 里显示「已定制」,到了全部元数据页头却是 0,列表的「已定制」筛选也筛不出它。
  • 这一张要先定一个产品口径,再改代码。

What (measured at #37166's head 329ddefc; re-measure on main when claimed)

  • customizationMarks.ts:96-97: customizationTotal = overrides + extensions.
  • DirectoryPage.tsx:246-249: the All metadata header reads it.
  • ResourceListPage:734 and useListOrderedNames:173: the same total gates the 「customized」 filter.
  • The Setup package detail counts arrangements as customizations.

The decision this needs (put to the maintainer through the seat)

  • A. Arrangements join customizationTotal. The header no longer equals the sum of its per-type tiles, because arrangements have no type tile, and lists offer the 「customized」 filter on a base whose only change is an arrangement.
  • B. The Setup detail stops calling arrangements customizations, or names them separately.
  • C. Both surfaces keep their arithmetic but use different words.

Done when

  • One meaning is ruled, every surface above follows it, and a pin holds each surface to it.

Notes

Activity

  1. added
    pm:blocked
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T06:35Z.

    Blocked-by: #36908

  3. added
    priority:p2
    and removed on Nov 25, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    Ruled: B · 2026-11-25T09:15Z · by the maintainer, in seat repo:objectstack#4's session. Verbatim: 「#37257 B、#37230 A、#37236 B、#36412 B」.

    「已定制」 has one meaning everywhere: overrides plus extensions, which is customizationTotal. Arrangements are not customizations. The Setup package detail stops counting them under 「已定制」 and names them separately, for example 「已定制 3 项 · 调整排列 2 处」.

    The All metadata header and both lists' 「customized」 filter keep customizationTotal unchanged. A pin holds each of these to the one meaning:

    • the Setup detail;
    • the header;
    • the two filters.

    Size S. The state stays pm:blocked, because the Setup count this compares against arrives with #36908 (PR #37166).

    Blocked-by: #36908

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uipm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions