Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

LukasHirt
Copy link
Collaborator

Description

We've replaced the "Title only" search filter pill with a toggle between "Title Only" and "Full Text Search". This change should improve the user experience as it's easier to understand the toggle.

Motivation and Context

Better UX.

How Has This Been Tested?

  • test environment: macos, chrome
  • test case 1: open search by typing a search term and hitting enter
  • test case 2: switch between search modes

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@LukasHirt LukasHirt requested review from Copilot and mzner August 14, 2025 08:12
@LukasHirt LukasHirt self-assigned this Aug 14, 2025
@LukasHirt LukasHirt added the Category:Enhancement Add new functionality label Aug 14, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR replaces the "Title only" search filter pill with a toggle between "Title Only" and "Full Text Search" to improve user experience by making the search options clearer and more intuitive.

Key changes:

  • Changed from a toggle button component to an inline filter component with two explicit options
  • Added proper translation strings for both search modes using $pgettext
  • Updated URL parameter handling to support the new filter structure

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/web-app-search/src/portals/SearchBar.vue Added URL parameter handling for full text search state
packages/web-app-files/src/components/Search/List.vue Replaced toggle component with inline filter and added search scope options
changelog/unreleased/enhancement-use-switch-for-full-text-search-filter.md Added changelog entry documenting the enhancement

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@LukasHirt LukasHirt force-pushed the feat/replace-title-only-pill-with-toggle branch from 2bce3b7 to 9537f01 Compare August 14, 2025 08:13
@LukasHirt
Copy link
Collaborator Author

@mmattel we'll need to update the EN string for the "Title only" to change it into "Title Only". Have you got permissions in transifex to do EN translations?

@LukasHirt LukasHirt enabled auto-merge August 14, 2025 08:23
We've replaced the "Title only" search filter pill with a toggle between "Title Only" and "Full Text Search".
This change should improve the user experience as it's easier to understand the toggle.
@LukasHirt LukasHirt force-pushed the feat/replace-title-only-pill-with-toggle branch from 9537f01 to cdab204 Compare August 14, 2025 08:56
Copy link

@LukasHirt LukasHirt merged commit c50433d into master Aug 14, 2025
4 checks passed
@LukasHirt LukasHirt deleted the feat/replace-title-only-pill-with-toggle branch August 14, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category:Enhancement Add new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants