Improve avatar filename display on achievement form
What does this MR do and why?
Improve avatar filename display on achievement form
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Enable the achievements
feature flag in the rails console
- Visit http://gdk.test:3000/groups/flightjs/-/achievements/new
- Select choose file
- Select an image with a long filename
- Ensure:
- The filename is truncatesd
- The "clear" button is still visible
- There is no scrollbar (in the drawer)