Skip to content

Public tags: attributions#3169

Merged
tom2drum merged 1 commit intomainfrom
tom2drum/issue-3163
Dec 9, 2025
Merged

Public tags: attributions#3169
tom2drum merged 1 commit intomainfrom
tom2drum/issue-3163

Conversation

@tom2drum
Copy link
Copy Markdown
Collaborator

@tom2drum tom2drum commented Dec 9, 2025

Description and Related Issue(s)

Resolves #3163

This PR adds support for displaying attribution information in public tag tooltips. The attribution can include a source name with an optional icon and link, helping users understand where the tag information comes from when provided by public tag providers.

Proposed Changes

  • Added support for tooltipAttribution and tooltipAttributionIcon fields in address metadata parsing
  • Updated EntityTagTooltip component to display attribution in a "Source:" section at the bottom of the tooltip
  • Attribution can be displayed as plain text or as a clickable link (when a URL is provided)
  • Attribution icon is displayed when tooltipAttributionIcon is provided
  • Updated TypeScript types to include the new metadata fields
  • Added visual tests for the tooltip with attribution in both light and dark modes

Breaking or Incompatible Changes

None. This is a backward-compatible addition that only enhances the tooltip when attribution metadata is provided.

Additional Information

The attribution section appears at the bottom of the tooltip, separated by a divider when other tooltip content is present. The attribution supports both plain text and URL formats, with automatic link formatting when a URL is detected.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum merged commit 48d0ed2 into main Dec 9, 2025
11 checks passed
@tom2drum tom2drum deleted the tom2drum/issue-3163 branch December 9, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public tags: attributions

1 participant