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

fix: disable reload button if discarded selected #131

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dnwe
Copy link
Contributor

@dnwe dnwe commented Oct 9, 2024

This change seemed to have been published under 3.6.2 to the Firefox add-ons, but wasn't included in the GitHub source so backporting it to here and bumping the VERSION= number to match the release

Copy link
Owner

@ericpromislow ericpromislow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're working on this, could you also ensure the Reload button is disabled when no tabs are selected?

This change seemed to have been published under 3.6.2 to the Firefox
add-ons, but wasn't included in the GitHub source so backporting it to
here.
Addressing a regression in 3.6.2 whereby the reload button was
inadvertently enabled when no items were selected. Also fixup the
doReloadTabs action so it filters-out discarded items rather than
filters them in.
@dnwe
Copy link
Contributor Author

dnwe commented Oct 14, 2024

Sure, have added a commit to fix that. During testing I also noted that the doReloadTabs on the released version on the firefox store had inadvertently filtered-in discarded tabs rather than filtered them out, so the reload button wasn't having any effect. That's fixed on this branch too now

@dnwe dnwe mentioned this pull request Oct 14, 2024
@ericpromislow
Copy link
Owner

It's not working for me on firefox -- when I select a grayed-out line, the Reload button is disabled. When I select an active line, the button is enabled. I always intended this button to replenish discarded tabs, but it could also be used to reload active ones. So it would be better if it's never disabled.

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.

2 participants