Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

contexture-export@1.3.4

Patch Changes

  • 121811b: ### Overview

    This patch introduces a new feature for Excel-type exports where cells can now be rendered as clickable hyperlinks. This is achieved by providing a specific metadata structure that the exporter converts into native Excel formulas.

    New Features

    • Dynamic Excel Hyperlinks: Cells can now display a custom text label while linking to a specific URL.
    • Metadata-Driven Rendering: The system identifies links via the __isHyperlink flag within the meta object.
    • Display Label Mapping: The __alias property is used as the visible display label for the provided URL.
    • Formula Safety: The exporter automatically handles double-quote escaping to ensure the Excel HYPERLINK formula remains valid.

    Data Structure Requirements

    To render a cell as a link, the record data for that cell must follow this structure:

    {
      "url": "https://example.com/detail/123",
      "meta": {
        "__isHyperlink": true,
        "__alias": "Click to Open Link"
      }
    }

@PranitaJainB PranitaJainB self-requested a review December 19, 2025 09:53
@PranitaJainB PranitaJainB merged commit c8a11d6 into main Dec 19, 2025
@PranitaJainB PranitaJainB deleted the changeset-release/main branch December 19, 2025 09:55
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.

1 participant