Repository navigation
fix(studio): landing own-app cards drop the package id and Writable badge; Recently viewed hides when it only repeats them - #35094
Conversation
…adge; Recently viewed hides when it repeats the cards Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
|
repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa L1 review (L1-d) — #35094 (Closes #35018, PR 2: Studio landing) · 2026-11-18T02:59ZL1: ACCEPT Surface. All 4 files are inside the PR 2 slice of claim 6964950830: Item 4a, own-app cards. The id line and the 可写 badge are removed. The row carries Item 4b, 最近访问. On the dev's open reading, which the requester asked me to weigh: I accept A, the same set. 「内容与上方卡片完全重复」 says the content repeats the cards completely, which is a two-way match. B (hide whenever every recent entry has a card) would drop the row in the common case of a few apps. That throws away what the row adds even then, the order of recency, and it would be a feature change the card rules out (「不改这些页面的布局与功能」). Pins and ablations. There are two new describes:
The six existing fixtures each gained one unvisited app, so they keep testing a drawn row rather than going vacuous. Four mutations went red and were restored. The Clause-②: no and Metadata-protocol: none are correct: this is display only. Must-fix: none. Notes:
Landing: ordinary queue landing (not Tier H) via the area, after #35082. |
…d moves to the hover title Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
|
repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa L1 delta review (L1-d) — #35094 · 2026-11-18T03:33ZL1: ACCEPT Delta from my ACCEPT on f961349 (6967686193). There are two commits: ad4aebc (code and pin) and 4f122a5 (changeset wording). Together they change 3 files, +21/-4, all already in the PR's file list and in the PR 2 slice of claim 6964950830 (the 最近访问 strip in Scope. This folds the observation I passed to the seat in my first verdict: the recent-row entries showed a mono package id. Triage proposed carrying it on this PR (6967733592) as the same rule on the same component, and the seat and area agreed. It is the card's own rule (no raw identifiers on the landing) applied to one more row, and it changes no layout or behaviour, so I accept it in scope. Code. Each recent entry loses the Pin. The new case asserts that the entry shows
Must-fix: none. Should-fix: none. Notes: CI at review time: 12 success, 15 skipped, 26 in progress. Landing waits on all checks being green on 4f122a5. Landing: ordinary queue landing (not Tier H). #35082 is merged, so the order concern in my first verdict is closed. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfrh8TiPJf1i2kMSoa Landing (area o3-H, for the owning seat) · 2026-11-18T03:49Z
State change: ready + auto-merge enabled. |
|
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi Landing · 2026-11-18T04:00Z
Open findings: none. State: ready + auto-merge armed by area o1-B (lease Dev-effort: medium · Rounds: 2 |
Requested by Yibo Wang · project thread
Closes #35018
PR 2 of 2: card item 4, the Studio landing page. The other half (items 1–3, the permission page, the AI panel's 正在看 line and the field panel) is #35082,
Part of #35018.Clause-②: no
Metadata-protocol: none
维护者速读
com.qa.mtg),也不再显示「可写」徽标;包 ID 改为卡片的悬停提示(和「已安装的应用」卡片一样)。「最近访问」在内容和上方卡片完全重复时不显示。ui/packages/app-shell/src/views/studio-design/BuilderLanding.tsx(recentRepeatsCards判断和自己的应用卡片那一段)。/studio),建两个自己的应用:卡片只显示应用名和「复制」,鼠标悬停显示包 ID;把页面上每张应用卡片都打开一次再回来,「最近访问」不出现;再新建一个应用,「最近访问」重新出现。What changes
BuilderLanding's own-app card no longer draws the package id line under the name, and no longer draws the 可写 / "Writable" badge (engine.studio.pkg.writable). Every card in this section is writable by construction (cards.filter((p) => p.writable)), so the badge carried no information. The package id moves to the card row's hovertitle, the place the installed-app card already keeps it (title={p.id}there). The Duplicate button, the inline duplicate form and the create card are unchanged.title, as on the cards (folded in at the seat's request, triage 6967733592).engine.studio.pkg.writablestays:PackageSwitcherandPageShellstill read it.Why
Card #35018 item 4, measured on main in this PR's before leg (below): each own-app card read
会议纪要 com.qa.mtg 可写 复制, and with every app visited the 最近访问 row repeated the three cards above it.Tests
Pins (in the landing's existing BuilderLanding.recentPackages-11863.test.tsx, two new card-named describes)
an own-app card shows the app, not its package (objectstack#35018): the card's text holds the name and not the package id, and has noWritabletext; noWritableanywhere on the page. Second case: the package id is reachable as the card's hover title (getByTitle('com.acme.crm')inside the card).a Recently viewed entry shows the app, not its package (objectstack#35018): the entry showsAcme CRM, notcom.acme.crm, andgetByTitle('com.acme.crm')inside the row returns that entry's link."Recently viewed" is left out when it only repeats the cards (objectstack#35018): one recent visit to the only app ⇒ no row (the name appears once); every card visited, installed included, in another order ⇒ no row. CONTROL: a recent app no card shows (a kernel package) keeps the row; CONTROL: a card the row does not repeat keeps the row.the package cards stay beside the recent rowkeeps its assertion with a second card.BuilderLanding.accessibleNames-12510needed only a comment update (the own card's name no longer has an api name after it).Ablations (scripts/ablation-replace.mjs at b43cf93; each restored, blob 11b989d04e38 == HEAD, git diff HEAD empty)
names no package id and carries no Writable badge1 failed / 17 passed.title={p.id}removed from the own card row:keeps the package id reachable1 failed / 17 passed.title={item.name}removed ⇒ 1 failed / 18 passed.&& !recentRepeatsCardsremoved from the row's condition: the two hide cases failed, both CONTROLs passed (2 failed / 16 passed).Suites (local, under os-verify-lock, at f961349)
pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/BuilderLanding: Test Files 12 passed (12), Tests 89 passed (89); after the fold (a49e040b4e): 12 files / 90 tests passed.pnpm --filter @object-ui/app-shell run type-check(src andtsconfig.test.json): exit 0.npx eslinton the three edited files fromui/packages/app-shell: exit 0.Acceptance notes
com.qa.mtg会议纪要 andcom.qa.tix工单跟踪. Before =BuilderLanding.tsxat the merge base, vite restarted with--force, served code checked withcurl. After = branch head, checked the same way.会议纪要com.qa.mtg可写 复制/工单跟踪com.qa.tix可写 复制, 2 可写 badges on the page. With all three cards visited, 最近访问 listed 工单跟踪, 会议纪要, ObjectStack Showcase: the three cards again.会议纪要 复制/工单跟踪 复制, 0 可写 on the page, hover titlecom.qa.mtg. With all three cards visited: no 最近访问 row. CONTROL: after a third app (客户回访) was created, the row came back, since it no longer repeats every card.recentRepeatsCards, but close to removing the row.after-4-recent-no-id.png(CONTROL case with a third app) reads 工单跟踪 / 会议纪要 / ObjectStack Showcase with no visible id; hover titles com.qa.tix / com.qa.mtg / com.example.showcase.Verification
node scripts/pm/dispatch-gates.mjs --commandsat f961349 (38), all exit 0 locally.--ranwith exit codes:38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN(a derived zero, all 38 recorded an exit code).pnpm check:changeset-fixed: exit 0.node scripts/pm/overlap-check.mjs --branch=claude/issue-35018-studio-landing-cbefore each push: VERDICT clean exit 0. Against fix(studio): permission title, AI panel 正在看 line and field panel header use names, not internal names #35082: no shared file (this PR touches no i18n file), and a merge of the two heads is clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa