Skip to content

Coveo: Implement param for left-aligned input on search page #275

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TasoOneAsia
Copy link
Member

@TasoOneAsia TasoOneAsia commented Jun 6, 2025

Proposed changes

This PR allows for theme consumers to add a search input directly to the search page; allowing for usage in cases where there isn't one present in the nav/header.

An example of the param usage was added to the exampleSite and resembles the following surface:

search.md

params:
  searchOnPage: true

When not supplying the page param, previous page behavior and layout is preserved.

searchOnPage Param Toggled (Theme Consumer)

CleanShot 2025-06-06 at 13 07 06

searchOnPage Param Toggled Off (Example Site)

CleanShot 2025-06-06 at 13 09 01

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md and CHANGELOG.md)

@TasoOneAsia TasoOneAsia requested a review from a team as a code owner June 6, 2025 17:11
Copy link

github-actions bot commented Jun 6, 2025

Deploy Preview will be available once build job completes!

Name Link
😎 Deploy Preview https://frontdoor-test-docs.nginx.com/previews/nginx-hugo-theme/275/

Copy link

github-actions bot commented Jun 6, 2025

Playwright visual snapshot differences were detected.

View the Playwright report
To approve the snapshot changes and update the snapshots, please comment: /approve-snapshots

@TasoOneAsia
Copy link
Member Author

/approve-snapshots

Copy link

github-actions bot commented Jun 9, 2025

Updating snapshots. Click here to see the status.

Copy link

github-actions bot commented Jun 9, 2025

Please download the artifacts here and commit your updated screenshots.

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.

3 participants