Releases: GetDKAN/data-catalog-components
Group file types on Search List Items
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
Initial release, add USWDS to Docz and jest-axe to testing.
Update to Search Facets
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
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
fordata.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
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
-
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
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
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
This release updates the facet components to make use of the new Search API facet endpoint in DKAN.