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

Patch/Bug fix for ContextMenuMouseListener Actions #161

Merged
merged 7 commits into from
Dec 9, 2023

Conversation

Undid-Iridium
Copy link

Category

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

  • a bug fix (Fix #...)
  • a new Ripper
  • a refactoring
  • a style change/fix
  • a new feature

Description

Fixes issue with copy/pasting. Fixes right click context menu. Fixes pasting >96 characters and the UI growing to that size.

FYI: I've never touched any of these libraries before so this is mostly googling/etc for the last few hours. I probably need to fix the junits (they run but I am not 100% convinced they do what I actually want).

My Branch
My Branch

Main
Main.

Testing

Required verification:

  • I've verified that there are no regressions in mvn test (there are no new failures or errors). -> gradle test, maven isn't used (Unless I am blind)
  • 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. (They're maybe ok..)

tasks.jacocoTestReport {
dependsOn(tasks.test) // tests are required to run before generating the report
reports {
xml.required.set(false)
csv.required.set(false)
html.outputLocation.set(file("${layout.buildDirectory}/jacocoHtml"))
Copy link
Author

Choose a reason for hiding this comment

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

Fixes (at least on windows) this build output during gradle test/testAll

// Use CompletableFuture to run setup() asynchronously
CompletableFuture<Void> setupFuture = CompletableFuture.runAsync(() -> {
try {
ripper.setup();
Copy link
Author

Choose a reason for hiding this comment

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

This test unit would take forever, and still fail on my machine. I didn't want to modify any behaviors other than just giving up after X time.

@soloturn soloturn merged commit 2e5ef70 into ripmeapp2:main Dec 9, 2023
@Tush-r Tush-r mentioned this pull request Sep 12, 2024
8 tasks
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