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

Do not change the tab activity colour (fade) when quickly skipping past tabs. #2182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flightmansam
Copy link
Contributor

If you are switching between tabs and you only stay in the tab for <.5s the activity (fade) colour will remain whatever it was previously.

Before:
EE039E0A-9756-41DE-8507-6F427DB59FE3

After:
5DAF20F1-482D-448B-AACB-ACE7288E8B06

If you are switching between tabs and you only stay in the tab for <.5s the activity (fade) colour will remain whatever it was previously.
@flightmansam
Copy link
Contributor Author

@PalmerAL Any thoughts on this?

@PalmerAL
Copy link
Collaborator

Sorry for the delay. I like the idea! Regarding the implementation, it doesn't make much sense to me for lastActivity to go backwards. What about implementing this in the tabs model code? https://github.com/minbrowser/min/blob/master/js/tabState/tab.js#L140

Also, there's a small bug - if you opened the browser with an old set of tabs previously, they would be faded out immediately as a side effect of tab-selected triggering a refresh. Now they start un-faded and fade out 7.5s later.

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