Skip to content

Conversation

@marcusmoore
Copy link
Collaborator

This PR follows up #16918 by improving how the creator of an accessory is displayed on the accessory show page. Now users are linked to the user show page if they have access to that user and if the user cannot be linked, due to the id being null or linking to an non-existent user, then the section is not rendered at all


Scenario Can view user Cannot view user
Creator in database image image
Creator in database but soft deleted image image
created_by is an id not in database or is null image same as on the left

The code in the blade component could have been inlined in the view but I can see this code being repeated elsewhere so I extracted and tested a component up front.

@marcusmoore marcusmoore requested a review from snipe as a code owner May 23, 2025 00:16
@snipe snipe merged commit 57d3aba into grokability:develop May 23, 2025
7 of 9 checks passed
@marcusmoore marcusmoore deleted the bug/sc-29178 branch May 27, 2025 17:53
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.

2 participants