-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added tiktok social link and made all commands toggleable individuable #47
Commits on Nov 11, 2024
-
Simplify CommandDefinition class and update command initialization
Removed unnecessary @AllArgsConstructor and refactored CommandDefinition class. Command definitions now use a simplified constructor with an enabled flag set by default to true. Updated command initialization throughout CommandConfig to align with the new constructor.
Configuration menu - View commit details
-
Copy full SHA for 3d7e57e - Browse repository at this point
Copy the full SHA 3d7e57eView commit details -
Moved isProxyEnabled method to CommandConfig class
Moved the isProxyEnabled method from PluginConfig to CommandConfig to better organize proxy-related logic. This change also removes redundant proxy check in PluginConfig, streamlining the code.
Configuration menu - View commit details
-
Copy full SHA for 0cd9e1b - Browse repository at this point
Copy the full SHA 0cd9e1bView commit details -
Introduce TikTok social media links and commands. Added TikTok-related properties in multiple configuration files and implemented the TikTok command handler. This allows users to interact with TikTok through the application.
Configuration menu - View commit details
-
Copy full SHA for a8b42b2 - Browse repository at this point
Copy the full SHA a8b42b2View commit details -
Changed the displayed message from "Watch us on Twitch" to "Follow us on Twitch" when registering the Twitch command. This better reflects the intended call-to-action for users.
Configuration menu - View commit details
-
Copy full SHA for 737f250 - Browse repository at this point
Copy the full SHA 737f250View commit details -
Enable feature-specific command registration
Modified the `TweaksPlugin` class to conditionally register time, weather, and workstation commands based on configuration. Added corresponding fields in `PluginConfig` to control these feature flags.
Configuration menu - View commit details
-
Copy full SHA for eeeaeb6 - Browse repository at this point
Copy the full SHA eeeaeb6View commit details -
Enable command registration based on configuration settings
Modified the command registration methods to check if each command is enabled before registering it. This enhances modularity by ensuring that only the configured commands are registered, thus optimizing performance and customization.
Configuration menu - View commit details
-
Copy full SHA for 1a713c8 - Browse repository at this point
Copy the full SHA 1a713c8View commit details -
Add hover text to social media links
Enhanced user interaction by adding hover texts to social media links, both in the default and German properties files. This improvement provides additional information when users hover over the links, improving clarity and user experience.
Configuration menu - View commit details
-
Copy full SHA for 62cdc6f - Browse repository at this point
Copy the full SHA 62cdc6fView commit details -
Update command registration method
Revised the command configuration retrieval method to use the new `commands()` method instead of `config().features().social()`. This refactoring simplifies the logic for checking if social commands are enabled before registering them.
Configuration menu - View commit details
-
Copy full SHA for 5b734ae - Browse repository at this point
Copy the full SHA 5b734aeView commit details