Feature/online midi#31
Open
damarasf wants to merge 13 commits into
Open
Conversation
- Introduced OnlineMidiView to allow users to discover MIDI tracks online. - Updated MainWindowViewModel to include OnlineMidiViewModel and handle navigation. - Added UI elements in MainWindow.xaml for navigating to the new Discover section. - Created OnlineMidi.xaml and OnlineMidi.cs for the new view, implementing search, sign-in, and track management functionalities. - Enhanced user experience with sorting and filtering options for MIDI tracks.
…n and debounce page navigation requests
- Cache remote images to optimize network and memory for thumbnails. - Improve scrolling performance of online track lists through UI virtualization. - Prevent endless paging when reaching the last available results. - Ensure UI state and results are updated only by the latest asynchronous operations.
The MidiShow service returns 403 Forbidden for multiple reasons, but previously, they were all treated as authentication failures. This often led to unnecessarily logging out users. Now, the error response body is analyzed to correctly classify the problem into one of three distinct types: - Temporarily disabled feature (server-side). - Account download limit or points requirement. - Genuine authentication failure. This ensures only true authentication problems clear the user's session, offering more precise feedback and avoiding pointless re-logins.
Introduces a pool of MidiShow accounts to improve download reliability and availability. Downloads now rotate through configured accounts and automatically fail over when one hits a download limit or is flagged for unusual activity. - Persists multiple password- or cookie-based accounts. - Allows adding accounts using raw browser cookies to bypass sign-in issues. - Migrates existing single-account logins to the new pool. - Displays account health, status, and cooldowns in the interface. - Provides options to export live session cookies for an account.
Show account addition errors directly within the flyout, as the snackbar can be obscured. A loading spinner on the button now indicates progress, replacing the general busy overlay. This provides clearer, localized feedback for the user.
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.
A new Discover page sourced from MidiShow, integrated into the main navigation: