[openstreetmap/openstreetmap-website] Add Codeberg social link icon and URL pattern support issue #6813 (PR #6852)
Arpan Mukherjee
notifications at github.com
Tue Mar 3 14:24:58 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/6852
-- Commit Summary --
* Add Codeberg social link icon and URL pattern support issue #6814
-- File Changes --
A app/assets/images/social_link_icons/codeberg.svg (164)
M app/models/social_link.rb (1)
M test/models/social_link_test.rb (7)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6852.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6852.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6852
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6852 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260303/8dc3899f/attachment.htm>
More information about the rails-dev
mailing list