Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive import #34

Merged
merged 89 commits into from
Oct 4, 2024
Merged

Interactive import #34

merged 89 commits into from
Oct 4, 2024

Conversation

pSpitzner
Copy link
Owner

This adds an interactive import screen with rich html preview of candidates

pSpitzner and others added 30 commits August 5, 2024 00:43
added a bunch of typing for beets AlbumInfo, TrackInfo and managed (poorly) to serialize them.
…tarting new session.

added types to frontend. candidates and prompts communication works, with some rough edges.
the websocket routes into their own folder (Terminal and Importer).

Added a text input to define the path of the import, for debugging.

No output in frontend thus far, but connection and init seems to work.
Front-end needs fixing according to new types tho. Also status updates
are not reimplemented yet.
pSpitzner and others added 29 commits September 20, 2024 20:37
- Added abort session ws endpoint
- added more details to status messages, fully typed now
- added abort button in frontend depending on current state
- fixed issues with initial state set by clients, this produces a deadlock
 if multiple clients are connected and all want to reset the candidate
WIP: Apply button still needs some work i.e. it is broken atm and does
not work, also styling of the apply btn is not too nice.
…status

but then realized we likely dont need it yet.
Layout should be more streamlined for the (common) case that we only import one selection.
I'd group all buttons at the end (check length of the selectionstates
to either place apply+abort outside, or inline with duplicate and search)
…viour together.

(currently scroll only takes place on inner container, which looks weird.
i think we need a helper css to get limited-width for wide windows to avoid the nested containers!)
…rminalcontext

is not global anymore. any ideas for workarounds?
Library-Search still needs work.
And Search and Library List views seem a bit broken for me currently - no items showing.
(sporadically)
Maybe since MUI upgrade?
useQueryParamsState hook.
Updated tanstack to latest version.
@pSpitzner pSpitzner merged commit 3370514 into main Oct 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants