Skip to content

refactor: extract groupTemplatesByCategory to template-store.js#200

Open
JuliaKalder wants to merge 1 commit into
mainfrom
fix/issue-123
Open

refactor: extract groupTemplatesByCategory to template-store.js#200
JuliaKalder wants to merge 1 commit into
mainfrom
fix/issue-123

Conversation

@JuliaKalder
Copy link
Copy Markdown
Owner

Summary

  • Add pure groupTemplatesByCategory(templates) to modules/template-store.js
  • Remove inline grouping algorithm from buildContextMenu in background.js
  • Returns { sortedCategories, byCategory, uncategorized }

Fixes #123

…emplate-store (#123)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

[LOW] groupTemplatesByCategory domain logic embedded inline in background.js buildContextMenu

1 participant