Skip to content

Releases: Matdata-eu/yasgui-table-plugin

v1.3.0

28 Feb 14:00
415c808

Choose a tag to compare

New Features

  • Added smart formatters: xsd:boolean literals now render as ✔ / ✘; variable name suffixes trigger visual formatters — *stars → star rating, *percent → progress bar, *image → inline image, *color/*colour → colour swatch, *description → multiline text
  • Added a Smart toggle in the display controls to enable or disable smart formatters (enabled by default)
  • Added a Link Prefix toolbar control that lets users enter a URL prefix prepended to every URI link (e.g. to point all URIs to a faceted browser); the user-set prefix overrides any developer-supplied uriHrefAdapter
  • Added developer API option uriHrefAdapter to transform URI hrefs to custom URLs programmatically
  • Added developer API option bindingSetAdapter to transform an entire binding set before rendering (e.g. to add computed columns)
  • Added a Quick Reference (?) icon to the toolbar that opens an in-place modal listing all available features and keyboard shortcuts

Fixes

  • Fixed the double-click cell content modal not opening after changing the table fit mode

Chores

  • Updated the GitHub Pages demo page to fix incorrect IIFE global variable access

Full Changelog: v1.2.1...v1.3

v1.2.1

06 Jan 20:45

Choose a tag to compare

New features

  • Improved color scheme, make it dependent on Yasgui css color variables

v1.2.0

25 Dec 23:18

Choose a tag to compare

Fixes:

  • URI prefix handler didn't work, the URI would not be abbreviated

Full Changelog: v1.1.0...v1.2.0

v1.1.0

18 Dec 21:22

Choose a tag to compare

Fixes

  • Fixed table header colors not updating when switching themes

Chores

  • Updated CSS architecture to use CSS variables with separate theme files for better maintainability
  • Updated demo page to run independently without YASGUI to avoid CSS and JavaScript conflicts during development

Full Changelog: v1.0.0...v1.1.0

v1.0.0

16 Dec 18:01

Choose a tag to compare

Initial Release

This is the first release of the YASGUI Table Plugin, a high-performance plugin for rendering SPARQL SELECT results in an interactive table with advanced features.

New Features

  • Added virtual scrolling to efficiently handle 10,000+ rows with smooth performance
  • Added real-time search and filter with highlighting of matching terms
  • Added interactive column management with sorting and resizing capabilities
  • Added dynamic theme support that automatically adapts to YASGUI light/dark theme changes
  • Added cell and row selection with keyboard navigation support
  • Added copy to clipboard functionality supporting Markdown, CSV, and TSV (tab-separated values) formats
  • Added integration with YASR's download interface for CSV export
  • Added tooltips to display full cell content on hover
  • Added visual notifications for copy operations and user feedback
  • Added WCAG AA compliant accessibility with full keyboard navigation
  • Added SPARQL-aware rendering for URIs, literals, datatypes, and blank nodes
  • Added prefix resolution using prefixes from YASR for URI abbreviation
  • Added display controls to toggle between full/abbreviated URIs, show/hide datatypes, and enable ellipsis mode
  • Added table layout switching between fit-to-data and fit-to-window modes
  • Added comprehensive test suite with 166 tests covering all functionality

Technical Details

Package Information:

Module Formats:

  • CommonJS (CJS): dist/yasgui-table-plugin.cjs.js
  • ES Module (ESM): dist/yasgui-table-plugin.esm.js
  • UMD (minified): dist/yasgui-table-plugin.min.js
  • TypeScript declarations included

Dependencies:

  • Tabulator Tables 6.3.1 for table rendering
  • Compatible with YASGUI/YASR 5.x

Browser Support:

  • Chrome (latest 2 versions)
  • Firefox (latest 2 versions)
  • Safari (latest 2 versions)
  • Edge (latest 2 versions)

Installation:

npm install @matdata/yasgui-table-plugin

CDN:

<script src="https://unpkg.com/@matdata/yasgui-table-plugin/dist/yasgui-table-plugin.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@matdata/yasgui-table-plugin/dist/yasgui-table-plugin.css">