I’ve updated the component and while I was on it, I cleaned up things (DEV: Modernize and clean up by Arkshine · Pull Request #7 · Arkshine/discourse-banner-featured-links · GitHub)
Changelog:
- Fixed
htmlSafedeprecation - Fixed a SCSS typo (for mobile,
max-widthwas used instead ofmargin) - Fixed some settings description
- Replaced
altbytitleon the link (invalid HTML) - Rendered title as plain text.
It was not documented HTML was allowed, but I don’t think it’s useful in this context. - Changed default setting on button hover to use the same color as button.
- Pinned TC to version 2026.3.0-latest
Internally:
- Removed version from
apiInitializer - Updated lint config
- Adjusted code based on the new lint config
- Do not mutate
settingsobject - Made some cleanup
- Added more tests.