Folder View mode for browsing - #7030
Open
m6man wants to merge 1 commit into
Open
Conversation
m6man
marked this pull request as draft
June 13, 2026 00:23
m6man
marked this pull request as ready for review
June 13, 2026 00:25
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.
Fixes #1586
Description
adds a folder view / browser for scenes and images (no zip support yet).
Related Issue
#1586
Testing
Screenshots
"before" doesn't really apply, but here are some implementation screenshots:
Checklist
AI Usage Disclosure
i used AI to help me set up the dev environment and for the initial implementation. i reviewed all changes, made edits to increase the code quality and simplify the code (especially for the frontend), tested it, fixed all issues i found, and also made sure build and make validate run without errors (i've read all .md files in docs/). for context i'm a working software dev, but only in typescript and php, not golang. luckily this feature barely needed backend changes.
Additional Context
if there are any suggestions for improving the code, like re-using existing code i didn't find or otherwise, i'd really appreciate it!
things i deliberately left out of this PR to keep review simpler, and because its my first PR + im new to Golang:
SceneCardGridbut just has a no-op foronSelectChange, i.e. checkboxes on hover dont do anything)onPreview, clicking navigates to the image route)misc notes:
dataStatewould enable type-narrowing onresult(i.e. if error and loading is handled,.datawon't be possibly undefined anymore for TypeScript). this is a base-line feature of tanstack query (formerly react query).scripts/test_db_generator/makeTestDB.gowhich appears to be very abandoned and broken. luckily the setup without it is very easy (just like in production), but i think a file like this should either be fixed or deleted.