Skip to content

feat: allow users to set minimum tab threshold for auto-grouping#81

Draft
webdevnerdstuff wants to merge 2 commits intoloilo:mainfrom
webdevnerdstuff:feat/add-tab-minimum
Draft

feat: allow users to set minimum tab threshold for auto-grouping#81
webdevnerdstuff wants to merge 2 commits intoloilo:mainfrom
webdevnerdstuff:feat/add-tab-minimum

Conversation

@webdevnerdstuff
Copy link

@webdevnerdstuff webdevnerdstuff commented Mar 13, 2026

This PR introduces a user-configurable setting to define the minimum number of tabs required before the auto-grouping logic is triggered.

Changes:

Added a "Minimum Tab Threshold" option to the extension settings.

Updated the grouping logic to check against the user-defined threshold before creating or updating groups.

Ensured the default behavior remains consistent with existing functionality (e.g., threshold of 2).

Why:

This gives users more control over their workspace, preventing unnecessary group creation when only a few tabs are open from the same domain.

Testing & Compatibility:

Automated Tests: I haven't added Playwright tests yet as I’m still getting up to speed with the testing setup in this repo. I'm happy to tackle them with a bit of guidance or a reference to a similar test case if coverage is required for merge.

Manual Verification: I’ve verified the logic and UI persistence manually in Chrome. I haven't had a chance to test in other Chromium browsers (like Edge or Brave) yet.

Final Thoughts:

I’d love to get your thoughts on this, @loilo! I personally feel this adds significant value. I've used several tab managers, and the lack of a minimum threshold often leads to "group-bloat" for small tasks. This makes the auto-grouping feel much more intentional.

@webdevnerdstuff webdevnerdstuff marked this pull request as draft March 13, 2026 23:38
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