Skip to content

fix(app-showcase): surface Task Detail quick actions in the record_section bar#2082

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/showcase-quick-actions-location
Jun 20, 2026
Merged

fix(app-showcase): surface Task Detail quick actions in the record_section bar#2082
xuyushun441-sys merged 1 commit into
mainfrom
fix/showcase-quick-actions-location

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

While QA-ing the showcase workspace, the Task Detail drawer leaked a dev placeholder into the business UI:

record:quick_actions — no actions configured

Root cause

The Task Detail page's record:quick_actions bar is configured with location: 'record_section' and actionNames: ['showcase_mark_done', 'showcase_log_time']. The renderer resolves those named actions, then location-filters them via getActionsForLocation('record_section') — but neither action declared record_section in its locations (mark_done was list_item/record_header; log_time was record_header/record_related), so both were filtered out.

This is the platform's intended contract: the platform's own sys-user.page.ts uses the identical pattern, and every action it names in a record_section bar (change_my_password, delete_my_account, …) declares record_section in its object definition.

Fix

Add record_section to the locations of showcase_mark_done and showcase_log_time (metadata only), matching the platform convention.

Testing

Verified in the browser (showcase backend rebuilt from this branch): the Task Detail drawer now renders the Mark Done and Log Time buttons instead of the placeholder.

🤖 Generated with Claude Code

…ction bar

The Task Detail page's `record:quick_actions` bar (location: 'record_section')
names `showcase_mark_done` + `showcase_log_time`, but neither action declared
the `record_section` location, so the engine location-filtered them out and the
drawer showed the dev placeholder "record:quick_actions — no actions configured".
Add `record_section` to both actions' locations, mirroring the platform's own
sys-user pages, so the Mark Done / Log Time buttons render.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 20, 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 Jun 20, 2026 5:00pm

Request Review

@xuyushun441-sys xuyushun441-sys added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Jun 20, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 656789e into main Jun 20, 2026
18 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the fix/showcase-quick-actions-location branch June 20, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants