zazuko / vscode-sparql-notebook

Visual Studio Code SPARQL Notebook Extension
https://marketplace.visualstudio.com/items?itemName=Zazuko.sparql-notebook
Other
25 stars 8 forks source link

Adds Data Table Renderer Compatible Output #71

Closed vhorvath closed 8 months ago

vhorvath commented 9 months ago

I recently came across your extension and I really like it. The tabular output has some limitations and instead of reinventing the wheel I thought it would be useful to consider improving interoperability other extensions that provide rendering functionality.

The solution I add below provides interoperability between the Data Table Renderer extension output type that it can handle via the application/json render channel not used by your extension.

It is not a perfect solution, e.g. the Data Table Renderer extension doesn't support hyperlinks, but as an optional formatter it can be useful when a query returns a high number of rows as this extension provides scrollable tables as well as summarized views.

changeset-bot[bot] commented 9 months ago

⚠️ No Changeset found

Latest commit: 48eaf7e5a414ad279e5a7306c3615020103db01a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

ktk commented 8 months ago

@vhorvath thanks for this pull-request, we did not know table-renderer! That looks super useful.

BenjaminHofstetter commented 5 months ago

@vhorvath thank you for this great input. SPARQL notebook v0.0.36 is not pulling the data table renderer as dependency. It's super useful thank you.