Commit Graph

1282 Commits

Author SHA1 Message Date
Anton Dudakov 1f0c522773 address feedback 03 2026-03-01 11:21:06 +04:00
Anton Dudakov 2f6596259b address feedback 02 2026-02-26 22:01:54 +04:00
Anton Dudakov eda79aaf05 address feedback 2025-12-20 19:40:42 +04:00
Anton Dudakov 37a2b67224 fixes merge conflicts 2025-12-20 19:40:42 +04:00
Anton Dudakov fb5eb2c0db extracted reopenInContainer function which made it possible to remove
async from the `init()`
2025-12-20 19:40:39 +04:00
Anton Dudakov b4d0115d22 adds an ability to reopen current tab in the specific container with a shortcut 2025-12-20 19:40:33 +04:00
Andrea Marchesini 02f9ea8ec9 Merge pull request #2835 from emilio/page-action-dark-mode
icons: Honor context-fill / context-fill-opacity, and dark mode as a fallback in page action icon
2025-12-12 15:49:06 +01:00
Emilio Cobos Álvarez 50e4b2742f icons: Honor context-fill / context-fill-opacity, and dark mode as a fallback in page action icon
The only reason this icon doesn't look terrible in dark mode is because
there's a hack in Firefox that we want to remove, see bug 2001318.
2025-12-10 23:00:42 +01:00
Andrea Marchesini 8b70aca184 Merge pull request #2828 from mozilla/surveyFinal
Final survey. #2827
8.3.5
2025-11-19 09:49:20 +01:00
Andrea Marchesini 0539c12ba2 Final survey 2025-11-18 10:41:30 +01:00
Andrea Marchesini d6cb8f7707 Merge pull request #2795 from loganrosen/upgrade-web-ext
Upgrade web-ext to 8.10.0
2025-11-11 10:29:09 +01:00
Logan Rosen 89aa2ffe5b Merge branch 'main' into upgrade-web-ext 2025-11-10 23:07:44 -05:00
Andrea Marchesini f072ad478c Merge pull request #2817 from mozilla/consent
Data consent dialog not required + version bump
2025-10-30 09:50:51 +01:00
Andrea Marchesini 91a92bd446 Data consent dialog not required + version bump 2025-10-29 15:04:41 +01:00
Lesley Norton f0274d1e45 Merge pull request #2816 from mozilla/achievements
Mark all the unknown achievements as done and remove the survey one during the installation
8.3.4
2025-10-28 09:24:22 -05:00
Andrea Marchesini 0cf1e14731 Fix a typo 2025-10-28 15:01:04 +01:00
Andrea Marchesini 1406ad34b4 8.3.4 version bump 2025-10-28 14:59:51 +01:00
Andrea Marchesini f377174bf2 Mark all the unknown achievements as done and remove the survey one during the installation 2025-10-28 14:56:52 +01:00
Andrea Marchesini f6a59ab54e Merge pull request #2810 from mozilla/temp-hide-survey
Temporarily hide research recruitment and bump version
8.3.2
2025-10-17 20:32:56 +02:00
Lesley Norton 542161f8b4 Also bump version in manifest.json 2025-10-17 12:49:32 -05:00
Lesley Norton a5cbb48907 Bump version 2025-10-17 12:31:50 -05:00
Lesley Norton 56c5838d2d Revert "Merge pull request #2803 from mozilla/survey"
This reverts commit c34c1c1e04, reversing
changes made to adbf310a17.
2025-10-17 12:31:00 -05:00
Lesley Norton 35956f132a Revert "Temporarily hide engagement survey and bump version"
This reverts commit b4ad47bf04.
2025-10-17 12:30:08 -05:00
Lesley Norton b4ad47bf04 Temporarily hide engagement survey and bump version 2025-10-17 12:19:00 -05:00
Andrea Marchesini c34c1c1e04 Merge pull request #2803 from mozilla/survey
Join our Multi-Account Containers Research Study! 🚀
8.3.1
2025-10-07 18:04:29 +02:00
Andrea Marchesini 2908419671 Fix a typo 2025-10-02 18:23:04 +02:00
Andrea Marchesini e296f438fa Update src/js/background/messageHandler.js
Co-authored-by: luke crouch <lcrouch@mozilla.com>
2025-10-02 18:19:55 +02:00
Andrea Marchesini 85ce6375e5 Update src/js/background/messageHandler.js
Co-authored-by: Maxx Crawford <maxx.crawford@gmail.com>
2025-10-02 18:19:35 +02:00
Andrea Marchesini dcc42e2a3a Update src/popup.html
Co-authored-by: Maxx Crawford <maxx.crawford@gmail.com>
2025-10-02 18:19:24 +02:00
Lesley Norton eeefaaba1e Fix CSS lint errors 2025-10-01 12:48:17 -05:00
Lesley Norton 00504ebbd9 Update survey panel 2025-10-01 19:26:06 +02:00
Andrea Marchesini 0eb13f214d Survey view 2025-10-01 19:25:53 +02:00
Andrea Marchesini adbf310a17 Merge pull request #2794 from loganrosen/usr-bin-env
Use `/usr/bin/env` instead of `/bin/env`
2025-10-01 09:42:16 +02:00
Andrea Marchesini d44d789e73 Merge pull request #2796 from loganrosen/eslint-v9
Upgrade to ESLint v9
2025-10-01 09:38:47 +02:00
Logan Rosen bd7e33b11e Upgrade to eslint v9 2025-09-20 17:09:54 -04:00
Logan Rosen 6a5e48e8b3 Upgrade web-ext to 8.10.0 2025-09-20 16:47:25 -04:00
Logan Rosen d3aa323a5a Use /usr/bin/env instead of /bin/env 2025-09-20 15:48:27 -04:00
Danny Colin aca51cc11c Merge pull request #2755 from apostrophest/eslint-ecmascript-2021
Increase eslint ecmaVersion to 2021
2025-05-20 15:09:33 -04:00
Danny Colin b684ce7016 Merge pull request #2764 from apostrophest/version-upgrade-8.3.0
Version upgrade 8.3.0
8.3.0
2025-05-06 15:24:43 -04:00
Stephen Thompson 115d411218 Version upgrade 8.3.0
## IMPORTANT NOTE

Version 8.2.0 of this add-on configured Ctrl + Comma as the default keyboard shortcut for sorting the tab strip by container. This keyboard shortcut was removed from 8.3.0 in patch #2758. If you use Ctrl + Comma in order to quickly sort tabs by container, then you will need to explicitly reconfigure the keyboard shortcut. https://support.mozilla.org/en-US/kb/manage-extension-shortcuts-firefox

## Features
- #2753 Avoid sorting tabs in Firefox tab groups
- #2758 Removed suggested keyboard shortcut for tab sorting
- #2722 Removed Mozilla VPN logo banner

## Bugs
- #2572 Fixed add/remove site assignments logic bug
- #2754 Fixed "open/reopen in container" bug that would reopen outside of a Firefox tab group
- #2760 Removed console log spam related to context menu cleanup

## Developer
- #2671 Updated contributor documentation with tips and corrected links
- #2723 Updated GitHub Actions build image
2025-05-06 12:04:57 -04:00
Danny Colin aec2aa5fb0 Merge pull request #2722 from mozilla/basti/remove_vpn_banner
Remove the Mozilla-VPN Banner Ad
2025-04-30 22:00:04 -04:00
Sebastian Streich 69ee83bbf6 Remove the Mozilla-VPN Banner Ad 2025-04-30 21:57:36 -04:00
Danny Colin 9434147b48 Merge pull request #2758 from apostrophest/remove-sort-tabs-suggested-key
Remove suggested key for `sort_tabs`
2025-04-30 18:13:08 -04:00
Danny Colin d82341ce4a Merge pull request #2760 from Rob--W/logspam-contextMenus.remove
Avoid logspam: "Cannot find menu item with id ..."
2025-04-30 18:09:22 -04:00
Rob Wu 60a6666222 Avoid logspam: "Cannot find menu item with id ..."
The extension frequently tries to remove context menus that do not
exists, which results in errors like:

> Error: Cannot find menu item with id firefox-container-1

because starting from Firefox 136, the contextMenus.remove method
rejects if the menu item does not exist. To avoid logspam, catch it.

References:

- https://bugzilla.mozilla.org/show_bug.cgi?id=1688743
- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/136#changes_for_add-on_developers
2025-04-30 00:51:11 +02:00
Stephen Thompson f1a24ed6fb Address code review comments for #2758
- Use `commands.reset` insead of `commands.update`
- Do not swallow errors
2025-04-29 16:36:19 -04:00
Danny Colin 0372abdc33 Merge pull request #2754 from apostrophest/issue-2747-reopen-in-container-tab-groups
Fix #2747: open/reopen container tabs in tab groups when appropriate
2025-04-28 11:04:18 -04:00
Danny Colin 366a50c8b6 Merge pull request #2753 from apostrophest/issue-2746-sort-ungrouped-tabs-only
Fix #2746: sort only ungrouped tabs
2025-04-28 11:03:46 -04:00
Stephen Thompson e96b275e02 Remove suggested key for sort_tabs
A number of users have accidentally pressed Ctrl + Comma and sorted their tabs by container. For some of those users, they did not know what had happened.

#2492 added Ctrl + Comma as a default shortcut key for sorting tabs by container. This change was released with addon v8.2.0 in Sept 2024.

It is useful to make the sort-tabs-by-container operation accessible by keyboard shortcut, but I think Ctrl + Comma is too close to the main Ctrl + Period shortcut for this addon. I think it's reasonable to make the default sort_tabs keyboard shortcut more complex, but in this patch, I'm recommending that we:

1. do not set a shortcut by default for any future users. Users can still configure a shortcut via Firefox's Manage Extension Shortcuts UI.
2. for existing users upgrading from 8.2.0 who configured their own, non-default keyboard shortcut for sort_tabs, keep their shortcut in place. These users demonstrated a strong interest in using the sort_tabs feature and I do not want to interfere.
3. for existing users upgrading from 8.2.0 who have the default keyboard shortcut configured, clear the shortcut. Users who did not use the sort_tabs keyboard shortcut will no longer be at risk of accidentally using it. Users who did use the default sort_tabs keyboard shortcut will be harmed, but those users can use the Manage Extension Shortcuts UI to manually configure Ctrl + Comma (or another key combination).

I am not aware of any simple ways to ensure that existing users using Ctrl + Comma can continue to do so without interruption. Ideally, I think #2492 should not have set a suggested key -- the other keyboard shortcuts are "non-destructive" and easy to understand. However, since that already happened, I think the best harm reduction approach at this point is to inconvenience existing users of Ctrl + Comma.
2025-04-25 13:08:44 -04:00
Stephen Thompson 65243e2c06 eslint ecmaVersion to 2021
CONTRIBUTING.md specifies the minimum supported Firefox version as 91.1.0.

Based on the caniuse.com data for ECMAScript features listed at https://gist.github.com/Julien-Marcou/156b19aea4704e1d2f48adafc6e2acbf, I determined the following minimum Firefox versions that support each ECMAScript version:

- ECMAScript 2018 (current setting) = Firefox 78
- ECMAScript 2019 = Firefox 64
- ECMAScript 2020 = Firefox 80
- ECMAScript 2021 = Firefox 79
- ECMAScript 2022 = Firefox 92
- ECMAScript 2023 = Firefox 104
- ECMAScript 2024 = Firefox 119+ (not exactly sure)

This project is using v7 of eslint which depends on v7 of espree for JavaScript parsing. espree v7 has a maximum ECMAScript support version of ECMAScript 2021.

Based on these findings, increasing the configured `parser.ecmaVersion` from `2018` to `2021` will allow using all JavaScript syntax supported in Firefox 91.1.0+ without raising eslint errors.
2025-04-23 15:09:26 -04:00