Skip to content

Releases: GetDKAN/data-catalog-components

Group file types on Search List Items

17 Mar 23:30
Compare
Choose a tag to compare

This update groups like file formats not the Search List Items component so it will be the file type followed by x1 or x32. This replaces the adding multiple icons for each individual file.

Initial Release for new component library

26 Feb 22:02
Compare
Choose a tag to compare

Initial release, add USWDS to Docz and jest-axe to testing.

Update to Search Facets

25 Feb 15:20
Compare
Choose a tag to compare

Search Facets can now be individually searched independently to help with response times. This shouldn't be a backwards incompatible update.

Commits:

Search loading and Data Table updates

11 Feb 18:41
8989289
Compare
Choose a tag to compare

Search

A new react content loading library has been added to add a shimmer loading effect for the content in the search content and search sidebar components. Before these sections were basically blank during loading states.

Data Table updates

  • Swap checks for data.values for data.columns when showing or hiding the data table and data table header. This should fix the bug when no results were found, the entire table was removed from the page and needed a reload to try filtering again.
  • When no results are found, a new no results found message appears where the table body should be.

SCSS in dist

When building the library for npm, we now include the raw scss files for use along side the the compiled css. This means if you want to only use some of the scss in your app you can now control what styles are loaded at the app level instead of loading the entire compiled css. This should allow for more component based styling and easier overwrites when customizing your app.

Sort Fix for SQL datatables

04 Feb 15:48
Compare
Choose a tag to compare

Adds a new column to label feature in the Datastore API code for the SQL endpoint. This adds a new property to the store that has the human readable names as properties of the column machine names. This allows for sorting by machine names, but the ability to display the cleaner names on the frontend. Looks a lot like the schema property in the new datastore json query endpoint.

Updates to Resource and datastore, component cleanup, and adding reset to facets

11 Jan 21:03
Compare
Choose a tag to compare
  • Making facets resetable.

  • Simplifying text on search pages.

  • Changing default behavior of Announcement template.

  • A little clean up in the Organization component.

  • Count protection in queryResourceData.

  • Human readable data preview labels.

  • Add / to topicWrapper link

  • Update axios version

Fix CI, Update SearchListItems and add images to BasicBlock

18 Dec 22:14
88e8bd0
Compare
Choose a tag to compare

Fixes the CI Build to use node 10.

SearchListItem no longer uses a TopicWrapper and instead just has a div with class around the TopicIcon.

In SearchListContent, SearchListItems are now wrapped in <li> tags to fix and accessibility and markup issue.

BasicBlocks can now have an image in their h2 instead of just being title and teaser content.

Dev workflow tool updates and bug fixes

29 Sep 01:41
64e24e6
Compare
Choose a tag to compare

Internal Changes:

  • Switched from Storybook to Docz for documentation
  • Added Testing Library to be more in line with our tools in app for Cypress
  • Updated CI to work with new dkan tools and got Jest tests working again

External Updates:

  • Updated React Tables and removed Scarf dependency
  • Fixed an error when visiting search pages with page offset parameter greater than 1, resetting to 1
  • Moved scss files out of components and into data-catalog-app.
  • Fixed props on Publisher components
  • Fixed input props and reset functionality on Search facets

Updated Facets

16 Jun 14:58
Compare
Choose a tag to compare

This release updates the facet components to make use of the new Search API facet endpoint in DKAN.