Add inventory exclude filter (keep items from being dumped to stash) - #10
Open
greenbrad wants to merge 1 commit into
Open
Add inventory exclude filter (keep items from being dumped to stash)#10greenbrad wants to merge 1 commit into
greenbrad wants to merge 1 commit into
Conversation
Adds a text box window next to the inventory that keeps matching items from being dumped to the stash: - Terms are matched case-insensitively against the item metadata path and RenderName (some items have no render name) - Press Enter to save a term; saved terms show as click-to-remove chips and collapse into a popout when there are more than 2 - Matching items are highlighted with a configurable colored frame (color picker in the window and in settings, gold by default) - Hovering a highlighted item shows its metadata path as a tooltip, with a configurable X/Y offset - Toggles to hide the highlight frame and the tooltip (exclusion still applies) - Saved terms and settings persist across restarts Also extracts the duplicated item frame drawing into a DrawItemFrame helper. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Adds a small window next to the inventory panel with a text box that keeps matching items from being dumped to the stash via the dump button or hotkeys.
Features
RenderName(some items have no render name, so metadata is the primary key)Filters (N)popout when there are more than 2 (same UX as MapNotify's search bar)Refactor
DrawItemFramehelper🤖 Generated with Claude Code