Move bot avatar assets to app/assets for proper asset pipeline inclusion
What does this MR do and why?
Move bot avatar assets to app/assets for proper asset pipeline inclusion
Bot avatars were in lib/assets/, which isn't part of the default Rails asset pipeline. This caused production to fall back to non-fingerprinted paths while development worked due to on-the-fly compilation.
Move images to app/assets/images/bot_avatars/ to ensure proper precompilation and fingerprinting in all environments.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Make sure you are logged in and have DAP access
- Make sure you have a group with either free trial or paid.
- Open the new DAP thread
- Make sure you see agent selection and it renders the image without any issue.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #589007
Edited by Harsh Sagar
