Skip to content

v0.1.3

Choose a tag to compare

@alvenw alvenw released this 21 Feb 00:31
· 9 commits to main since this release

Rendering overhaul, review actions, and new TUI screens

Rendering

  • Partial CSS color support: 148 CSS named colors (navy, teal, maroon etc) now resolve to hex values as a fallback when Rich doesnt recognise them
  • Implemented high contrast mode, some card styles become unreadable in the terminal so this adjusts color brightness to keep things visible
  • Fixed image rendering by using Textual's widget layer instead of Rich renderables (which get their escape sequences intercepted by Textual's screen buffer)
  • Aspect ratio correct image sizing via PIL with fixed dimensions to prevent scroll jitter from layout oscillation
  • Integrated PR #2 from Pluto4o4, iTerm2 Inline Image Protocol widget for Warp terminal support
  • FrontSide stripping for card templates, some cloze note types duplicate the question content on the answer side via {{FrontSide}} which cluttered reviews

HTML renderer

  • CSS class parsing, HTML entity decoding, display:none handling

Review session

  • Added bury, suspend and flag card actions
  • Note: flag display is not yet implemented, you can flag a card but theres no visual indicator showing a card is flagged, and undo for flags doesnt work yet

TUI

  • Basic config screen and stats screen
  • Color coded deck statistics in deck picker

Bumps version to 0.1.3

Credit to @paperplatesxyz @Pluto4o4 for the update!