Skip to content

手机端列表页:顶部一行返回加对象名,工具行一行胶囊(视图、排序、筛选、视图设置、搜索),列表保持卡片 #35883

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #35880(专题:手机端重做,维护者直派)。⛔ 不是认领。

2026-11-21T03:52Z 补充(维护者 2026-11-21「视图同意」):保存之后的三处原来没写清楚,现在补上:另存时先起名;保存成功有一条提示;存回视图后按钮上的数字还在。 做法和电脑端(#35955)一样。

2026-11-21T03:48Z 更新:维护者 2026-11-21 发来 Attio 手机端的截图(有临时的排序和筛选时,工具行右边出现「Save」,工具行上只有视图名、排序、筛选三样),对协调席据此改的方案答「同意」。改了三处:工具行拿掉「视图设置」;有临时改动时出现「保存」;补上怎么选中记录。

参照:Attio 手机端有临时改动时工具行右边的 Save

维护者 2026-11-20:发来 Attio 手机端列表页截图作参照;「手机列表保持卡片」;看过图 42 手机部分后继续逐条确认(见父单)。

现状(主干 7878cf0557,本机环境,视口 375×812,浏览器实测,「客户」列表)

  • 顶部一行:返回、应用图标、对象名「客户」、搜索、通知、头像。
  • 第二行:左边视图名和下拉箭头;右边三个图标:筛选、设置、搜索。搜索图标上下各一个。
  • 看不出当前有没有排序、有几个筛选。
  • 列表是卡片,每张右边一个「⋮」;右下角悬浮「+」;底部「12 条记录」。

要做的

效果图(图 42 手机部分):

42 手机列表 一

  1. 顶部一行:左边返回;中间对象图标加对象名;右边「更多」(导入、导出等原来在电脑端「更多」里的项)。通知、头像不在这一行出现(通知在底部固定项里,头像在应用首页)。
  2. 工具行一行,都是胶囊按钮:视图名加条数(点开切换视图)、排序、筛选、搜索。「视图设置」不在工具行上,并进视图名点开的面板里(面板里加一项「视图设置」)。
  3. 排序、筛选有内容时,按钮上带数字(几级排序、几个筛选)并高亮;没有时只是图标。
  4. 手机上不单独占一行显示排序和筛选的标签(电脑端有,见 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878)。
  5. 点排序、筛选、视图名各自打开面板,面板在另一张子卡。视图名的面板里有一项「视图设置」,点开的内容与电脑端「视图设置」一致(卡片上显示哪几个字段、顺序),样式同另一张子卡里的面板。
  6. 「新建」保持右下角悬浮的圆按钮。
  7. 列表保持卡片,这次不改卡片本身。
  8. 选中记录:长按一张卡片进入选中状态,这张卡片被选中;顶部「更多」里也有一项「选择」,点了同样进入选中状态。
  9. 手机上没有列头,电脑端「点列头出菜单」(列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876)在这里不适用。

协调席加的(维护者没有逐条说过)

  • 「视图设置」收进视图名的面板里(原来协调席把它留在工具行上,现在让位给「保存」)。
  • 选中记录的两个入口(长按、「更多」里的「选择」)和选中状态下的样子。
  • 「保存」菜单里的三项。
  • 筛选单独一个带数字的按钮(参照产品把筛选放在一个设置图标里)。
  • 顶部一行去掉通知和头像。

不做的

验收

  • 375 宽,「客户」列表,没有排序筛选:顶部一行是返回、对象名、更多;工具行是视图名、排序、筛选、搜索;没有「保存」;整页只有一个搜索入口。
  • 加一级排序、两个筛选后:排序按钮显示「1」并高亮,筛选按钮显示「2」并高亮,工具行右边出现「保存」,工具行仍是一行。
  • 点「保存」→「放弃改动」:排序和筛选回到视图原样,「保存」消失。点「保存」→「另存为我的视图」:先填名字(默认「原视图名 副本」),确定后多一个个人视图并切过去,出现「已保存」。
  • 长按一张卡片:进入选中状态,底部菜单换成操作条,「+」隐藏;再点两张卡片,操作条显示「已选 3 条」;点「×」退出,底部菜单和「+」回来。
  • 顶部「更多」→「选择」:同样进入选中状态。
  • 点视图名,面板里有「视图设置」一项,点开能调卡片上显示的字段。
  • 视图名 8 个字时不被截成一两个字,放不下从中间省略,条数和箭头可见(承 手机宽度下列表的视图名被截成一个字(「全部客户」显示为「全.」) #33833)。
  • 工具行不换行,不出现横向页面滚动。
  • 右下「+」不遮住最后一张卡片的操作(列表底部留出空白)。
  • 深色、浅色各看一遍。

Reader: domain:ui 车道。ui/packages/plugin-list、ui/packages/app-shell/src/views/objectViewPageHeader.tsx。

Dedupe: 见父单。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    开工前请先读父单 #35880 上的补充约束。2026-11-20T16:43Z

    要点:本卡里的排序、筛选、视图、视图设置,和电脑端 #35878、#35876 用同一套内容和读写逻辑,手机上只换容器和摆法,⛔ 不另写一份。维护者 2026-11-21:「手机应该是复用桌面端很多组件,只是套个框吧?」「补上」。

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · mobile list page: one top row (back, object name) and one row of chips (view, sort, filter, view settings, search), cards kept; child of topic #35880, maintainer: 「手机列表保持卡片」 → p2 as set by the coordinator · size M. Pairs with #35884 (its panels).

  4. added
    pm:queue
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    手机上「视图设置」里的改动也是临时的。2026-11-21T04:16Z

    维护者 2026-11-21 把 #35955 的范围扩大了:除了列宽,在列表上改的任何东西都是临时的。对本卡的含义:在视图名面板的「视图设置」里改卡片上显示哪些字段、字段顺序,和改排序筛选一样,工具行右边出现「保存」,不保存就离开会丢。正文其余部分不变。

  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: card thread · 2026-11-21T06:07Z · one PR for #35883 and #35884 (Fixes #35883, Fixes #35884)
    Area: b1-M
    Session: session_01L6bhgXQEtN6Kp1wRKH6Fde (the card thread, building itself under the dev-thread rule)
    Account: os-sales
    Branch: claude/project-thread-jdeh3j
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/plugin-list/src/ListView.tsx (phone toolbar row, panel entries), plugin-list/src/conditions/* (sort and filter content reused), plugin-list/src/ViewSwitcher.tsx and components/ViewSettingsPopover.tsx (view and view-settings panels in a new container), new plugin-list/src/phone/* (near-full-screen bottom panel plus the ✓ staging layer); ui/packages/components/src/custom/sort-builder.tsx (touch reorder); ui/packages/app-shell/src/views/objectViewPageHeader.tsx and objectViewListRenderer.tsx (phone top row: back, object name, more); plugin-grid phone cards (long press enters selection); the i18n packs; a changeset.
    Container & model: L, mode:thread, model: opus, effort: high
    Clause-②: no (provisional; measured on the built declarations, and the claim is amended if it reads yes)
    Metadata-protocol: none
    Premise: re-read on main b113178d (with #35918) by the card thread: holds.
    Basis: cards #35883 and #35884, p2 children of epic #35880, which the maintainer handed to this seat on 2026-11-20 16:41Z; one PR by the agreed grouping (7045034149).
    Scope: the phone top row; one row of chips with counts; the sort, filter, view and view-settings panels as near-full-screen bottom panels where × discards and ✓ applies (a staging layer over the same apply as desktop); touch reorder in the sort builder; a read-only note for advanced filters; the keyboard does not cover inputs. Two seat calls on shared paths: (1) the Save control and its menu (save to this view, save as my view, discard; naming, toast) belong to #35955; this PR draws the host's existing conditionRowEnd slot at the right of the phone row, so the phone gets #35955's control when it lands, and #35955 is asked for a compact face. (2) The selection action bar belongs to #35678; this PR adds only the ways in (long press on a card, More → Select), the card check mark and hiding "+" while selecting, and uses the current selection surface until #35678 replaces it.
    Resume-from: none
    Fold-or-serial: serial; no fold. #35678 and #35955 run in parallel threads on overlapping files (ListView.tsx, the page header); overlap-check.mjs runs before each push and whoever lands second merges. The branch is the card thread's harness push branch, a measured platform exception to claude/issue-<n>-<slug>.

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  8. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat note · 2026-11-21T10:42Z · Claim amendment and hand-over for #35883, read with PR #36024 (which carries Fixes #35883 and Fixes #35884).

    1. Clause-②: yes (widening). The claim's provisional "no" is replaced: the PR adds optional props to SortBuilder and BulkActionBar, new exports in @object-ui/plugin-list and @object-ui/plugin-grid, and i18n keys in all 11 packs. The seat's declaration-face L2 record on the PR is 7061412796.
    2. Hand-over to 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 (list changes are drafts, this seat's card): the phone Save rows this card asked for (save to this view, save as my view with a name, discard, the saved toast, and "view settings are temporary") are delivered by 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955, not by PR feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024. 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 PR 1 (feat(console): a change on a list is a draft, with Discard and Save (#35955 PR 1) #36026) puts one Save ▾ in the phone chip row whose menu holds save as my view and discard; saving into a shared view follows in 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 PR 2. 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 acknowledges this scope. This card closes with PR feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024 for its other rows.
  9. added a commit that references this issue on Nov 22, 2026
    411fe24
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