Skip to content

Epic: runtime design mode grows from menu layout into in-place design of dashboards, reports, record layouts and shared views (supersedes #36692 mutual exclusion and #36758 naming) #39368

Backlog
0 of 9 issues completed

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

Rulings (maintainer, 2026-12-03, desktop session)

  • 「我觉得 设计布局应该改为 设计模式,在设计模式下不止可以改左侧菜单,选中仪表盘等可设计的界面时也可以直接设计。」
  • 「记录页 ,不考虑 ① 自定义的 full 记录页,共享视图的结构修改我觉得并入设计模式?」 Fully-authored (kind: 'full') record pages are out of scope. Shared list-view structure joins design mode.
  • 「按建议整体通过,立专题卡」 This approves the eight recommendations listed under "Decisions" below, the scope table and the card split.

Why

Today the app menu's 「设计布局」 mode edits only the menu, header action pins and record-page tabs (ui/packages/app-shell/src/layout/designMode.tsx:22-25). Selecting a dashboard in that mode shows it read-only. Editing it means leaving the mode and using the page header's Edit, or coming from a Studio list, which swaps the whole shell into the running app (StudioAreaAppOpen.tsx, ?studio=). The maintainer hit this today: 「选中 dashboard,再点设计,会被弹来弹去」.

What this supersedes

Invariants every child keeps

  1. Inside design mode there is exactly one Save/Cancel: the bar. An editor's own save/discard is not drawn while the mode is on, and its buffer lives in the mode's staging area (useDesignModeChange), not in component state.
  2. An editor's lifetime is bound to the mode. Cancel on the bar discards every staged change and returns every page to read-only. Switching the selected item keeps what was staged.
  3. A change that cannot be saved is refused when the item is selected (pending draft, read-only package without a customization door, per-item permission), not at Save.

Scope

Surface Verdict
App menu, header pins, record tabs Already in design mode. The menu gains add/rename/remove group
Record field groups and highlights (default and slotted pages only) Join, committed with pins and tabs as one write per object
Dashboard Join first. It validates the staging model
Report Join after the dashboard lands. Gate unified with the dashboard's
Shared list-view structure Join. Structure goes through the mode; personal state does not (see child 7)
Custom app page Link out only this round
Public form Deferred
Object, field, validation, hook, action definition, flow, permission set / RLS, position, sharing, dataset, AI types, translation, email template, advanced types Stay in Studio. The mode only links out

Decisions (approved as recommended)

  1. Report gate. Tightened to the dashboard's: admin plus metadata authoring (useStudioDesignGate.ts:185-187). Today it is admin only (ReportView.tsx:129, AppReportIndexView.tsx:107, ReportNewPage.tsx:105).
  2. Page-header Edit on a dashboard or report stays, and now means "enter design mode with this item selected".
  3. Creating a report or dashboard keeps today's flows this round (a dashboard saves the menu first and then opens; a report is created from the reports index). Folding creation into staging is later.
  4. 设计模式:记录页「配置页签」并入设计模式,列表视图按钮改名「重置 / 更新视图」(照 Twenty 归类) #36737 item 2 is superseded for shared-view structure.
  5. Custom pages link out only. 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 decision 3 stands.
  6. Partial save. Changes already saved stay saved, the failed change and everything after it stay staged, and the user sees a per-item result list. No server-side batch transaction.
  7. Personal reports and dashboards for business users are out of this round. The kept header Edit (decision 2) is where they will attach later.
  8. Undo and a change log go to a separate epic.

Children

Child 0 blocks every other child except 1. Child 2 lands and is verified in the browser before 4–8 are released.

Evidence: browser on main (showcase app, admin). Code read on main 23e859a. An independent review of the staging model was run as well; its unverified points are marked in each child.

Sub-issues

Sub-issues

0 of 9 Issues completed
Loading 9 sub-issues

Activity

  1. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · p2 · pm:epic, touched 2026-12-03T16:13Z. Rationale: The maintainer approved the epic's rulings, scope and card split on 2026-12-03 (「按建议整体通过,立专题卡」), so the feature is pre-authorised. Runtime design mode is how the app looks and is used in place (area:ux ①②), and the grade is the epic's p2. Child order, from the epic: child 0 (#39369) blocks every child except 1 (#39370), and child 2 (#39371) is browser-verified before 4–8 are released. Those gates are written on the children as Blocked-by: lines.
    Grade: area:ux · Feature · p2 · every admin designing an app in the console · read (code at 23e859a) plus browser on main.

  2. added
    domain:ui
    pm:epic
    priority:p2
    on Dec 3, 2026
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:uienhancementpm:epicpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions