Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] "Clean" button for the nav bar #1923

Open
emvaized opened this issue Dec 17, 2024 · 0 comments
Open

[Idea] "Clean" button for the nav bar #1923

emvaized opened this issue Dec 17, 2024 · 0 comments

Comments

@emvaized
Copy link
Contributor

Description

It would be nice to have some "Clean" button on the nav bar, which will go through the list of tabs in the current panel and remove the oldest ones. I imagine it showing popup on click, with dropdowns to set how old tabs should be cleared (days, weeks and months).

On a technical side it shouldn't be too hard to implement, as it could just iterate over all tabs in panel, check Tab.lastAccessed property and compare to the current time. It also should ignore pinned tabs, as well as tabs with custom title or color set from Sidebery's context menu (as user manually modified them, and probably would like to keep them opened).

I believe that such a feature could greatly help users who don't like to manually close tabs often, but eventually end up with long list of tabs which they don't need anymore and that has become too long to clean manually. In future it could also be enhanced with settings for automatic panel cleaning periodically.

Alternatives

Tab Wrangler addon closes oldest tabs periodically, but it has few disadvantages compared to the proposed solution:

  • It doesn't allow to manually close tabs older than "n" days, and provides only automatic periodic closing. I find having a nav bar in Sidebery much more convenient, as it gives user full control over this function, and quickly apply it only when needed
  • It doesn't allow to ignore tabs with custom title or background color set in Sidebery, which could be a quick and easy way to mark a tab as "persistent" one without pinning it
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

No branches or pull requests

1 participant