Skip to content

feat(showcase): add the action disabled-predicate specimen (Archive) - #3643

Merged
os-zhuang merged 2 commits into
mainfrom
chore/showcase-action-disabled-dogfood
Jul 27, 2026
Merged

feat(showcase): add the action disabled-predicate specimen (Archive)#3643
os-zhuang merged 2 commits into
mainfrom
chore/showcase-action-disabled-dogfood

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Companion to objectui fix/action-disabled-all-renderers (the #1885 follow-through). Refs #1878 (§3 naming-drift item "action disabled").

What

showcase_archive_task — the disabled-predicate specimen. Where MarkDone's visible: '!record.done' hides once done, Archive's disabled: 'record.done != true' stays on screen and greys until the task is done. Added to the task-detail record:quick_actions bar (actionNames is an explicit list — a new action doesn't surface without being named; that discovery cost one round of dogfooding).

Why

report.chart taught us the lesson (#3496): a live path with no showcase coverage rots invisibly. The spec disabled field had zero first-party usage, which is exactly why five objectui rendering surfaces could ignore it undetected. This specimen keeps the wire hot.

Verification

Browser-verified against the objectui fix worktree:

  • In-progress task (Build homepage): Archive rendered disabled (greyed), Mark Done / Log Time active.
  • Done task (Audit current IA): Archive clickable; Mark Done hidden by its own visible — the hide-vs-grey contrast on one screen.
  • Showcase suite 58/58 green (coverage test walks allActions and picked the new action up automatically).

🤖 Generated with Claude Code

os-zhuang and others added 2 commits July 27, 2026 20:28
showcase_archive_task demonstrates disabled vs visible: where MarkDone's
`visible: '!record.done'` HIDES once done, Archive's
`disabled: 'record.done != true'` stays on screen and greys until the task
is done. Added to the task-detail quick-actions bar (actionNames is an
explicit list — a new action does not appear without being named).

Dogfoods the renderer-side wiring completed in objectui (#1885
follow-through): browser-verified greyed on an in-progress task, clickable
on a done one.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Jul 27, 2026 12:30pm

Request Review

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 tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant