Skip to content

v0.2.0

Choose a tag to compare

@rossjones rossjones released this 01 May 14:05
· 84 commits to main since this release

What's new in Data Upload Design Kit release 2

Wow – I'd not quite realised how many changes we've made in release 2! Thanks so much to everyone who has tried the Kit out and given us feedback! We'd love to keeping hearing from you about what works for your services – or doesn't.

Sheet selection previews

Allowing users to select the sheet they want to upload from a multi-sheet workbook is a key usability step for data upload services. The Kit's sheet selector component will now show your users a preview of the sheet that they are selecting, so that they don't have to remember sheet names or switch back to their spreadsheet to check. Neat!

Data Upload Design Kit Sheet selector component

Data validation

The Kit can now automatically validate uploaded data and present users with helpful messages when it doesn't meet expectations. We support a limited number of types and marking fields as required or optional and use this to automatically check uploaded data. The Kit also ensures that when users select the columns in their sheet, they include all of the fields necessary for your service.

Data Upload Design Kit review template page, showing an uploaded spreadsheet that contains 1 row with two errors

Accessibility improvements for components

We've done a deep dive on table accessibility so that you don't have to! We've improved the design and markup of our components to ensure they comply with WCAG 2.1 AA. This has included adding more ARIA attributes to table cells that are selected, and fixing tab ordering so that keyboard users can tab into and out of tables more easily.

Data Upload Design Kit Table view component, with a selection made

Easy unboxing

No more editing JSON files! The Kit is now ready to use in your service automatically – all you need to do is say what data you want to collect. For that job we've added a GOV.UK-style web interface to add and remove fields which you can access from within your own service.

Data Upload Design Kit Plugin configuration page, showing a list of data fields

Full changelog

  • Auto create tmp directory if one not specified
  • Macro for table assets by
  • Automatically import table view assets
  • Do not remove visual selection when focus is lost
  • Select header rows from uploaded file
  • Build and deploy plugin documentation as a static site
  • Limit displayed records in the preview to 20
  • Removing leading and trailing newlines in the preview tfoot
  • Bypass Node XLSX
  • Show sample column values when mapping fields
  • Show preview of imported sheet when selecting a sheet
  • Normalise the header selection
  • Accessibility improvements to sheet selector component
  • Use backend.SessionSuggestDataRange rather than computing our own ranges
  • Add MVP designer experience documentation
  • Ignore trailing empty rows when calculating dimensions
  • Handle merged cells
  • Add a footer selection step
  • Merged cell selection
  • Add captions to tables
  • Automatically install the plugin router
  • Add playwright for running UI tests
  • Ensure wide tables add horizontal scroll
  • Linting
  • Added image to docs main page
  • Table accessability
  • Fix selected header columns with no name
  • Re-introduce ODS file support in tests
  • Validation
  • Add tests to check config modifications are persisted.
  • Fix up mobile views for all docs pages.
  • Add pages to manage configuration
  • Change the structure for mapping fields in config
  • Update to docs pages about config and demo service
  • Move filters and functions to separate modules
  • Publish package on push
  • Apply validation functions to mapping

Fuller Changelog: v1...v0.2.0