Skip to content

Conversation

Stefterv
Copy link
Owner

No description provided.

Refactored ReactiveProperties to use snapshotStateMap for Compose reactivity. Improved PreferencesProvider and watchFile composables with better file watching, override support via system properties, and added documentation. Updated PreferencesKtTest to use temporary files and verify file-to-UI reactivity.
@Stefterv Stefterv force-pushed the gradle-welcome-screen branch from d44ec69 to 38c8001 Compare October 14, 2025 09:51
Improved documentation and refactored the Locale class for better clarity and resource loading. Enhanced LocaleProvider to support preferences folder override and language file management. Added a comprehensive Compose UI test for LocaleProvider to verify localization and language preference persistence.
Changed the setLocale parameter in the Locale class to be nullable and updated its usage to safely invoke it. This allows for more flexible instantiation when a setLocale function is not required.
Replaces the call to locale.setLocale with locale.set in LocaleKtTest to match the updated API for changing the locale.
Replaces PDEWindow with PDESwingWindow and introduces PDEComposeWindow for better separation of Swing and Compose window creation. Updates Welcome and WelcomeToBeta screens to use new window utilities, improving macOS full window content support and code clarity.
Sets 'automaticRelease' to true in the publishToMavenCentral configuration to automate the release process when publishing to Maven Central.
Removed redundant 'include("app:utils")' statement and added 'app:utils' to the main include block for consistency.
Replaces the old Theme implementation with ProcessingTheme, introduces new color, shape, and typography definitions, and updates UI components to use Material3. Also updates dependencies and removes obsolete code to support a more flexible and modern theming approach.
Updated dependencies and code to use Material3 components from androidx.compose.material3. Replaced Material and legacy Compose UI elements with their Material3 equivalents in ProcessingTheme and component previews. Updated Kotlin version and added material3 library to dependencies.
…1276)

Deleted ContributionManager.kt and ContributionPane.kt from the contrib/ui directory. This removes the Compose-based contributions manager and its detail pane prototypes which got merged unnecessarily
* Refactor Locale class and add LocaleProvider test

* Make setLocale parameter nullable in Locale class

Changed the setLocale parameter in the Locale class to be nullable and updated its usage to safely invoke it. This allows for more flexible instantiation when a setLocale function is not required.

* Add compose ui test to the deps

* Update locale change method in test

Replaces the call to locale.setLocale with locale.set in LocaleKtTest to match the updated API for changing the locale.
Introduces Material3 color schemes (PDE3LightColor, PDE3DarkColor) and typography (PDE3Typography) for the Processing app. Adds a new PDETheme composable and demo in Theme.kt, deprecates legacy Material2 theme usage, and updates theme-related files to support Material3 components and styles.
Introduces primary, secondary, tertiary, and error container colors to the color scheme in Colors.kt and updates Theme.kt to preview these new color containers in the UI. Also adds a disabled Switch preview and adjusts the initial Slider value for better demonstration.
Replaces the previous PDE3LightColor and PDE3DarkColor with new lightScheme and darkScheme generated by Material Theme Builder, including support for medium and high contrast variants. Updates Theme.kt to use the new color scheme variables, improving consistency and maintainability of theme colors.
Introduced Material3 RangeSlider to the theme preview UI alongside the existing Slider. Also provided a custom Density in ProcessingTheme for improved UI scaling.
Renamed theme-related variables to clarify Material2 vs Material3 usage (e.g., PDE2LightColors, PDELightColor). Updated ProcessingTheme and PDETheme to use new names and improved documentation. Deprecated old typography and shapes variables in favor of new ones.
Introduces Colors.kt with custom color schemes for light and dark themes using Material3. Refactors Theme.kt to use Material3 theming, adds a PDETheme composable, and provides a desktop preview app for theme components. Updates Typography.kt to use Space Grotesk font family and defines new typography styles for Material3.
Replaces Material2 components with Material3 in WelcomeToBeta, removes custom PDEButton in favor of Material3 Button, and updates theme usage to PDETheme. Also simplifies background modifier in PDETheme and removes unused Kotlin Multiplatform plugin from build.gradle.kts.
Includes SpaceGrotesk font variants (Bold, Light, Medium, Regular, SemiBold) and the associated SIL Open Font License. This enables usage of the Space Grotesk typeface in the project.
Switched markdown renderer imports from m2 to m3 and updated the dependency version to 0.37.0. Adjusted WelcomeToBeta window size, layout, and logo dimensions for improved appearance. Ensured Box in Theme.kt fills available space for better layout consistency.
Introduces a new Preferences screen using Jetpack Compose, featuring a NavigationRail for settings categories, a search bar, and placeholder content. Includes main entry point for launching the preferences window in both dark and light themes.
Reworked Preferences UI to support dynamic preference groups and searching. Added new General and Other preference groups with controls, and updated language properties for advanced preferences. Introduced PDEPreference and PDEPreferenceGroup data classes for extensibility.
Introduces preferences for sketch naming approach, update check on startup, and welcome screen visibility. Also improves UI spacing and filtering logic in Preferences screen.
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.

1 participant