Skip to content

Universe package search should prioritize exact matches #626

Open
@Marcono1234

Description

@Marcono1234

Description

See for exampe https://typst.app/universe/search?q=touying

The exact match for the package "touying" is only shown further down on the page. The first results are all packages whose name start with "touying".

Expected behavior

When there is an exact package name match, that package should be shown first (unless there are name squatting concerns), especially if it is a 'Featured package' like it is the case for "touying".

Reproduction URL

No response

Browsers

Firefox, Microsoft Edge

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.universeAbout Typst Universe

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions