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

Fixed Chat Peek warning with SkyHanni #39

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hannibal002
Copy link

@hannibal002 hannibal002 commented Nov 23, 2024

Description

Currently, the Chatting mod warns the user if they are using SkyHanni's chat peek feature active and have disabled the feature in Chatting. This indicates that this behavior is not intended without giving the user the choice to use either feature.

This PR changes the logic to only warn if both mods have the feature enabled to indicate unintended behavior instead of forcing the user to disable SkyHanni's.
This PR removes the check entirely.

See related code at https://github.com/hannibal002/SkyHanni/blob/ff6dd291a0f89644508171e6b984295de20466ce/src/main/java/at/hannibal2/skyhanni/features/chat/ChatPeek.kt

How to test

If you use SkyHanni's chat peek without the PR, leave Chatting's chat peek disabled and see how the notification is displayed.
With the PR, you will not see a notification as long as the feature is not enabled in Chatting.
With the PR, this message does no longer exist.

Release Notes

Documentation

@hannibal002
Copy link
Author

We might want to include the tutorial on how to open the settings for both mods in the popup warning, not sure

@hannibal002
Copy link
Author

"break the other mod on purpose so users use my mod" doesn't sound like a strategy for community projects

@hannibal002
Copy link
Author

image

@Wyvest
Copy link
Member

Wyvest commented Nov 23, 2024

"break the other mod on purpose so users use my mod" doesn't sound like a strategy for community projects

The rest of the mixins i can confirm were because of conflicts with chatting and the other mod’s features. i think what might’ve happened is someone saw those notifications but noticed it didn’t happen for skyhanni chat peek, and then reported it to us and we “fixed” it. however i think there’s also a chance that there is actually a conflict with chatting and skyhanni chat peek so someone should test that

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