Skip to content

v1.2.1#46

Open
hoangsvit wants to merge 61 commits into
mainfrom
dev
Open

v1.2.1#46
hoangsvit wants to merge 61 commits into
mainfrom
dev

Conversation

@hoangsvit

@hoangsvit hoangsvit commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Type of Change

  • Bug fix
  • New feature
  • UI / UX update
  • Translation / i18n update
  • Refactor
  • Tests
  • Build / CI / release
  • Documentation

Areas Touched

  • Popup alias generator
  • Settings
  • Account management
  • Alias history / favorites / statistics
  • Gmail tricks
  • Context menu / background logic
  • Browser extension manifest / permissions
  • Other:

Testing

  • yarn compile
  • yarn test
  • yarn build
  • Loaded the extension locally and tested the changed flow
  • Tested light and dark mode, if UI changed
  • Checked translations, if user-facing text changed

Screenshots or Recording

Notes for Reviewers

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@eplus-bot

Copy link
Copy Markdown
Contributor

Thank you for creating this pull request and helping make the project better.

We will review / merge it when we are online.

@eplus-bot eplus-bot added needs-review Pull request is ready for maintainer review app Application or extension source code ui User interface or visual changes i18n Translation or localization changes build-ci Build, CI, release, or project configuration labels Jul 8, 2026
@eplus-bot eplus-bot self-requested a review July 8, 2026 04:53
This commit fixes the style issues introduced in 3af6702 according to the output
from Prettier.

Details: #46
@deepsource-io

deepsource-io Bot commented Jul 8, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in d1adeda...b9a4e4b on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Jul 13, 2026 1:30p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@eplus-bot eplus-bot added the documentation Improvements or additions to documentation label Jul 8, 2026
deepsource-autofix Bot and others added 2 commits July 8, 2026 06:37
This commit fixes the style issues introduced in 6fd628d according to the output
from Prettier.

Details: #46
eplus-bot
eplus-bot previously approved these changes Jul 8, 2026

@eplus-bot eplus-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by @eplus-bot after all pull request checks passed.

CI run: https://github.com/ePlus-DEV/gmail-alias-toolkit/actions/runs/28922855339

@eplus-bot

eplus-bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

CI passed

Approved by @eplus-bot after all pull request checks passed.

Approval refresh: #5
CI updated: 2026-07-13T13:30:39Z
CI attempt: #1
Approval workflow: #114.1

CI run: https://github.com/ePlus-DEV/gmail-alias-toolkit/actions/runs/29253990484

Comment thread entrypoints/content/index.ts Fixed
deepsource-autofix Bot and others added 15 commits July 9, 2026 06:47
This commit fixes the style issues introduced in c5be959 according to the output
from Prettier.

Details: #46
The wrapper container was missing width: 100% and box-sizing: border-box,
causing the layout to be narrower than the original input. Now the wrapper
properly fills the available width, maintaining the original layout.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The wrapper container needs flex: 1 and minWidth: 0 to behave like a flex
child of its parent, ensuring it expands to fill available space like the
original input did. This preserves the layout width on form fields.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Before wrapping the input, capture its computed flex and width styles.
Apply those same properties to the wrapper container so it behaves
exactly like the original input in its parent context. This ensures
proper layout width is preserved regardless of parent flex settings.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Instead of wrapping the input in a flex container, use absolute positioning
to place the icon next to it. This preserves the input's original layout
completely - no DOM structure changes, no flex/width property modifications.

The icon is positioned absolutely relative to the parent, which gets
position: relative applied if needed. Input gets right padding to prevent
overlap with the icon.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
History tab now displays all aliases from all websites, sorted by
timestamp (most recent first). Removed the per-website filtering so
users can see their complete alias history in one place.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…ency

Added a subtle border and background to the icon container to match the
input field styling. The icon now appears framed within a 28x28px bordered
box, creating a cohesive visual design that integrates better with the
input field.

Changes:
- Border: 1px solid #e5e7eb
- Background: rgba(255, 255, 255, 0.5)
- Border radius: 4px
- Adjusted icon size to 18px and padding to 40px

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- JS-0066: Use Boolean() instead of !! for type conversion
- JS-0331: Remove trivial type annotation from format parameter

Remaining: JS-R1005 (high cyclomatic complexity in background.ts context
menu handler) can be refactored in a follow-up to break into smaller
functions.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…te scripting'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit fixes the style issues introduced in f02f125 according to the output
from Prettier.

Details: #46
Resolves JS-D1001 DeepSource warning by adding documentation comment.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Extract email generation logic into three helper functions:
- generateRandomTag(): handles random format generation
- handleWebsiteSuggestion(): fetches cached suggestions
- generateEmail(): routes to appropriate email generation based on menu item

This reduces the main event handler from 26 complexity branches to 5,
making the code more maintainable and testable.

Resolves JS-R1005 DeepSource warning.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit fixes the style issues introduced in c3c790c according to the output
from Prettier.

Details: #46
eplus-bot
eplus-bot previously approved these changes Jul 13, 2026

@eplus-bot eplus-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by @eplus-bot after all pull request checks passed.

CI run: https://github.com/ePlus-DEV/gmail-alias-toolkit/actions/runs/29229601919

Changed History tab to read from gmail_alias_recent_{email} (actual account
history) instead of website_aliases (website-specific mappings). This shows
the actual recent aliases used by the user, sorted by timestamp.

The history key format matches the background.ts and popup App.tsx pattern:
gmail_alias_recent_{encodeURIComponent(email.toLowerCase())}

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The generateEmail function doesn't use any await expressions, so it
doesn't need to be async. Removed async keyword and Promise wrapper.

Resolves JS-0116 DeepSource warning.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
eplus-bot
eplus-bot previously approved these changes Jul 13, 2026

@eplus-bot eplus-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by @eplus-bot after all pull request checks passed.

CI run: https://github.com/ePlus-DEV/gmail-alias-toolkit/actions/runs/29233548755

@eplus-bot eplus-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by @eplus-bot after all pull request checks passed.

CI run: https://github.com/ePlus-DEV/gmail-alias-toolkit/actions/runs/29253990484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app Application or extension source code build-ci Build, CI, release, or project configuration documentation Improvements or additions to documentation i18n Translation or localization changes needs-review Pull request is ready for maintainer review ui User interface or visual changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants