-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WEBDEV-584] Update components serialisation for the search results
- Update Hint, Heading and Search Form component serialisers - Update Search Result and Pagination helpers - Disable CyclomaticComplexity cop in Rubocop
- Loading branch information
Showing
42 changed files
with
657 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 22 additions & 16 deletions
38
spec/fixtures/controllers/concerns/search_result_helper/fixture.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
--- | ||
- name: card__search-result | ||
- name: card__search__search-result | ||
data: | ||
heading-text: Result one | ||
url: link | ||
list-hint: | ||
type: hint theme--grey-4 | ||
text: pdf | ||
url: link... | ||
paragraph-text: Content one | ||
- name: card__search-result | ||
hints: | ||
name: hint | ||
data: | ||
component: hint | ||
variant: theme | ||
modifier: grey-4 | ||
content: pdf | ||
short-url: link... | ||
paragraph-content: Content one | ||
- name: card__search__search-result | ||
data: | ||
heading-text: Result two | ||
url: link | ||
list-hint: | ||
url: link... | ||
paragraph-text: Content two | ||
- name: card__search-result | ||
short-url: link... | ||
paragraph-content: Content two | ||
- name: card__search__search-result | ||
data: | ||
heading-text: Result three | ||
url: link | ||
list-hint: | ||
type: hint | ||
text: Beta | ||
url: link... | ||
paragraph-text: Content three | ||
hints: | ||
name: hint | ||
data: | ||
component: hint | ||
variant: theme | ||
content: Beta | ||
short-url: link... | ||
paragraph-content: Content three |
Oops, something went wrong.