This page looks best with JavaScript enabled

2023.1010

 ·  ☕ 2 min read

Achievement

  • Not quit the job yet to make the manager happy.
  • Rewrite some test cases to make the proejct happy.
  • Buy a translation pen to make me happy.

Code quality

Editor

  • Let lyric editor able to drag the range of the text to create the ruby. karaoke
    • Adjust lyric caret state brhavior for more assertion. karaoke
    • Add StartDragging() and EndDragging() for the LyricCaretState.cs. karaoke
    • Change the drag caret position will not change the caret position. karaoke
      CraetPosition will have value only click the lyrc.
      RangeCaretPosition will have value only if drag inside the lyric.
      
    • Implement create ruby tag popover. karaoke
    • Remove create ruby/romaji button. karaoke
    • Improvement UX part of create ruby text popover. karaoke
      1. Should not have default ruby text text, using placeholder instead.
      2. Should not be possible to create the ruby text with empty text.
      
    • Create popover for able to edit ruby text. karaoke
    • Adjust popover position. karaoke
  • [WIP] Start moving romaji inside the time-tag. karaoke
    • Ruby mode should after time tag mode. karaoke
    • Implement the change handler for able to generate properties from lyric. karaoke
      Because current change handler architecture does not support generate time-tag and romaji inside the time-tag at the same change handler.
      
    • Add time-tag romaji generator into generator change handler. karaoke
    • Editor should edit the romaji property inside the time-tag. karaoke
    • Fix the lyric import step broken. karaoke
    • Remove old romaji generator. karaoke
    • Remove old romaji change handler. karaoke
    • Remove old romaji check. karaoke

Fix

  • Fix invalid culture code cause cannot load the ruleset. karaoke

Testing

  • Rewrite the LyricCaretStateTest for testing the behavior as different aspect. karaoke

Utility

  • Add utility to check is latin. karaoke
    Romanized lyrics should be all latin cnaracters.