Skip to content

Feature: Universal search#29

Merged
dongri merged 4 commits into
dongri:mainfrom
SergeyChelak:feature/unversal_search
Mar 9, 2026
Merged

Feature: Universal search#29
dongri merged 4 commits into
dongri:mainfrom
SergeyChelak:feature/unversal_search

Conversation

@SergeyChelak

Copy link
Copy Markdown
Contributor

This PR optimizes the search experience by removing unnecessary mode toggling and improving UI responsiveness. The goal was to reduce cognitive load for the user and streamline the search workflow.

Key Changes:

  1. Unified Search Logic: Removed the search mode toggle. Since email addresses, SHA hashes, and commit messages are distinct data sets, the search now queries all predefined fields simultaneously.
  2. Performance Optimization: String conversion to lowercase is now performed once per commit set rather than repeatedly during the search execution.

UI Enhancements:

  1. Added a Clear button to the search field for quicker input resets.
  2. (Out of Scope): Removed an artificial delay that occurred before hiding the window when no repository was present.

Before
Screenshot 2026-03-09 at 23 21 23

After (empty field)
Screenshot 2026-03-09 at 23 44 45

After (search query is present)
Screenshot 2026-03-09 at 23 48 45

@dongri

dongri commented Mar 9, 2026

Copy link
Copy Markdown
Owner

LGTM

@dongri dongri merged commit 911016e into dongri:main Mar 9, 2026
@tagliala tagliala mentioned this pull request Mar 16, 2026
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.

2 participants