Skip to content

专题:App Studio 改版(Studio 是开发软件包的入口:左右两栏、软件包切换和概览页、列表页按前端样式、专用色和新名字) #37424

Backlog
5 of 15 issues completed

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

③ maintainer direct order · Source: the maintainer, 2026-11-26, in the session of seat repo:objectstack#4. ④ This card is a coordination parent. It is not dispatched itself; per the maintainer's order its children are filed only when the topic is picked up. ⛔ Not a claim.

维护者速读

  • 定位:Studio 改名 App Studio(中文「应用搭建」),是开发软件包的入口。单个软件包的事都在 Studio 里做;「设置 › 软件包」只管全局:列表、安装、导入。
  • 外框:
    • 去掉顶栏,改成和前端一样的左右两栏。
    • 左上角分两行:第一行是 App Studio 标志加折叠按钮;第二行是「‹ 返回应用」加软件包切换器,切换器里带「新建软件包」。原来的「⋯」菜单去掉。
    • Studio 用自己的专用色(石墨黑),不跟应用的颜色。
    • 菜单的分组、选中效果和图标照前端做,图标不带底色。
  • 菜单:
    • 第一项是「概览」。
    • 数据集移到「数据」组,紧跟对象;它是数据口径,AI 问数也用它。
    • 岗位提到权限集后面。
  • 列表页:
    • 标题加一行工具栏,工具栏只有来源下拉和搜索。去掉面包屑、数字卡片和排序下拉。
    • 表格铺满;名称列先显示业务名,接口名用小字放在下面,并带对象自己的图标和颜色。
    • 来源用「系统自带 / 已修改 / 新建」三种标签。
  • 概览页:就是软件包的详情页,和元数据详情页长得一样,但读写走软件包接口,不新增元数据类型。
    • 三个页签:信息、待发布、发布历史。
    • 页头放「导出」和「⋯」(编辑、复制、停用 / 启用、删除)。
  • 组织级内容:按 B 方案处理(见下文「决定」第 11 条),先出决策卡。
  • 设置(Setup)跟着调整:软件包页只做全局列表、安装和导入;「全部环境目录」「诊断」从 Studio 搬到设置;数据源只在设置里管;散落项整理入口放在设置的软件包页;共享规则、队列、分配规则两边写清是谁的;岗位在 Studio 定义、在设置分配,两边互相链接。
  • 要你做什么:现在无。开工时我拆子卡,第 1 项的架构决定修订要你批准合入。

维护者说过的(2026-11-26,按先后,节选)

  • 「评估这个界面如何优化」「我说的还包括美观度的优化」「先画一个效果图」
  • 「Studio 应该是一个专用的企业色,不需要和应用的企业色一致。防止晕了」
  • 「左侧菜单的分类效果也参考前端」「左侧菜单选中效果也和前端保持一致」「可以不要背景」
  • 「只有 Studio 权限、没有设置权限的开发者,理论上不存在」
  • 「App Studio 就是开发软件包的入口吧」
  • 「现在你软件包的下拉菜单就只剩切换了,还不如做成切换,加上一个新建按钮」
  • 「或者叫概览?」「是不是技术元素太重」「最近发布,我们的修改,都不要放在首页。」「包含的内容,左侧菜单已经有了。」
  • 「软件包概览页,是不是就是软件包元数据的详情页?现在没有嘛?」
  • 「数据集 是AI 也要用的吧?不能算界面吧」
  • 「同意,立专题,不派发」 (the 11-task simplified plan, this topic)
  • 「同意」 (the Setup adjustments, decision 12 and tasks 6, 8, 10 and 12)

Decisions taken in the session

  1. Positioning. App Studio is the entry for developing a package. Studio does per-package work; Setup → Packages keeps the global list, install and import.

  2. Name. English stays "App Studio". Chinese becomes 「应用搭建」. Only display text changes; the /studio address and code identifiers stay.

  3. Shell.

  4. Colour. Studio has its own neutral accent, graphite, and never takes the app's theme colour. Only the app logo keeps the app's colour.

  5. Menu.

    • Group headers follow the front end and are collapsible.
    • Icons are line icons without a tile.
    • The selected item uses the front end's pill and bar, inset from the edge.
  6. Menu tiers.

    • Overview is the first entry.
    • dataset moves to the data group, directly after object, in the common tier. Its registry domain changes from ui to data at packages/spec/src/kernel/metadata-plugin.zod.ts:977; it is an analytics semantic layer that AI ask-data also reads (packages/spec/src/ui/dataset.zod.ts:43-47). Changing the registry owes an L2 contract review.
    • position moves to the common tier, after permission.
  7. List page.

    • The title row holds the type icon, the name, "New X" and help.
    • The toolbar holds a source dropdown (all / modified and new / system-shipped) and a search box.
    • Gone: the breadcrumb, the stat tiles, the refresh button and the sort dropdown. Sorting is by column header.
    • The table is full-bleed with no outer frame. The name column shows the item's own icon and colour (object icon and color are declared in spec), the label as the primary line and the API name small and mono below. Numbers are right-aligned.
    • "Modified at" and "Source" hide when every row shows the same value. The plural label column is removed from the object list.
    • Source badges read 系统自带 / 已修改 / 新建.
  8. Read-only hint. A lock beside the app name in the switcher row, plus a tooltip on "New". There is no per-list banner.

  9. Package overview page.

    • It reuses the item-detail header and tab frame (StudioItemHeader).
    • It reads and writes through the package REST surface. ⛔ It does not add a package metadata type.
    • Header: name, a 系统自带 or 可写 chip, a 使用中 or 已停用 chip, the description, then "Export" and ⋯ (edit info, duplicate, disable / enable, delete). All of these reuse the existing dialogs and confirmations. What a package kind may do (kernel, code, marketplace, authored) follows the existing rules.
    • Tabs:
      • Info: business fields, with the technical fields (id, namespace, type) folded away.
      • Pending: reuses the existing changes / publish panel, which loses its top-bar home.
      • Publish history: a list plus "revert to last publish".
  10. Setup → Packages becomes the global list, install and import. Each row opens the package's Studio overview. This folds in Studio 重构后续:退役「软件包」开发视图(无 face 参数的 PackagesPage),动作只留在 Studio「⋯」菜单与「设置 > 软件包」 #37401.

  11. Organization-level content, plan B. A decision card comes first.

    • There is no default catch-all package; ADR-0070 D1 and D6 stand.
    • When no package resolves, a create asks the user to pick or create one instead of saving package-less. The UI path goes first; the AI path follows as a cloud card.
    • Legacy loose items are sorted one by one, each with a suggested home, and the ~org entry retires once they are empty.
    • Environment-bound configuration, such as datasource connections, stays in Setup.
    • The ADR-0150 addressing risk of moving an item into a package is verified first.
  12. Setup follows the split. Studio develops one package; Setup runs the organization and holds what is global.

    • Setup → Packages is the global list, install, import, marketplace and update notices. Each row opens the package's Studio overview, and the per-package actions leave its sheet (task 8, folding in Studio 重构后续:退役「软件包」开发视图(无 face 参数的 PackagesPage),动作只留在 Studio「⋯」菜单与「设置 > 软件包」 #37401).
    • The cross-package environment catalog (~all) and Diagnostics move from the Studio menu into Setup → Diagnostics, beside Audit Log and Sessions (task 6).
    • Datasources are managed only in Setup → Integrations. A connection is environment-bound configuration, so the Studio menu drops the datasource entry (task 6).
    • The loose-item sorting page opens from a banner on Setup → Packages ("N loose items to sort"). The Studio ~org entry retires once the items are sorted (task 10).
    • Sharing rules, queues and assignment rules exist on both sides with different owners: package-shipped in Studio, organization-authored in Setup. Each side says whose they are and links to the other (task 12).
    • Positions are defined in Studio and assigned in Setup, with links both ways: from a position to "assign in Setup", and from a user to the positions they hold (task 12).
    • Setup → Packages uses the same vocabulary: 系统自带 / 自建 / 应用市场 and 使用中 / 已停用 (task 12).
    • Everything else in Setup is organization operations with no overlap, and stays as it is: people and organization, approvals, configuration, integrations, recycle bin, public forms, OAuth apps and API keys.

Tasks (to be filed as children when the topic starts)

S ≈ 1 day, M ≈ 2–3, L ≈ 5. These are estimates, not measurements.

# Task Size Waits for
1 Amend ADR-0084 (and ADR-0146's split) for decisions 1–6 and 9–10. Tier H, so the maintainer merges S —
2 Organization-level decision card (decision 11), plus an ADR-0150 addressing spike S —
3 Shell: two columns, the two-row top left, graphite accent, menu styling, switcher with new package, removal of the ⋯ menu, collapsed rail (decisions 3–5 and 8) L 1; #37383 and #37368 landed
4 List page (decision 7) M #37383 landed
5 Package overview page (decision 9) M–L 1
6 Menu tiers: dataset domain change (L2), position to common, the org-wide default sharing overview renamed; environment catalog and Diagnostics move to Setup → Diagnostics; the datasource entry leaves the Studio menu (decision 12) M 3
7 Naming: display text only, in i18n, docs and skills (the skills text is governed) S 1
8 Slim Setup → Packages to the global list, install, import and update notices; each row opens the Studio overview; fold in #37401 (decision 12) M 5
9 Create with no package asks instead of saving package-less (UI path) M 2
10 Loose-item sorting page, opened from a banner on Setup → Packages; it replaces the Studio ~org entry M 2, 9
11 Walkthrough, e2e, platform checklist, docs and skills: widen #36910 to cover this topic M–L all
12 Setup wording and cross-links: whose sharing rules, queues and assignment rules each side shows; position define↔assign links; Setup → Packages vocabulary (decision 12) S–M 8

Waves:

  • 3, 4, 5 and 7 run in parallel, because they touch different surfaces.
  • 6, 8 and 12 follow.
  • 9 and 10 wait for the decision card.
  • 11 closes the topic.

The critical path is 1 → 3 → 6 → 11, about 1.5–2 weeks on 4–5 lanes.

Deferred (not filed; reopen on a named need)

  • "Return to a given version" in publish history. The backend supports it; only the UI is missing.
  • A "Our changes" tab. The list's source filter covers it.
  • An "Enable and disable" tab. It lives in ⋯.
  • A marketplace update banner on the overview. Setup's list already shows updates.
  • A first-save toast, and empty-package guidance.
  • A dedicated "company common" one-click entry. "New package" with "also create an app" unticked covers it.

Related

Governing text: docs/adr/0084-application-builder-information-architecture.md, docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md, docs/adr/0070-package-first-authoring.md, docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md.

Sub-issues

Sub-issues

5 of 15 Issues completed
Loading 15 sub-issues

Activity

  1. added
    priority:p2
    pm:epic
    area:studio
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    维护者速读

    • 效果图(简化版)已放到临时分支 claude/app-studio-mockups-37424,不合并。下面四张图就是本专题的目标样子,数据都是示例。

    Mockups

    The mockups are on temporary branch claude/app-studio-mockups-37424, commit 602c200913dae36f6a539f73aa9fbc5cdc3502ce, under docs/design/app-studio/. That branch is not for merge. Each child card cites the screen it implements. All names, counts, people and dates are sample data.

    1. Object list, system-shipped only (tasks 3, 4, 6)

    Object list

    2. Object list with modified and new items: Modified-at and Source columns appear (task 4)

    Object list with changes

    3. Package switcher open, with "New package" (task 3)

    Package switcher

    4. Package overview, Info tab (task 5)

    Package overview

    The design-canvas sources (.dc.html) are in docs/design/app-studio/source/ on the same branch.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · priority:p2 · pm:epic; rationale: the App Studio redesign topic the maintainer ordered. Epics take no type. area:studio is not one of the eight North Star areas. Studio authoring surfaces are area:ux, so the area moves there, as on #37408.

    The maintainer's grade (p2) stays. Not dispatched; its children are filed when the topic is picked up.

  4. added and removed
    area:studio
    on Nov 26, 2026
  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    维护者速读

    • 专题由 5 号座位的专区 ux-37424 接手(Bill 2026-11-26T05:27Z 「开一个专区处理专题 37424」)。
    • 先做了 fable 四轴评估,结论是方向对、改几处再拆。Bill 定了:名字保留「应用搭建 / App Studio」,不改叫本体;分五个阶段,第一阶段先做主框架和左侧菜单;顶栏按钮按推荐安置(2026-11-26T05:57Z 「按推荐启动」)。
    • 第一阶段已立 6 张子卡(见下表),其余阶段先只是表里的行,滚动拆卡。
    • 还要你答的 5 个问题在下面,各自到对应阶段之前答即可,都不挡第一阶段。

    Phase table

    Milestone Child Blocked-by Lane
    1 Shell and menu #37451 ADR-0084 / 0146 amendment, written once for all phases (Tier H) — ux-37424, contract-tier card thread
    1 Shell and menu #37452 Menu styled as the front end + graphite tokens — ux-37424
    1 Shell and menu #37454 Thin package overview (概览 first entry, Info + Pending tabs, ⋯ moved) #37451, #37383 ux-37424
    1 Shell and menu #37455 Top-bar tenants rehomed (Save/Cancel, AI, slot toggle) + graphite on root #37451, #37383 ux-37424
    1 Shell and menu #37456 Top bar removed, two-row top-left with switcher + New package, lock, rail #37451, #37383, #37454, #37455 ux-37424
    4 Org-level content #37453 Investigation: loose-item counts, package-less writers, ADR-0150 addressing — ux-37424
    2 List and overview row: list page (decision 7; can start early, no file overlap) — not filed
    2 List and overview row: full overview (history tab, action layout, .custom pairing, landing after disable/delete) phase 1; question 1 not filed
    2 List and overview row: Setup → Packages slimmed + wording (tasks 8 + 12), folding #37401 (its #37400 premise is stale) full overview; question 1 not filed
    3 Tiers, moves, naming rows: dataset domain ui → data (L2); tier table; ~all + Diagnostics to Setup; naming display text (governed skills text) #37451; questions 4, 5 not filed
    4 Org-level content rows: package-less create asks (UI + kernel close, L2); loose-item clean-up and ~org retired #37453; questions 2, 3 not filed
    5 Close row: walkthrough, e2e, platform checklist, docs and skills — re-parent #36910 here phases 1–4 not filed

    Corrections to this body (verified on origin/main 7d50dc8)

    Open questions for the maintainer (each asked before its phase; none blocks phase 1)

    1. Disable / enable / delete: stay in Setup with a "manage in Setup" link from the overview (recommended; keeps the 2026-10-30 ruling on packages: an admin cannot disable a type:module sub-package of an installed app (422 WRITABLE_PACKAGE_REQUIRED), and a disabled package's nav contributions stay in the app #28117), or move to Studio as decision 1 says. Before phase 2.
    2. Close package-less creates in the kernel, with named exemptions from App Studio 改版(摸底):散落项实测数量、合法的无包写入清单、移入软件包对 ADR-0150 寻址的影响——为 #37424 拍板 2、3 提供读数 #37453 (recommended), or UI-only. Before phase 4.
    3. Loose items: one-shot migration plus the existing bulk adopt, then retire ~org (recommended), or the per-item sorting page. Before phase 4.
    4. Record dataset and position in the common tier as named placements (recommended). Before phase 3.
    5. ~all goes to an access-related Setup group, not Diagnostics (recommended). Before phase 3.
  6. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    维护者速读

    • 问题 2、3 已裁(Bill 在专区线程回「同意」):内核收口无包新建只豁免四类;散落项原地保留,新做一个按选择移进软件包的入口,旧的一次全收接口和 ~org 入口退役。
    • 这两件都是第四阶段,现在不立卡;第四阶段开始时按下面的裁决拆卡。

    Ruling record

    Ruled (2026-11-26T06:45Z): the maintainer answered 「同意」 in the area thread at 2026-11-26T06:44Z to the area's message proposing "2、3 按推荐", whose recommendations were (analysis by a contract-tier agent, /mnt/project-files/objectstack-seat5/topic-37424/q2-q3-analysis.md; readings from #37453 comment 7184476778):

    • Question 2 — A. When the kernel closes package-less creates (ADR-0070 D1), only four writers keep a named exemption: kernel-item overlays until the platform-pair whitelist (W3), the ruled external-datasource import (W4, server-stamped writeFace: 'external-import'), binding-preserving migrations (W12) and platform registration (W13). Everything else closes, os meta register included (it takes --package like every author door). The UI ask (create with no package asks to pick or create one) and the kernel close ship in the same phase, the kernel PR last, no flag. Sibling rulings carried with it: in-place saves of existing loose rows stay open; organization-authored sharing rules, queues and assignment rules in Setup bind to the owning object's .custom package, with no new exemption (their write path is to be traced when the card is cut).
    • Question 3 — C. Existing loose items stay where they are (ADR-0150 D1 bucket 4: environment-authored rows belong to the implicit environment package, no rename, no migration). One new "move into package" door takes a selection (one, several or all) and runs each item through the save door's judges, judging the selection as a set for the ADR-0150 D3 (a) cross-boundary rule; it reuses the existing list page. adopt-orphans and the Studio ~org entry retire at once when it ships. This supersedes the parent's per-item sorting page (task 10) and the earlier one-shot-migration recommendation.
    • packages: adopt-orphans skips the save door's judges — it adopts into an uninstalled package id, leaves an unprefixed object unsaveable (422 NAMESPACE_PREFIX), and moves flows and datasets only after a restart #37468's three defects close with that door (each a regression test); reassignOrphanedMetadata is not patched.

    Questions 1, 4 and 5 stay open. The #36890 leftovers (re-parent #36910, detach #37359, close #36890, #37401 into phase 2, #35513 into phase 1) await the maintainer's answer on the area's decision card.

  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Open for later phase cards (2026-11-26T09:48Z), from the seat's ACCEPT on PR #37470 (7188379901) and its contract record 7188270415. Whoever cuts the phase-2/3 cards answers these in the card body:

  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Carrier note (2026-11-26T10:41Z): nit N8 comes from contract record 7189689403 on PR #37518. The "Amended 2026-11-26" mark on ADR-0084's 2026-11-24 top note ends "the note below". The note directly below is the 2026-11-25 one; the 2026-11-26 amendment is the second note below. Whichever phase card next touches docs/adr/0084 links that mark to #amendment-2026-11-26-position. This is one line and changes no decision.

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:uxpm:epicpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions