Skip to content

Consolidate RedHerb's NeoWikiGetFrontendModules handlers#810

Merged
malberts merged 1 commit intomasterfrom
consolidate-redherb-frontend-modules-hook
May 5, 2026
Merged

Consolidate RedHerb's NeoWikiGetFrontendModules handlers#810
malberts merged 1 commit intomasterfrom
consolidate-redherb-frontend-modules-hook

Conversation

@malberts
Copy link
Copy Markdown
Contributor

@malberts malberts commented May 5, 2026

Follows-up to #780 and #781

RedHerb had two classes implementing NeoWikiGetFrontendModulesHook:
RedHerbFrontendHook (added with the Color frontend) and
RedHerbFrontendModulesHook (added later with the sidebar dialogs). The
split was incidental — a later PR added a new file instead of editing
the existing one — and there's no functional reason for two classes
when one handler can append all three modules.

Merge the body of RedHerbFrontendHook into RedHerbFrontendModulesHook
and remove the redundant class and its extension.json registration. No
behavior change.

RedHerb had two classes implementing NeoWikiGetFrontendModulesHook:
RedHerbFrontendHook (added with the Color frontend) and
RedHerbFrontendModulesHook (added later with the sidebar dialogs). The
split was incidental — a later PR added a new file instead of editing
the existing one — and there's no functional reason for two classes
when one handler can append all three modules.

Merge the body of RedHerbFrontendHook into RedHerbFrontendModulesHook
and remove the redundant class and its extension.json registration. No
behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@malberts malberts marked this pull request as ready for review May 5, 2026 12:10
@malberts malberts merged commit b41eb64 into master May 5, 2026
6 checks passed
@malberts malberts deleted the consolidate-redherb-frontend-modules-hook branch May 5, 2026 12:11
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.

1 participant