[openstreetmap/openstreetmap-website] Add Codeberg social link icon and URL pattern support (#6813) (PR #6853)
Arpan Mukherjee
notifications at github.com
Tue Mar 3 14:52:23 UTC 2026
Adds support for Codeberg profile links.
- Add Codeberg SVG icon to social_link_icons
- Add URL detection pattern in SocialLink model
- Add corresponding unit test for platform parsing
### How has this been tested?
Added a unit test in social_link_test.rb to verify that:
- The platform is detected as "codeberg"
- The username is correctly parsed from the URL
Closes #6813.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6853
-- Commit Summary --
* Add Codeberg social link icon and URL pattern support issue #6814
* Simplify Codeberg SVG to remove gradients and inline styles
-- File Changes --
A app/assets/images/social_link_icons/codeberg.svg (16)
M app/models/social_link.rb (1)
M test/models/social_link_test.rb (7)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6853.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6853.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6853
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6853 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260303/10d0e662/attachment.htm>
More information about the rails-dev
mailing list