Skip to content

Show Perfectly Matched Problem When Searching by Problem ID #965

Open
@dabuside

Description

@dabuside

🚀 Feature Proposal

When a user types the problem ID number "21" in the search bar, the result panel doesn't show the exact problem ID 21 on the first page.

This behavior is a bit strange.

The system should display the perfectly matched problem when searching by problem ID.

search
Currently, the user needs to type 21. to get the exact problem in the result panel.

Motivation

  1. When the user's input is a number, display the exact match first, followed by fuzzy match results.
  2. When the user's input is not a number, keep the current behavior.

Contribution

I'd like to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions