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

properly checking if group is valid #25

Merged
merged 4 commits into from
Dec 10, 2023
Merged

Conversation

nohzafk
Copy link
Collaborator

@nohzafk nohzafk commented Dec 9, 2023

  • simplify logic of handleNewTab and handleUpdateTab
  • properly checking if group is valid
  • ignore tab url that starts with "chrome://"

@nohzafk
Copy link
Collaborator Author

nohzafk commented Dec 9, 2023

probably should test more on this patch, no hurry to merge

chrome.storage.local.get method is asynchronous, meaning that when you try to
access types immediately after the get call, it may not yet be initialized.
…add the tab into an existing group or to create a new group.
@MichaelYuhe MichaelYuhe added the enhancement New feature or request label Dec 10, 2023
src/background.ts Outdated Show resolved Hide resolved
@MichaelYuhe MichaelYuhe merged commit 3731f01 into MichaelYuhe:main Dec 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants