Skip to content

Conversation

@latonv
Copy link
Contributor

@latonv latonv commented Nov 6, 2025

Currently the option to specify a custom heading atop the results is gated by the showSmartResults property. However, we would like to be able to customize this heading independent of whether the smart results layout is being used.

This PR instead exposes a results-heading named slot regardless of the showSmartResults flag, to replace the old resultsHeader property.

Two CSS vars related to spacing around the header and upper facet area are also exposed to allow customizing & aligning the header as needed.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-11-13 22:31 UTC

@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.65%. Comparing base (4b92861) to head (b0a0e85).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #507      +/-   ##
==========================================
- Coverage   92.66%   92.65%   -0.01%     
==========================================
  Files         112      112              
  Lines       18844    18840       -4     
  Branches     1474     1470       -4     
==========================================
- Hits        17461    17457       -4     
  Misses       1312     1312              
  Partials       71       71              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@latonv latonv force-pushed the webdev7818-search-beta-header-slots branch from 8735480 to 928ea59 Compare November 13, 2025 22:25
@latonv latonv merged commit 427c536 into main Nov 13, 2025
4 checks passed
@latonv latonv deleted the webdev7818-search-beta-header-slots branch November 13, 2025 22:31
@latonv latonv mentioned this pull request Nov 13, 2025
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