Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3.513 search patterns #519

Merged
merged 9 commits into from
Apr 19, 2021
Merged

V3.513 search patterns #519

merged 9 commits into from
Apr 19, 2021

Conversation

davideleuterius
Copy link
Contributor

@designerbrent
There's a couple of things to discuss here before merging. The main one is that in the design, the way it is shown in the layout, it is implied that there should be an inner grid of sorts on each search result to get the layout as shown. Right now we are running this through the basic content-block.twig, which has no grid structure, but rather a float on the image for content alignment. The float is why the search results rows don't have space beneath them - because I am trying to clear the float, but because of the float in the first place, it is making the flow irregular. To avoid this we can either create a new search content block pattern with the right structure, or revise the content block pattern to have a grid structure.

There are a few more items that have been adjusted to match the revised design (spacing / layout) that I am sure you will notice as well. When you have a had a chance to review, let me know, as I am sure there will be some further adjustments to bring this to place where you are happy with it. Thanks and I am moving on to the event patterns now.

Copy link
Collaborator

@designerbrent designerbrent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments after I reviewed it:

  • We need to have the content be locked on the grid for the search results. Do we need to switch to using the media-block? I'd rather not add a new block if we can avoid it.
  • The other thing that appears to be missing is the "This Site" or "Other Site" delineators in the suggestions (below). These need to be optional ways of sorting the results in the search suggestions:
    Search Page Patterns 375

@designerbrent designerbrent linked an issue Feb 12, 2021 that may be closed by this pull request
@kelscahill
Copy link
Collaborator

@designerbrent This PR is ready for review!

It's been so long since I've worked on this project, so I can't recall what a staging link would be, but here are the links locally for review:

@designerbrent
Copy link
Collaborator

@kelscahill will the changes you made with the CSS and JS causing any breaking changes for older patterns that are still around?

@kelscahill
Copy link
Collaborator

@designerbrent There shouldn't be any breaking changes with the css and js.

designerbrent
designerbrent previously approved these changes Mar 18, 2021
@designerbrent
Copy link
Collaborator

@kelscahill With that, I'll approve it but I will merge it next week.

@designerbrent designerbrent merged commit 89085e9 into v3.x Apr 19, 2021
@designerbrent designerbrent deleted the v3.513-search-patterns branch August 2, 2021 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to the Search Patterns
3 participants