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

Fix activity state logic (#197) #198

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Fix activity state logic (#197) #198

merged 1 commit into from
Mar 27, 2023

Conversation

Willy-JL
Copy link
Contributor

Fixes the main issue raised in #197.

The logic for selecting current state was slightly off, and it would lead to the first button having very weird behavior (more details in the issue).

@xhayper xhayper merged commit 9013494 into leonardssh:main Mar 27, 2023
@nick22985
Copy link
Collaborator

nick22985 commented Mar 27, 2023

This breaks ignored git repos as it is removing the inactive state which is what ignored git repos should be as I stated in #197 (comment). I also can not recreate the problems that you are facing at all and every state that I can think of works. There is a logic flaw if this is occurring but I think we should fix whatever is happening rather then do this.

Inactive state has only ever been used when isGitExluded https://gyazo.com/fcde08849f500438cd7e1ae8f97a6fd5 this is the logic it was before my commit

https://gyazo.com/3bf112ecb55ea21634a971c54d2be9bd

nick22985 added a commit to nick22985/vscord that referenced this pull request Mar 28, 2023
xhayper added a commit that referenced this pull request Mar 28, 2023
revert: #198 breaks ignored orgs/repo buttons
@xhayper xhayper added the enhancement New feature or request label Mar 28, 2023
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

3 participants