druid icon indicating copy to clipboard operation
druid copied to clipboard

Release 1.2.0

Open Insality opened this issue 6 months ago • 1 comments

Druid 1.2.0

  • [Blocker] Fix for internal is_enabled state
  • [Button] Expose all click functions for the button
  • [Scroll] Add scroll_to_make_node_visible function
  • [Palette] Add Druid Color module
    • Use local color = require("druid.color") to access the module
    • Manage color palettes
    • Color conversions
    • Convenient usage
  • [Container] Fix for container stretch mode
    • stretch and fit was not init correctly in the init function arguments
  • [Rich Text] Using color names from the palette
  • [Rich Text] Add rich_text:set_split_to_characters(true) to split each letter node separately
    • Weird implementation, but nice to have
  • [Rich Text] Add set_width and set_height functions
  • [GO Widgets] Now passes events and functions from the widget to the GO context
  • [Layout] Add set_position_function function, similar to the Grid component
  • #329 Allow numeric characters in RichText tags

Insality avatar Jun 19 '25 17:06 Insality

Codecov Report

:x: Patch coverage is 48.92473% with 95 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 67.63%. Comparing base (ba7ee40) to head (f39c23f). :warning: Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
druid/base/scroll.lua 2.94% 33 Missing :warning:
druid/druid.lua 19.04% 17 Missing :warning:
druid/helper.lua 41.66% 14 Missing :warning:
druid/custom/rich_text/rich_text.lua 38.46% 8 Missing :warning:
druid/color.lua 70.83% 7 Missing :warning:
druid/custom/rich_text/module/rt_parse.lua 44.44% 5 Missing :warning:
druid/extended/layout.lua 63.63% 4 Missing :warning:
druid/base/button.lua 80.00% 3 Missing :warning:
druid/system/druid_instance.lua 66.66% 2 Missing :warning:
druid/component.lua 0.00% 1 Missing :warning:
... and 1 more
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     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 25 '25 17:11 codecov[bot]