Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

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

Open
flightmansam wants to merge 1 commit intominbrowser:master from
flightmansam:origin/wait-to-reset-tabActivity
Open

Do not change the tab activity colour (fade) when quickly skipping past tabs. #2182
flightmansam wants to merge 1 commit intominbrowser:master from
flightmansam:origin/wait-to-reset-tabActivity

Conversation

@flightmansam
Copy link
Contributor

@flightmansam flightmansam commented Feb 7, 2023

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.
Copy link
Contributor Author

@PalmerAL Any thoughts on this?

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /