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

feat(plugins): add tab history to the SessionUpdate Event #4014

Merged
merged 4 commits into from
Feb 21, 2025

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Feb 21, 2025

This gives plugins access to the tab history of each connected client through the SessionUpdate Event (meaning they will also be available for other sessions).

The tab history is an ascending zero-indexed vector of the previously visited tabs of each client. So for example 0 1 3 means that the user's last visited tab index is 3, before that 1 and before that 0. The current tab never appears in the list, so it might not be linear.

@imsnif imsnif merged commit 04be264 into main Feb 21, 2025
6 checks passed
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.

1 participant