Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 2.04 KB

notes.md

File metadata and controls

62 lines (44 loc) · 2.04 KB

Versioning scheme

major.minor.patch

Before v1.0.0:

  • major: always 0
  • minor: feature theme
  • patch: fixes under the same feature theme

After v1.0.0:

  • major: feature theme
  • minor: lesser additions under the same feature theme
  • patch: fixes for minor versions, no new features

Upcoming Version

  • 1.0.0 - First stable release!
    • Capture signal.WINCH, use it for window size detection

    • Remove/rework focus system

      • it really only exists for InputField, which doesn't need it anymore
      • Widget.selected_index should be used instead, or there should be deeper implementation
    • look into making mouse events callback-based (see winman)

      • add support for multiple events reporting at the same time
    • Rework Widget.click()

      • targets should be found using Widget.get_target()
      • target.click() can then be called directly
      • add Widget.hover(target: MouseTarget)
    • Rework width & height systems

      • instead of forced_width, there should be a combination of an overflow & a size policy
      • overflow/expand -> current no forced width behaviour
      • overflow/clip -> shorten lines to fit width

Future versions

  • 2.0.0 - The stylish update!

    • Add color methods
      • gradient ([<@141], [<141], [>@141], get_gradient(including: int))
      • complement (get_complement(color: int))
    • Add support for newlines in break_line
    • make MarkupFormatter more dynamic:

      • there should be a way you can incorporate depth information into a code
      • this needs parser support however
      • e.g.: [@{30 + {depth} * 36}]this is a gradient of depth
    • add background styles

  • unnamed (order irrelevant)

    • WindowManager tiling layout
    • maybe make MarkupFormatter serializable?

    • maybe clean up how Widget "enum" attributes are written