Skip to content

Add a ScrollView to hold the list of supported sites in the About dialog (Fixes #2104)#2114

Merged
metaprime merged 5 commits intomainfrom
about-scroll-pane
Apr 18, 2025
Merged

Add a ScrollView to hold the list of supported sites in the About dialog (Fixes #2104)#2114
metaprime merged 5 commits intomainfrom
about-scroll-pane

Conversation

@metaprime
Copy link
Copy Markdown
Contributor

Category

This change is exactly one of the following (please change [ ] to [x]) to indicate which:

Description

The "about" dialog accessible from the system tray icon had too much content without a scrollview that made the dialog too tall. This changes it so that the long list of sites supported is inside of a scrollview.

Testing

Required verification:

  • I've verified that there are no regressions in gradlew test (there are no new failures or errors).
  • I've verified that this change works as intended.
    • Downloads all relevant content.
    • Downloads content from multiple pages (as necessary or appropriate).
    • Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.
  • I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

  • I've added a unit test to cover my change.

@metaprime
Copy link
Copy Markdown
Contributor Author

image

@metaprime metaprime requested a review from Copilot April 18, 2025 01:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue with the About dialog by embedding the long list of supported sites into a scrollable view, avoiding an overly tall dialog.

  • Replaces the static HTML content with a JTextArea populated from album and video rippers.
  • Introduces a JScrollPane with a fixed preferred size and ensures it scrolls to the top on display.

@metaprime metaprime merged commit f480583 into main Apr 18, 2025
8 checks passed
@metaprime metaprime deleted the about-scroll-pane branch April 18, 2025 04:54
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.

About screen overflows screen

2 participants