Skip to content

encoder: Allow resizing the input panel#7127

Merged
thc202 merged 1 commit intozaproxy:mainfrom
kingthorin:encoder-resize-input
Feb 25, 2026
Merged

encoder: Allow resizing the input panel#7127
thc202 merged 1 commit intozaproxy:mainfrom
kingthorin:encoder-resize-input

Conversation

@kingthorin
Copy link
Copy Markdown
Member

Overview

The encoder input text area (panel) was previously a percentage or proportion of the entire dialogs size. For larger input this wasn't always a convenient experience. This PR adds resizing to the input panel. Along with saving and restoring via the config.

@psiinon
Copy link
Copy Markdown
Member

psiinon commented Feb 11, 2026

Logo
Checkmarx One – Scan Summary & Detailsa1faaf51-08bd-42c9-bbe6-6b7c87cab382


New Issues (6) Checkmarx found the following issues in this Pull Request
# Severity Issue Source File / Package Checkmarx Insight
1 HIGH CVE-2026-26996 Npm-minimatch-3.1.2
detailsRecommended version: 3.1.3
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions prior to 3.1.3, 4.0.0 prior to 4.2...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
2 HIGH CVE-2026-26996 Npm-minimatch-9.0.5
detailsRecommended version: 9.0.6
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions prior to 3.1.3, 4.0.0 prior to 4.2...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
3 HIGH CVE-2026-26996 Npm-minimatch-5.1.6
detailsRecommended version: 5.1.7
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions prior to 3.1.3, 4.0.0 prior to 4.2...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
4 LOW Unpinned Actions Full Length Commit SHA /codeql.yml: 31
detailsPinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA help...
5 LOW Unpinned Actions Full Length Commit SHA /codeql.yml: 35
detailsPinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA help...
6 LOW Unpinned Actions Full Length Commit SHA /codeql.yml: 50
detailsPinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA help...

Use @Checkmarx to interact with Checkmarx PR Assistant.
Examples:
@Checkmarx how are you able to help me?
@Checkmarx rescan this PR

@kingthorin kingthorin force-pushed the encoder-resize-input branch 8 times, most recently from 5ba4377 to a48e6a6 Compare February 17, 2026 12:04
@kingthorin
Copy link
Copy Markdown
Member Author

I'm conflicted about which config file this should be in. Any advice?

@kingthorin
Copy link
Copy Markdown
Member Author

Decided the divider config should be saved in encoder config, along side tabs/panels for the dialog. That way all the GUI stuff is together.

Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncodeDecodeDialog.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncodeDecodeDialog.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncoderConfig.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncoderConfig.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncoderConfig.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/EncoderConfig.java Outdated
Comment thread addOns/encoder/src/main/java/org/zaproxy/addon/encoder/ExtensionEncoder.java Outdated
Comment thread addOns/encoder/src/test/java/org/zaproxy/addon/encoder/EncoderConfigUnitTest.java Outdated
Comment thread addOns/encoder/src/test/java/org/zaproxy/addon/encoder/EncoderConfigUnitTest.java Outdated
@kingthorin kingthorin force-pushed the encoder-resize-input branch 3 times, most recently from 9ddec58 to 634f256 Compare February 25, 2026 16:13
Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
@thc202 thc202 enabled auto-merge February 25, 2026 16:16
@thc202
Copy link
Copy Markdown
Member

thc202 commented Feb 25, 2026

Thank you!

@thc202 thc202 merged commit 7c497a9 into zaproxy:main Feb 25, 2026
9 of 11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 25, 2026
@kingthorin kingthorin deleted the encoder-resize-input branch February 25, 2026 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants