Skip to content

Conversation

@kdroidFilter
Copy link
Owner

  • Summary:
    This pull request refines the TrayApp documentation and expands its functionality with new parameters for greater flexibility and customization.
    Key changes include updates to support features like window transparency, key event handling, resizable decorations, and customizable popup window titles, icons, and contexts.

  • Details of Changes:

    1. Documentation Updates:

      • Removed redundant sections for a streamlined README.
      • Improved clarity and examples for better developer guidance.
    2. New Features Introduced:

      • undecorated, resizable, and transparent parameters for advanced window customization.
      • windowIcon and windowsTitle parameters to enhance UI customizations.
      • onKeyEvent and onPreviewKeyEvent parameters for detailed input handling.
      • Utilization of DialogWindowScope for improved composable contexts.

…sparency

- Introduced `transparent` parameter to `TrayApp` and its associated methods.
- Updated `DialogWindow` configuration to utilize the provided transparency option.
- Improved the flexibility of the tray window for different use cases.
- Added a new section in the README explaining the `transparent` parameter for `TrayApp`.
- Included usage examples for configuring window transparency.
- Clarified the default behavior and platform support for transparency.
…ow titles

- Added a `windowsTitle` parameter to `TrayApp` and its related methods for setting custom popup window titles.
- Updated `DialogWindow` to utilize the provided title, improving accessibility and debugging support.
- Documented the new parameter in the README with examples.
- Introduced `windowIcon` parameter to `TrayApp` and related methods to allow specifying a custom icon for the popup window.
- Updated `DialogWindow` to include the provided icon, enhancing visual customization options.
- Documented the new parameter in the README with examples.
…custom key event handling

- Introduced `onKeyEvent` and `onPreviewKeyEvent` parameters to `TrayApp` and related methods, allowing more customizable key event handling.
- Updated `DialogWindow` and platform-specific implementations to support the new key event callbacks.
- Documented the new parameters with usage examples for enhanced flexibility.
…d window customization

- Introduced `undecorated` and `resizable` parameters to `TrayApp` and related methods, allowing control over window decorations and resizing options.
- Updated platform-specific implementations to apply the new parameters consistently across systems.
- Documented the parameters in the README with examples to illustrate their usage.
…osable context handling

- Changed the `content` parameter type in `TrayApp` and related methods from `@Composable () -> Unit` to `@Composable DialogWindowScope.() -> Unit`.
- Updated platform-specific and common implementations to support the new scope.
- Removed redundant documentation blocks for improved clarity and maintainability.
- Simplified and reorganized the README with updated examples, focusing on essential `TrayApp` features and usage.
- Streamlined explanations for parameters and APIs, removing redundant sections.
- Improved quick-start and recipe examples for better developer onboarding.
- Eliminated unused subsections (`Overview`, `Basic Usage`, `TrayAppState API`, and `Advanced Examples`) for a cleaner and more concise documentation structure.
- Updated the `TrayApp` header for improved readability and consistency with other sections.
@kdroidFilter kdroidFilter merged commit 2aa3263 into master Oct 4, 2025
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