feat(showcase): add the action disabled-predicate specimen (Archive) - #3643
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This was referenced Jul 27, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to objectui
fix/action-disabled-all-renderers(the #1885 follow-through). Refs #1878 (§3 naming-drift item "actiondisabled").What
showcase_archive_task— thedisabled-predicate specimen. Where MarkDone'svisible: '!record.done'hides once done, Archive'sdisabled: 'record.done != true'stays on screen and greys until the task is done. Added to the task-detailrecord:quick_actionsbar (actionNamesis an explicit list — a new action doesn't surface without being named; that discovery cost one round of dogfooding).Why
report.charttaught us the lesson (#3496): a live path with no showcase coverage rots invisibly. The specdisabledfield 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:
visible— the hide-vs-grey contrast on one screen.allActionsand picked the new action up automatically).🤖 Generated with Claude Code