-
Notifications
You must be signed in to change notification settings - Fork 10
PLAT-60 search display view modes #142
PLAT-60 search display view modes #142
Conversation
@AndyEPhipps so them problem here is that because you've changed the view modes for the search, the test for search no longer pass... We need to update the test as part of this branch, @wagg-matt are you able to assist andy with this? need to look at what best to test so this doesnt have to change everytime the viewmode is altered slightly? imo this should be a functional test, maybe test to see if markup is there or something ? /FYI @pvhee |
Yeah, maybe do a bit more generic test for elements / functionalities that aren't finished yet. |
@bimsonz of course. @AndyEPhipps give me a shout when you want to go through it and i'll head over |
@AndyEPhipps Let's try to achieve this markup. We can make one template for all search results and one file for its style.
Sass file can have same name as element. ie. _search-result.scss |
@AndyEPhipps @wagg-matt @bimsonz I fixed the behat tests (let's wait for travis to confirm), see commit 051c8d5 - don't think we have to be too worried about front-end changes for the future, the point is that when you look for "malaria" you should return two pages, and when looking for "lindsey" you also have two results (both of them not articles but landing pages). Content is part of the build, so that's what we should be asserting, and at the same time this checks that the entire search stack is functioning correctly. |
…o feature/PLAT-60_search_display_view_modes Conflicts: profiles/cr/modules/custom/cr_search/config/install/search_api.index.cr_content.yml
@AndyEPhipps is this ready to go in now? |
…o feature/PLAT-60_search_display_view_modes
Thinking dependency hell here, to be honest. Here's why. We have these view modes defines in the search module. They view modes are for the Partners node type, and a few others. Thing is, does that mean this module depends on the Partners content type being available? Because it's likely that some sites won't have a Partner content type enabled Eg. comicrelief.com for example. Thinking we should do a little more testing in the area of dependencies before we start getting too many modules with all these dependencies into the codebase. What do you think? |
@@ -0,0 +1,10 @@ | |||
{# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndyEPhipps I don't think we need to commit add this file.
@AndyEPhipps I think there are some files that need to be deleted. I left a comment on them. |
@gusliedke @AndyEPhipps just a FYI that we'll need to redo some of the work to make sure the search view modes are updated to the new look & feel - currently this looks all a bit broken (as expected) Related to our main search PR: #531 @gusliedke will probably pop in a new ticket for the front-end work required |
We have this one for search front end work https://jira.comicrelief.com/browse/PLAT-485 |
https://jira.comicrelief.com/browse/PLAT-60