Deleted unused `KeyboardInputComponent`. Added file upload functionality to `MainView` with WebSocket event handling. Introduced `WebsocketClient` class for managing server connection and file transmission. Enhanced `KeyboardComponent` with configurable key rounding. Updated `WebsocketHandler` for improved binary message handling and storage.
Introduced hash-based storage for binary files in `RequestHandler`, with subdirectory organization. Added methods for creating hashes, saving, and retrieving files. Enabled binary file transmission via WebSocket commands. Updated `Settings` to support configurable data directory.
Standardized package paths in `SampleEntity`, `SampleEntityQueryProvider`, and `SampleDao` from `nl.astraeus.vst.chip.db` to `nl.astraeus.vst.base.db`.
Bumped project version to `2.2.0-alpha-2` in `build.gradle.kts`. Introduced `SampleEntity`, `SamplePartEntity`, and `SampleEntityQueryProvider` for database handling. Added `SampleDao` with a sample query function. Updated SVG utilities with a `viewbox` extension and enhanced `RequestHandler` to set content type for HTML responses.
Replaced mutable state with an immutable `KeyboardState` data class to track octave and pressed notes. Updated state management logic with functional updates for improved consistency and immutability. Simplified note handling and rendering to reference the unified state object.
Extracted white and black key rendering into separate `renderWhiteKeys` and `renderBlackKeys` functions for improved readability and modularity. Simplified drawing logic by delegating key rendering to these helper functions.
Replaced hardcoded values for octaves, keys, and dimensions with named constants for improved readability and maintainability. Simplified calculations and loops using these constants. Enhanced clarity in key rendering and MIDI note calculations.
Extracted MIDI note calculation into a reusable `getMidiNoteFromMousePosition` function. Replaced redundant inline logic in mouse event handlers and key drawing sections for improved readability and maintainability.
Bumped project version to 2.1.1-SNAPSHOT in `build.gradle.kts`. Enhanced `KeyboardComponent` logic to visually indicate pressed keys with new CSS classes for both white and black keys. Added `requestUpdate` calls to ensure UI updates on note changes. Simplified JVM target configuration in build script.
Updated `build.gradle.kts` to finalize version 2.1.0. Introduced `Broadcaster` and `Midi` classes for MIDI message broadcasting, synchronization, and handling. Added support for MIDI input/output devices with state management and message processing capabilities.
Introduced buttons to dynamically adjust the octave within the range of 0 to 8. Added new CSS classes for layout and styling of octave controls, updated component logic with range validation, and reorganized the title and octave display for improved UI.
Introduced adjustable `keyboardWidth` and `keyboardHeight` for `KeyboardComponent`, making dimensions dynamic. Added a knob component to control keyboard width in `MainView`. Enhanced layouts for flexibility and customization.
Updated key size calculations to be dynamic based on keyboard dimensions for improved scalability. Removed unnecessary `println` calls and redundant MIDI note calculations in drawing logic for better performance and code clarity.
Adjusted the default value, minValue, and step for the volume knob to improve precision. Removed unused `KnobBackgroundCls` and cleaned up unnecessary whitespace for better readability and maintainability.
Updated the version from 2.0.0-SNAPSHOT to 2.0.0 in `build.gradle.kts` for release readiness. Added a new `test-app` project including Gradle build files, scripts, and configuration for Kotlin multiplatform with JS and JVM targets to enable testing and application runtime.
Added a Gradle build script for the test-app module with Kotlin Multiplatform configuration, including JS and JVM targets. Upgraded Kotlin plugin version to 2.1.10, updated dependencies, and adjusted the JS distribution path. Renamed the JS file in UndertowServer configuration for accuracy.
Introduced a new `test-app` module with a basic Kotlin/JS UI and a Kotlin/JVM backend. Updated dependencies to use `api` where applicable and made configuration changes to support composite builds.
Revised `CssName` to support optional override names and adjusted usage across multiple components for consistency. Updated build.gradle.kts to increment version and enable source maps in the browser configuration.
Upgrade knob interaction logic and dependency versions.
Reworked knob value adjustment to use precise mouse coordinates via `setValueByMouseCoords`. Improved user interaction by enhancing activation handling and CSS styling. Updated project dependencies, removed unused packages, and set version to 1.2.0 for compatibility and feature stability.
Implement mouse coordinate-based knob value adjustment.
Added `setValueByMouseCoords` to calculate knob values derived from mouse coordinates using angles. Replaced obsolete mouse delta logic with the new approach for better precision and interaction. Upgraded dependencies and project configurations, including the Kotlin version, for enhanced compatibility and stability.
Updated multiple dependencies including Kotlin, Webpack, and Mocha to their latest versions. The project's JDK was upgraded to version 21, and the Kotlin multiplatform plugin version updated to 2.1.0. This ensures better compatibility, improved performance, and access to new features.
Add Dokka for documentation generation and configure credentials for new Maven repository endpoints. Transition kotlin-komponent dependency to a stable release version, and set project version to 1.1.0 for release readiness.
Included a new Maven repository URL to the build configuration for enhanced flexibility in package retrieval. This change allows access through an alternative port, ensuring better availability and compatibility with different network setups.
Switch from a snapshot to the stable release of kotlin-css-generator to ensure reliability and stability. This change enhances dependency management and reduces the risk of issues related to using a snapshot version.
Removed mavenLocal() and added a new custom Maven repository URL to the repositories block. This change allows the project to fetch dependencies from the specified Gitea-based Maven repository. The adjustment ensures access to specific packages not available on Maven Central.
The gradle.properties file, which specified the Kotlin code style as official, has been deleted. This change is likely because the project no longer requires this configuration or has moved to a different setup for managing code styles.