Skip to content

feat: Centralized search corpus and search providers - #908

Merged
Wyvest merged 25 commits into
Polyfrost:v1from
DeDiamondPro:feat/search-providers
Aug 7, 2026
Merged

feat: Centralized search corpus and search providers#908
Wyvest merged 25 commits into
Polyfrost:v1from
DeDiamondPro:feat/search-providers

Conversation

@DeDiamondPro

@DeDiamondPro DeDiamondPro commented Aug 4, 2026

Copy link
Copy Markdown
Member

Description

This PR adds the following things:

  • Centralized search corpus, has all options that are searchable (options, mods, keybinds, hud) and their metadata, allows SmartSearch to easily index all options.
  • Search provider system, allows OneConfig to easily switch to and back SmartSearch (and other search providers in the future)
  • Compat layer ids are now stable (stay the same across restart), this is required for SmartSearch to be able to use these for indexes.

Also some small QOL things:

  • When searching you now automatically scroll back to the top
  • Category/subcategory of an option is displayed in global search
  • Added description to OneConfig's mod data collection
  • Search is ran asynchronously so searching a lot of options doesn't hang the render thread

Additionally I fixed an issue where on composition failure the GUI freezes instead of gracefully recovering on the next frame.

@Wyvest Wyvest moved this to Backlog in OneConfig Aug 4, 2026
@DeDiamondPro DeDiamondPro changed the title Centralized search corpus and search providers feat: Centralized search corpus and search providers Aug 6, 2026
@DeDiamondPro
DeDiamondPro marked this pull request as ready for review August 6, 2026 16:33
DeDiamondPro and others added 9 commits August 6, 2026 18:41
# Conflicts:
#	modules/hud/src/main/kotlin/org/polyfrost/oneconfig/api/hud/v1/HudManager.kt
#	modules/internal/src/main/kotlin/org/polyfrost/oneconfig/internal/ui/hud/BuiltinHudConfig.kt
#	modules/internal/src/main/kotlin/org/polyfrost/oneconfig/internal/ui/hud/screens/HudDesignStudio.kt
# Conflicts:
#	modules/internal/src/main/kotlin/org/polyfrost/oneconfig/internal/ui/screens/SearchResultsScreen.kt
@Wyvest
Wyvest merged commit 707e92d into Polyfrost:v1 Aug 7, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OneConfig Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants