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

custompayloads: SAST Fixes (SonarLint), Options panel help, & drop ID #5853

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kingthorin
Copy link
Member

@kingthorin kingthorin commented Oct 28, 2024

Overview

  • AbstractColumnDialog > Use List interface vs ArrayList.
  • Column > Reduce visibility.
  • CustomPayload > Remove ID and related handling.
  • CustomPayloadColumns > Add private constructor to hide implicit one. Remove ID and related handling.
  • CustomPayloadMultipleOptionsTableModel > Use List interface vs ArrayList for params. Remove ID and related handling.
  • CustomPayloadsCategoryColumn > Make getExtension static.
  • CustomPayloadsMultipleOptionsTablePanel > Make showDialog static. Remove ID and related handling.
  • CustomPayloadsParam > Remove ID and related handling.
  • EditableColumn > Reduce visibility.
  • EditableSelectColumn > Reduce visibility, adjust method naming to proper Java camelCase.
  • CustomPayloadsApiUnitTest > Remove unused param API.RequestType, and pointless declared throw on shouldHavePrefix.
  • Messages.properties > Remove no longer needed ID key value pair.
  • CHANGELOG > Already has a maint note, added a note about the Options panel help button, and one about ID.
  • CustomPayloadsOptionsPanel > Added overridden getHelpIndex method.
  • Help files > Updated to include more detailed info about the functionality.

Related Issues

N/A

Checklist

  • [na] Update help
  • Update changelog
  • Run ./gradlew spotlessApply for code formatting
  • [na] Write tests
  • [na] Check code coverage
  • Sign-off commits
  • Squash commits
  • Use a descriptive title

@kingthorin kingthorin force-pushed the custom-payloads-promo branch 2 times, most recently from a09983f to 6af463c Compare October 28, 2024 17:52
@kingthorin kingthorin force-pushed the custom-payloads-promo branch from 6af463c to bbc4498 Compare October 28, 2024 17:55
@kingthorin kingthorin force-pushed the custom-payloads-promo branch 4 times, most recently from e1ca808 to 07bf6e3 Compare October 28, 2024 18:01
@kingthorin kingthorin force-pushed the custom-payloads-promo branch from 07bf6e3 to 8f07845 Compare October 28, 2024 22:57
@kingthorin
Copy link
Member Author

I will go through the supporting rules/add-ons and ensure the related category strings are documented clearly. (In a separate PR.)

@kingthorin kingthorin force-pushed the custom-payloads-promo branch 2 times, most recently from 8adde25 to 198e62e Compare October 30, 2024 11:25
@thc202
Copy link
Member

thc202 commented Nov 7, 2024

If the ID does not serve any purpose(?) we should completely remove it instead of just removing the column.

@kingthorin
Copy link
Member Author

kingthorin commented Nov 7, 2024

I didn't dig into it. I just figured it didn't need to waste screen space in that one view. Can we leave removal for another PR? (After checking and discussing.)

@thc202
Copy link
Member

thc202 commented Nov 7, 2024

I did.

@kingthorin
Copy link
Member Author

Okay 😀 I'll drop it.

@kingthorin kingthorin added the waiting-for:pr-author This PR is currently waiting for input or changes from the original submitter label Nov 8, 2024
@kingthorin kingthorin force-pushed the custom-payloads-promo branch from 198e62e to 543e76b Compare November 11, 2024 18:38
@kingthorin kingthorin removed the waiting-for:pr-author This PR is currently waiting for input or changes from the original submitter label Nov 11, 2024
@kingthorin kingthorin changed the title custompayloads: SAST Fixes (SonarLint) & Options panel help button custompayloads: SAST Fixes (SonarLint), Options panel help, & drop ID Nov 11, 2024
@kingthorin
Copy link
Member Author

Now with ID column removed.

@kingthorin
Copy link
Member Author

Bump

- AbstractColumnDialog > Use List interface vs ArrayList.
- Column > Reduce visibility.
- CustomPayload > Remove ID and related handling.
- CustomPayloadColumns > Add private constructor to hide implicit one.
Remove ID and related handling.
- CustomPayloadMultipleOptionsTableModel > Use List interface vs
ArrayList for params. Remove ID and related handling.
- CustomPayloadsCategoryColumn > Make getExtension static.
- CustomPayloadsMultipleOptionsTablePanel > Make showDialog static.
Remove ID and related handling.
- CustomPayloadsParam > Remove ID and related handling.
- EditableColumn > Reduce visibility.
- EditableSelectColumn > Reduce visibility, adjust method naming to
proper Java camelCase.
- CustomPayloadsApiUnitTest > Remove unused param API.RequestType, and
pointless declared throw on shouldHavePrefix.
- Messages.properties > Remove no longer needed ID key value pair.

- CHANGELOG > Already has a maint note, added a note about the Options
panel help button, and one about ID.
- CustomPayloadsOptionsPanel > Added overridden getHelpIndex method.

- Help files > Updated to include more detailed info about the
functionality.

Signed-off-by: kingthorin <[email protected]>
@kingthorin kingthorin force-pushed the custom-payloads-promo branch from 543e76b to 0b27e4f Compare December 12, 2024 21:48
@psiinon

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants