Skip to content

docs(showcase): demonstrate ObjectNavItem.filters + 2-day framework×objectui change digest - #2638

Merged
os-zhuang merged 1 commit into
mainfrom
claude/wizardly-dubinsky-e30281
Jul 5, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/wizardly-dubinsky-e30281

Conversation

@baozhoutao

Copy link
Copy Markdown
Contributor

What

两部分,都是 examples/app-showcase(private,免 changeset)内的示例/文档:

  1. 演示元数据 — src/ui/apps/index.ts 新增导航组「Data Slices (filters)」,
    三个 ObjectNavItem.filters 切面项对准同一 showcase_task,预置不同
    filter[<field>]=<value> 条件(framework feat(spec): ObjectNavItem.filters — declarative slices on the bare data surface #2626),端到端演示裸数据面
    /:objectName/data(objectui feat: formula field typing — inferExpressionType + FieldSchema.returnType #2255)与 recordId/filters/viewName 互斥守卫
    (feat(spec,security): nav landing exclusivity + field-permission predicate guard (anti filter-oracle) #2630)。src/docs/showcase_tour_ui.md 补讲解段。
  2. 主题梳理文档 — docs/test/framework-objectui-changes-2026-07-03_05.md,
    按主题梳理 framework(72 提交)× objectui(49 提交)近两天全部改动:安全授权
    (两扇门 + 反过滤预言机)、协议 spec/lint、导航切面、自适应记录面、声明式集成
    (apis/mappings/cube)、自动化可观测性、Studio 编辑闭环、showcase 重构、
    ADR-0088 种类精简。

Verification

ObjectNavItem.filters 演示在各层验证:

层 结果
build / validate / 55 vitest / app.zod superRefine 守卫 ✅
后端 REST 切面语义 ✅ in_progress=2 / urgent=2 / in_review=2 / 全量=10
前端端到端(浏览器实测) ✅ 导航项 href → …/showcase_task/data?filter[status]=in_progress → 裸数据面 + 可移除 chip「状态 = in_progress ×」+ 2 行记录 + 侧栏 active 高亮

首测吃到 vendored console dist 陈旧(07-02 构建,早于 pinned .objectui-sha=6c1ad9e
的切面路由 #2255);经官方 scripts/build-console.sh 按 pin 重建 dist(独立
git worktree,不动共享检出)后端到端跑通。证实特性本身正确,无需改代码 ——
framework main 侧只需在 objectui bump 后跑 pnpm objectui:refresh 让 dist 追上
.objectui-sha(发布管线职责)。详见文档 §10.3。

Notes

  • 仅改 3 个文件(重建的 packages/console/dist、.cache 均 gitignore)。
  • 全程用隔离端口 3777 + 独立 tempdir DB,未触碰其他 agent 占用的 3000/5180。

@vercel

vercel Bot commented Jul 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 5, 2026 1:53pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/m labels Jul 5, 2026
@os-zhuang
os-zhuang merged commit 23428cd into main Jul 5, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the claude/wizardly-dubinsky-e30281 branch July 5, 2026 15:05
…bjectui change digest

- ui/apps: add 'Data Slices (filters)' nav group — three ObjectNavItem.filters
  slices on showcase_task (#2626), exercising the bare data surface + the
  recordId/filters/viewName exclusivity guard (#2630)
- docs/showcase_tour_ui: explain the filters slice, mutual-exclusivity, and
  template vars
- docs/test: thematic digest of framework(72)×objectui(49) commits for
  2026-07-03..05, with the ObjectNavItem.filters end-to-end verification
  (rebuilt console dist at pinned .objectui-sha to confirm no code change needed)

This branch was successfully deployed

1 active deployment
Preview — dde1903e Deployed Jul 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants