Skip to content

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