Skip to content

Conversation

@kelbyhawn
Copy link
Contributor

@kelbyhawn kelbyhawn commented Dec 17, 2025

Updates the logic in the UserChatMessageEditor component to only show the chatButtons div when the array length is > 0. This was causing an empty div to render in the DOM, causing extra padding at the top of the footer in Web Lab 2 where there are no chat buttons.

Links

Jira ticket: AFL-402

Testing story

Tested locally in Web Lab 2 and Python Lab to make sure the chat buttons were showing when expected.


Before After
Screenshot 2025-12-17 at 12 48 59 PM Screenshot 2025-12-17 at 12 48 55 PM

@kelbyhawn kelbyhawn requested review from a team, Erin007, drizco and etaderhold December 17, 2025 21:31
@kelbyhawn kelbyhawn merged commit d78018a into staging Dec 17, 2025
6 checks passed
@kelbyhawn kelbyhawn deleted the AFL-402/ai-chat/update-chatButtons-display-logic branch December 17, 2025 21:37
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