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

Added tiktok social link and made all commands toggleable individuable #47

Merged
merged 8 commits into from
Nov 11, 2024

Commits on Nov 11, 2024

  1. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    3d7e57e View commit details
    Browse the repository at this point in the history
  2. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    0cd9e1b View commit details
    Browse the repository at this point in the history
  3. Add TikTok link and command

    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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    a8b42b2 View commit details
    Browse the repository at this point in the history
  4. Update Twitch command message

    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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    737f250 View commit details
    Browse the repository at this point in the history
  5. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    eeeaeb6 View commit details
    Browse the repository at this point in the history
  6. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    1a713c8 View commit details
    Browse the repository at this point in the history
  7. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    62cdc6f View commit details
    Browse the repository at this point in the history
  8. 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.
    NonSwag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    5b734ae View commit details
    Browse the repository at this point in the history