Skip to content

Rewrite extension for Manifest V3, add test coverage - #24

Merged
Paperfeed merged 24 commits into
masterfrom
rewrite
Aug 4, 2026
Merged

Rewrite extension for Manifest V3, add test coverage#24
Paperfeed merged 24 commits into
masterfrom
rewrite

Conversation

@Paperfeed

Copy link
Copy Markdown
Owner
## Summary

This pull request introduces a comprehensive rewrite of the browser extension to support Manifest V3. Significant updates include theming support, improved dictionary parsing, migration to WXT and pnpm, and the addition of TailwindCSS for improved styling. The project structure has been refactored, transitioning from a class-based approach to a functional paradigm, and the inclusion of a global store enhances communication between background and content scripts. 

Additional features include:
- A rebuilt popup, options page, and dictionary runtime.
- Enhanced options page controls with color pickers.
- Regression test coverage for extension flows.
- Improved keybinding handling and hovering interaction in the popup.

## Changes in this PR
- Migrates extension to Manifest V3.
- Rebuilds core components: popup, options page, and dictionary runtime.
- Introduces theming and TailwindCSS integration.
- Refactors the project into a functional programming design.
- Enhances project configuration with WXT 0.21 and pnpm for future deployment to firefox
- Expands test coverage and fixes minor bugs related to dictionary entry parsing and key handling.

Paperfeed and others added 24 commits September 5, 2018 16:53
Using gulp to create new builds automatically and setup jest for unit
testing. Using Babel for ES6 features.

New features in pipeline:
Resizable font
Cantonese support (With thanks to jckt)
Flash card support
Distribution build with webpack.

Popup functionality moved to popup class, same with omnibox/fuzzysearch
and browser APIs. Switched Chrome promise library (for async/await
functionality).

Changed project structure.
…ely messy atm. Need to commit, so I can travel)
Add options page
Add initial theming support
Add keybinding handler
Initial rewrite of class based approach to functional one
Split files
Expand logger
Fix popup on hover (wasn't showing up before)
Add global store for background and content script

and much more
@Paperfeed
Paperfeed merged commit b36c8d2 into master Aug 4, 2026
1 check passed
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