Problem/Motivation

The search Category facet lists every category, so the filter rail grows long and pushes Content Type and Date Published far down the page.

Steps to reproduce

  1. Install The Rightup.
  2. Open /search?keywords=the.
  3. The Category facet shows all of its items.

Proposed resolution

  • Set the Category facet's soft limit to 8, with "Show more" and "Show less" links.

Remaining tasks

  • ✅ File an issue
  • ❌ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ❌ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • The Category facet shows 8 items, with Show more and Show less.

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • The search Category facet shows its first 8 items, with Show more and Show less.

AI-Generated: Yes. Drafted with an AI assistant and reviewed before posting.

Issue fork rightup-3631173

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 13cb57f3 on 1.0.x
    feat: #3631173 Show the first 8 Category facet items, with Show more and...
rajab natshah’s picture

Status: Needs review » Fixed
Issue tags: +rightup-1.0.6

✅ Released rightup-1.0.6

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.