-
-
Notifications
You must be signed in to change notification settings - Fork 55
Release 1.2.0 #314
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
base: master
Are you sure you want to change the base?
Release 1.2.0 #314
Conversation
Fix helper.get_screen_aspect_koef() for gui layouts.
…lit by characters option, able to pass a data to GO widgets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces multiple improvements and bug fixes to the Druid UI framework. It includes new widgets for performance monitoring, enhanced properties panel functionality, color system refactoring, rich text improvements, and various component fixes.
- New memory and FPS panel widgets for performance monitoring
- Enhanced properties panel with scene navigation, auto-refresh, and Lua table rendering
- Refactored color system to remove hardcoded colors from rich text styles
Reviewed Changes
Copilot reviewed 26 out of 30 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| wiki/manuals/widget_memory_fps_panels.md | New documentation for memory and FPS panel widgets |
| wiki/changelog.md | Version 1.2.0 changelog with feature additions |
| test/tests/test_rich_text.lua | Updated tests to use hex colors instead of named colors |
| druid/widget/properties_panel/properties_panel.lua | Major enhancements including scene navigation, auto-refresh, and Lua table rendering |
| druid/color.lua | Enhanced color system with palette loading from config |
| druid/custom/rich_text/rich_text.lua | Added split-to-characters functionality |
| druid/base/scroll.lua | Added scroll_to_make_node_visible method |
| druid/base/button.lua | Refactored internal method names for consistency |
| druid/base/blocker.lua | Fixed enabled state initialization bug |
Comments suppressed due to low confidence (1)
druid/widget/properties_panel/properties/property_button.lua:8
- This commented-out field annotation should be removed as it's inconsistent with the uncommented fields above and may cause confusion.
---@field text_button druid.text
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #314 +/- ##
==========================================
- Coverage 68.08% 67.63% -0.45%
==========================================
Files 32 33 +1
Lines 4791 4950 +159
==========================================
+ Hits 3262 3348 +86
- Misses 1529 1602 +73 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Druid 1.2.0
is_enabledstatescroll_to_make_node_visiblefunctionlocal color = require("druid.color")to access the modulestretchandfitwas not init correctly in theinitfunction argumentsrich_text:set_split_to_characters(true)to split each letter node separatelyset_widthandset_heightfunctionsset_position_functionfunction, similar to the Grid component