Skip to content

fix: Show view action buttons on list views for resources without a space#377

Merged
tkuhn merged 2 commits intomasterfrom
fix/376-add-button-missing-on-user-page
Mar 6, 2026
Merged

fix: Show view action buttons on list views for resources without a space#377
tkuhn merged 2 commits intomasterfrom
fix/376-add-button-missing-on-user-page

Conversation

@tkuhn
Copy link
Contributor

@tkuhn tkuhn commented Mar 6, 2026

Summary

  • QueryResultListBuilder gated button creation (e.g. "add...") on space != null, so list views on resources like IndividualAgent (which have no associated space) never showed action buttons
  • Changed the builder to accept AbstractResourceWithProfile directly (like QueryResultTableBuilder already does) instead of requiring a Space

Closes #376

Test plan

  • Open a user profile page and verify the "add..." button now appears on list-type view displays that define view actions
  • Open a space page and verify buttons still appear as before

🤖 Generated with Claude Code

…pace

QueryResultListBuilder gated button creation on space != null, so
resources like IndividualAgent (which have no space) never got "add..."
buttons. Align with QueryResultTableBuilder by using resourceWithProfile
instead.

Closes #376

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tkuhn tkuhn requested a review from ashleycaselli March 6, 2026 05:54
@tkuhn tkuhn merged commit bfbd4a2 into master Mar 6, 2026
8 checks passed
@tkuhn tkuhn deleted the fix/376-add-button-missing-on-user-page branch March 6, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

View display buttons sometimes not shown

2 participants