Add Advanced Search Overlay with Category Filters and Fuzzy Matching#2
Closed
Copilot wants to merge 2 commits into
Closed
Add Advanced Search Overlay with Category Filters and Fuzzy Matching#2Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Co-authored-by: paysonism <79509967+paysonism@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add advanced search overlay for Neptune SDK browser
Add Advanced Search Overlay with Category Filters and Fuzzy Matching
Nov 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a modal-based global search system for comprehensive queries across classes and members with ranked results, category toggles, type search mode, and fuzzy fallback.
Core Implementation
Search Engine (
Latest/advanced-search.js)classIndex(name/lowercase),memberIndex(className/name/type/offset with lowercase variants)UI Components (
Latest/index.html)Ctrl+Kshortcut adjacent toTopSearchInputNavigation
SelectClass(name)Integration (
Latest/loader.js)Styling (
Latest/styles.css)Dark theme overlay with
backdrop-filter: blur(12px), gradient borders, highlight spans (<span class="ASHighlight">), disabled checkbox states. Prevents body scroll when open.Example Usage
Type Search Mode: Query
AFortWeapon*returns members where type field matches (not name)Offset Search:
0x990prioritizes exact hex matches in member offsetsFuzzy:
AFortPlayrPawnsuggestsAFortPlayerPawnvia approximate matchingScreenshots
Advanced Search Button

Search Overlay in Action

Preserved Behavior
Existing
GlobalSearchDropdownand sidebar class filter remain unchanged and functional.Original prompt
Advanced Global Search Overlay for Neptune SDK Browser
Goal
Implement an "Advanced Search" feature similar to the Dumpspace global search panel while preserving the existing sidebar class filter and the current lightweight top search behavior. The new system should allow users to open a modal/overlay from the top-right search bar area and perform a comprehensive search across classes and members (and be extensible for functions/enums later) with category toggles, an optional "Type Search" mode, and better ranked results.
Scope
Add a modal overlay triggered by a button (or icon) adjacent to the existing TopSearchInput in
Latest/index.html. The overlay should:SelectClass(name)logic).Implementation Plan
1. HTML Additions (Latest/index.html)
2. CSS (Latest/styles.css)
Add styles for overlay, panel, filters, results items, highlight spans, status footer. Ensure dark theme consistent with existing variables. Provide transitions and use
backdrop-filterwhere available.3. JS Organization
Create new file:
Latest/advanced-search.js.Responsibilities:
sdk_data.jsonis loaded (hook into existing initialization; ifwindow.Classesalready exists, run immediately).classIndex: array of{name, lower}memberIndex: array of{className, name, lower, type, typeLower, offset, offsetLower}namevstype) depending on Type Search checkbox.focusedIndex; arrow keys cycle; Enter triggers navigation.<span class="ASHighlight">...</span>.SelectClass(name).SelectClass(className)then apply a t...This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.