Skip to content

Show user email in admin support tickets when name is missing#320

Merged
simonhamp merged 1 commit intomainfrom
show-email-nameless-tickets
Mar 30, 2026
Merged

Show user email in admin support tickets when name is missing#320
simonhamp merged 1 commit intomainfrom
show-email-nameless-tickets

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Changed the admin support ticket table and view page to use user.email as the source field instead of user.name, so Filament always renders the User column/entry even when the user has no name
  • The display still shows both name and email when a name exists (e.g. Jane Doe (jane@example.com)), or just (jane@example.com) for nameless users
  • Added two tests covering both the nameless and named user scenarios on the admin view page

Test plan

  • admin_view_page_shows_user_email_when_name_is_null — verifies the email is visible when user has no name
  • admin_view_page_shows_name_and_email_when_user_has_name — verifies both name and email are visible

🤖 Generated with Claude Code

Use user.email as the source field for the User column/entry so Filament
always renders it, even when the user has no name set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 30, 2026 19:23
@simonhamp simonhamp merged commit c256eff into main Mar 30, 2026
2 checks passed
@simonhamp simonhamp deleted the show-email-nameless-tickets branch March 30, 2026 19:26
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.

1 participant