Skip to content

Commit

Permalink
Merge pull request #134 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored Jun 7, 2024
2 parents 878f58c + 42debdc commit 7f1d501
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 664 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,24 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [1.0.0](https://github.com/eea/volto-searchlib/compare/0.9.3...1.0.0) - 22 April 2024
### [2.0.0](https://github.com/eea/volto-searchlib/compare/1.0.0...2.0.0) - 7 June 2024

#### :nail_care: Enhancements

- change(lib): run cypress only on volto-17 branch [David Ichim - [`e0a2155`](https://github.com/eea/volto-searchlib/commit/e0a2155de117297a16c2ce55455c80189a7cdc69)]

#### :hammer_and_wrench: Others

- bump package version since we no longer check for volto 16 [David Ichim - [`1a3248c`](https://github.com/eea/volto-searchlib/commit/1a3248ca387bf2e60a7802c78512fa1679e1c3f0)]
- Don't crash when there is no configuration for hiding the remove button for active filters [Zoltan Szabo - [`a94ffeb`](https://github.com/eea/volto-searchlib/commit/a94ffebc7b72aa2853e0e399a2389803c6343ab6)]
- Revert "wip lazy loading luxon on models.js" [David Ichim - [`a69e0eb`](https://github.com/eea/volto-searchlib/commit/a69e0ebb2739ac84e168df3f87633ff881b8c99d)]
- wip lazy loading luxon on models.js [David Ichim - [`e8201a9`](https://github.com/eea/volto-searchlib/commit/e8201a94040ef6c5461ad0cf5cadfc3cfb6ddc1e)]
- Update package.json to add cypress 13.1.0 for Volto 16 [ichim-david - [`355e51a`](https://github.com/eea/volto-searchlib/commit/355e51a295ed04321015d469ee75db6fb2941678)]
- Update elastic/search-ui to 1.19.0 package.json [ichim-david - [`f6a965c`](https://github.com/eea/volto-searchlib/commit/f6a965c6ce0ab874aae5db99ad3d17b41437541d)]
- use exact pin for elastic/search-ui version 1.21.4 [David Ichim - [`e38fd95`](https://github.com/eea/volto-searchlib/commit/e38fd951f815229ff58c62a0dd6a615260af5ad5)]
- removed @elastic/react-search-ui-views dependency and storybook testing [David Ichim - [`44c9fc9`](https://github.com/eea/volto-searchlib/commit/44c9fc9263bd1907f038f1767cc226d642fdf6cf)]
- use same version of jotai as Volto core which is 2.0.3 [David Ichim - [`5b57d20`](https://github.com/eea/volto-searchlib/commit/5b57d2042405975a86ae8fdce140393413f19077)]
## [1.0.0](https://github.com/eea/volto-searchlib/compare/0.9.3...1.0.0) - 22 April 2024

#### :rocket: New Features

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
BACKEND_PROFILES = "eea.kitkat:testing"
BACKEND_ADDONS = ""
VOLTO = "17"
VOLTO16_BREAKING_CHANGES = "no"
VOLTO16_BREAKING_CHANGES = "yes"
IMAGE_NAME = BUILD_TAG.toLowerCase()
}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-searchlib",
"version": "1.0.0",
"version": "2.0.0",
"description": "@eeacms/volto-searchlib: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand All @@ -22,8 +22,7 @@
"dependencies": {
"@eeacms/volto-eea-design-system": "*",
"@elastic/react-search-ui": "^1.9.0",
"@elastic/react-search-ui-views": "^1.9.0",
"@elastic/search-ui": "^1.9.0",
"@elastic/search-ui": "1.19.0",
"@visx/group": "^1.7.0",
"@visx/responsive": "^1.10.1",
"@visx/scale": "^1.11.1",
Expand All @@ -38,7 +37,7 @@
"elasticsearch": "16.7.3",
"fast-deep-equal": "^3.1.3",
"http-proxy-middleware": "^2.0.1",
"jotai": "^1.6.0",
"jotai": "2.0.3",
"lodash": "4.17.21",
"lodash.clonedeep": "^4.5.0",
"lodash.isfunction": "^3.0.9",
Expand All @@ -58,6 +57,7 @@
"use-deep-compare-effect": "1.8.1"
},
"devDependencies": {
"cypress": "13.1.0",
"@cypress/code-coverage": "^3.10.0",
"@plone/scripts": "*",
"babel-plugin-transform-class-properties": "^6.24.1",
Expand Down
2 changes: 1 addition & 1 deletion searchlib/components/FilterList/ActiveFilterValue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ActiveFilterValue = (props) => {
const filterConfig = appConfig.facets.find(
(f) => (f.id || f.field) === field,
);
const hideRemoveFilter = filterConfig.hideRemoveFilter || false;
const hideRemoveFilter = filterConfig?.hideRemoveFilter || false;
const facetField = field;
const { label, activeFilterLabel } = appConfig.facets.find(
({ field }) => field === facetField,
Expand Down
3 changes: 1 addition & 2 deletions searchlib/components/SearchBox/SearchBoxView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import PropTypes from 'prop-types';
import Downshift from 'downshift';
import cx from 'classnames';
import { Result } from '@elastic/react-search-ui-views';
import { useAppConfig } from '@eeacms/search/lib/hocs';
import Autocomplete from './Autocomplete';

Expand Down Expand Up @@ -143,7 +142,7 @@ function SearchBoxView(props) {
SearchBoxView.propTypes = {
// Provided by container
allAutocompletedItemsCount: PropTypes.number.isRequired,
autocompletedResults: PropTypes.arrayOf(Result).isRequired,
// autocompletedResults: PropTypes.arrayOf(Result).isRequired,
// autocompletedSuggestions: PropTypes.objectOf(PropTypes.arrayOf(Suggestion))
// .isRequired,
autocompletedSuggestionsCount: PropTypes.number.isRequired,
Expand Down
50 changes: 0 additions & 50 deletions searchlib/stories/Button.js

This file was deleted.

36 changes: 0 additions & 36 deletions searchlib/stories/Button.stories-.js

This file was deleted.

52 changes: 0 additions & 52 deletions searchlib/stories/Header.js

This file was deleted.

18 changes: 0 additions & 18 deletions searchlib/stories/Header.stories-.js

This file was deleted.

Loading

0 comments on commit 7f1d501

Please sign in to comment.