Commit graph

54 commits

Author SHA1 Message Date
jaharon33
2b935810d3
Merge 616049c412 into aca51cc11c 2025-05-21 10:43:17 +10: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
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
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
5194fcad0e Address code review from @Rob--W 2025-04-23 14:23:07 -04:00
Stephen Thompson
5ae2047b2c Fix #2746: sort only ungrouped tabs
Firefox 137 introduced tab groups. Tab group web extension support is rolling out in Firefox 138 and later. Tab movements, like the movements done when sorting tabs by container, can inadvertently add or remove tabs from tab groups.

In order to keep users' tab groups intact, this patch only sorts tabs outside of tab groups. Due to the lack of the tabGroups web extensions API as of Firefox 138, this patch cannot move tab groups, so all ungrouped tabs move to the end of the tab strip. That means after sorting, all tab groups will move to the beginning of the tab strip.
2025-04-21 23:44:13 -04:00
jaharon33
2a66417176 Merge branch 'main' of https://github.com/jaharon33/multi-account-containers 2025-03-15 14:59:06 -07:00
jaharon33
cff5a432f6 Added unsort tabs functionality 2025-03-15 14:49:23 -07:00
jaharon33
7ea8de3b83 Review for submisiion 2025-03-12 13:44:16 -07:00
Rafee
2cd38299e2 feat #303: confirmation page for clearing container storage, added destructive colors 2024-08-27 15:34:06 -04:00
Rafee
606e08d2b7 feat #303: Container storage deletion and confirmation popup 2024-08-20 13:47:36 -04:00
Danny Colin
f85d75188a Fix missing i18n strings in the UI
This patch fix all the missing i18n strings in the UI. It also
standardize the main title to "Firefox Multi-Account Containers"
everywhere we use it in the addon.
2023-06-19 19:41:10 -04:00
Danny Colin
b29ba2094e
Merge pull request #2492 from dannycolin/bug-2457-sort-shortcut
Fix 2457 - add shortcut for sorting tabs by container
2023-06-08 11:55:27 -04:00
Adrien Delessert
2894de1127
Add file: protocol to non-permissible list 2023-02-16 12:39:44 -05:00
Danny Colin
c948a9501d Fix 2457 - add shortcut for sorting tabs by container 2023-01-23 18:49:39 -05:00
Danny Colin
8e7d9f7574 Revert "Excluding containers from sync with RegExp"
This reverts commit bf31fa9196.
2022-11-18 23:40:58 -05:00
stoically
bf31fa9196 Excluding containers from sync with RegExp 2022-06-23 00:28:54 +02:00
Andrea Marchesini
d6c6ce6e67
Fix the tab sorting for custom container ordering - MAC-710 2022-04-29 01:29:54 +02:00
Andrea Marchesini
07d7b0cad4
Make the linter happy again 2021-12-07 10:22:50 -06:00
Andrea Marchesini
ca861e2727
Permission handlers triggered on add and on remove 2021-12-07 10:22:50 -06:00
Andrea Marchesini
c146a0bd11
Move the permission observers in the background scripts 2021-12-07 10:22:49 -06:00
Lesley Norton
2f6e49bec0
Review + QA updates - Part 1 2021-10-21 23:02:27 -05:00
Lesley Norton
1c0f2d8c5c
MozillaVPN Integration 2021-10-20 12:52:41 -05:00
luke crouch
8a8f5572fc Merge branch 'master' into proxy-support 2021-09-28 17:07:21 -05:00
Carlos Marin
4e4ed390e0 Replace deprecated method
Close #2047
2021-05-18 14:36:29 -03:00
luke crouch
63996ce416 Merge branch 'master' into proxy-support 2020-11-11 17:14:07 -06:00
Kendall Werts
ef66bee929 Implemented site isolation
Added feature to isolate (lock) assigned sites: When you are in
a container with site isolation enabled, navigating to a site
outside of the assignments will open that site in a new default
container tab.

Co-authored-by: Francis McKenzie <francis.mckenzie@gmail.com>
2020-02-28 15:47:43 -06:00
Kendall Werts
707cec56c5 keyboard shortcuts working 2020-02-28 15:47:43 -06:00
Kendall Werts
807435ca4b code review and feedback changes 2020-02-28 15:47:43 -06:00
Kendall Werts
db46e71516 linting issues 2020-02-28 15:47:43 -06:00
Kendall Werts
486072bef8 keyboard shortcuts 2020-02-28 15:47:43 -06:00
Kendall Werts
a33e358de8 Now can reopen in default container. Added an 'OK' button to new container panel. Fixed some css 2020-02-28 15:47:43 -06:00
Kendall Werts
fbba6beee2 testing keyboard shortcuts 2020-02-28 15:47:43 -06:00
Kendall Werts
9e12014c07 Fix for #1632: Pinned tabs cannot be loaded as 'discarded' 2020-02-13 16:54:18 -06:00
Kendall Werts
85c403bef5 made some suggested changes 2020-01-23 13:47:45 -06:00
luke crouch
da24febe6e
Merge branch 'master' into duplicated-tabs 2019-10-25 10:49:11 -05:00
Oksana Melnik
c3da573722 cleanup 2019-10-25 08:08:04 +02:00
Kendall Werts
7c08cf3190 Merge branch 'bookmark-context' of github.com:kendallcorner/multi-account-containers into bookmark-context 2019-10-24 16:46:54 -05:00
Kendall Werts
87a2aa5f1e added url checks for edge case urls 2019-10-24 16:16:02 -05:00
Maxx Crawford
dda5c9eeff
Merge branch 'master' into bookmark-context 2019-10-24 14:33:15 -05:00
Kendall Werts
e7824f367b added bookmarks as optional_permission and added checkbox in preferences menu. 2019-10-24 14:14:30 -05:00
Karskaja
9ff1a14e0e Fix issue #1041- [Feature request] Open previously hidden tabs in the background
Add 'noload' property to openNewTab options, add 'discarded' parameter to browser.tabs.create. New tabs opened from showTabs will be discarded.
2019-10-19 10:04:48 -04:00
Oksana Melnik
384ac486d9 duplitated-tabs: don't unhide duplicates of already opened tab 2019-10-19 14:43:03 +02:00
Samuel Crypto
f47b4c8f6c Added clean up of proxy association after container deletion 2019-10-04 11:31:31 -04:00
Samuel Crypto
3a0af38900 Replaced window with global and modified eslintrc 2019-10-04 11:31:30 -04:00
Samuel Crypto
70511e2722 Added space after // everywhere where relevant 2019-10-04 11:31:30 -04:00
Samuel Crypto
7f252c75b8 Final lint fixes 2019-10-04 11:31:30 -04:00
Samuel Crypto
34bde83067 Fixed problem where creating a new container did not correctly associate the proxy entered with it 2019-10-04 11:31:30 -04:00
Samuel Crypto
067843c4b9 Integrated the proxified-containers.js logic into relevant files without direct proxifying yet 2019-10-04 11:31:30 -04:00
ctgardner
639399925c Refactor async anonymous functions into arrow functions
- fixes #972
2019-05-07 02:23:00 +01:00