Skip to content

[Feature] Set min tabs before grouping #86

Description

@webdevnerdstuff

I just noticed an update the readme about contributions, so I'm opening an issue for it as I created a PR before that message was added (or at least I think).

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.

PR: #81

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions