kill-clog: v1.3.2 internal panel refactor#11910
Open
420kc wants to merge 1 commit into
Open
Conversation
|
This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed. Internal use only: Reviewer details Maintainer details |
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.
v1.3.2 is an internal refactor only. Zero behavior change. No new features, no API changes, no settings changes, no visual changes.
The panel stopped being the plugin and became the place where the plugin happens.
What changed
KillClogPanel.javawas a 2926-line monolith. It's now 1867 lines (-36%), with each subsystem in a dedicated class.KillClogPanelLookupSessionComparisonControllerCellsActivitiesTrayPlus
FourTwentyModeenum gainedapplyOverrides(JLabel, int kc)so per-mode cell mutations live with the enum.Four cuts
What's deliberately NOT extracted (with reasons)
doLookup+setSearchStatus+selfSearchMessage: single-method primary search flow. Not a subsystem.buildSearchPanel,buildActivitiesGrid,buildCompareSearch): panels do layout.updateClogCell+ clog tier icons: clog-summary cell layout is panel-internal, tightly coupled to the info bar's clogInfoLabel.cycleFourTwentyMode,getCapeImage,has420Plugin): small, coherent, costs more glue than it removes.onActivate,shutdown,onConfigChanged,removeNotify): RuneLite contract.Why patch (1.3.2) not minor (1.4.0)
Internal refactor, zero behavior change. Strict semver says patch. v1.4.0 is reserved for the next user-visible feature bump (chat-command verb redesign, currently in design).
Verification
./gradlew buildpasses (checkstyle clean)./gradlew runlaunches RuneLite with the plugin sideloaded!kclog yamaPRIVATECHATOUT path still works (the v1.3.1 fix is preserved in the refactor)Branch chain
Built across 4 stacked branches, then snapshot-collapsed into 4 logical commits for clean review (one commit per cut). Original 46-commit chain preserved at tag
backup/refactor-cells-collapse-20260513in the source repo for archaeology.