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/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
