Upgrade to local-first Gmail plus alias manager#17
Open
hoangsvit wants to merge 1 commit into
Open
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
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.
Motivation
Description
src/types/alias.tsandsrc/types/settings.ts, and a local storage schema withSTORAGE_KEYSand migration helpers insrc/utils/storage.ts.src/utils/domain.ts, and auto-category detection insrc/utils/categoryDetector.ts.src/utils/aliasGenerator.tswithsplitEmail,sanitizeAliasTag,buildPlusAlias, andgenerateAliasSuggestions(domain, category-domain, domain-date, domain-random, optional purpose).src/utils/autofill.tsand wired content script to use it inentrypoints/content.ts.src/utils/gmailFilter.tsand alias quality scoring insrc/utils/qualityScore.tswith the mandatory privacy warning that plus aliases do not hide the real address.src/utils/date.tsandsrc/utils/random.tsand storage operations insrc/utils/storage.ts(save, touch, update status, delete, migrate) that store everything inchrome.storage.local.entrypoints/popup/App.tsx+entrypoints/popup/App.css) into a website-aware popup with current-site detection, manual mode, suggested aliases, previous-alias display, Save/Copy/Autofill actions, dashboard view, settings view, dark mode via CSS variables, import/export JSON and CSV, Gmail filter helper, status flags, and toasts.entrypoints/background.ts) to support right-click actions: insert suggested alias, copy suggested alias, use previous alias, and generate random alias while preserving legacy history badge behavior.fillEmailmessage (now handled alongsideautofillAlias).wxt.config.tsandpackage.jsonto reflect the new product positioning and to add minimal necessary permissions (storage,tabs,activeTab,clipboardWrite,contextMenus).Testing
yarn compile(runstsc --noEmit) passed in this environment.yarn buildcould not be executed here because the WXT binary was not available in the environment (command not found: wxt), so a full extension bundle was not produced here (environment limitation).yarn installcould not fully restore network dependencies in this environment due to package fetch HTTP 403 responses, so dependency fetch failed and prevented running the fullwxtbuild locally in CI for this run.lintinpackage.jsonin this environment; manual code fixes were applied untiltscpassed.Codex Task