Find in Library; non-modal drawers (click a mod behind to switch) - #143
Merged
Conversation
…switch) Closes #142. - Find in Library: the reverse of the library's Find-in-Browse. An installed mod's Browse card (its source bar) and detail drawer now offer "Find in Library", which switches to the Library, seeds the search, and opens that mod's drawer. Wired App.openInLibrary -> ModBrowser -> ModCard/BrowseDrawer. - Non-modal drawers: the Browse drawer's backdrop was a click-blocking dim, so clicking a card behind it just closed the drawer. It's now pointer-events:none (lighter dim) so the grid stays clickable — clicking another card switches the drawer to that mod. The Library drawer's backdrop was already inert, so its tiles already switched it. Added Escape-to-close to both drawers since click-away no longer closes (ModDetail's Escape closes the full-desc modal first if open). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Merged
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.
Closes #142.
Find in Library (reverse of Find in Browse)
An installed mod's Browse card (source bar) and detail drawer now show ⌕ Find in Library, which switches to the Library, seeds the search, and opens that mod's drawer. Wired
App.openInLibrary→ ModBrowser → ModCard / BrowseDrawer, mirroring the existing Library→Browse path.Clickable mods behind an open drawer
The Browse drawer's backdrop was a click-blocking dim, so clicking a card behind the drawer just closed it. It's now
pointer-events: none(with a lighter dim) so the grid stays interactive — clicking another card switches the drawer to that mod. The Library drawer's backdrop was already inert (its tiles already switched the drawer). Since click-away no longer closes, added Escape-to-close to both drawers (ModDetail's Escape closes the full-description modal first when it's open).svelte-check 0/0, build clean. Frontend-only.