1. 23 Nov, 2011 8 commits
    • Łukasz Nowak's avatar
      Do less iterations. · 208fc01f
      Łukasz Nowak authored
      The per character precision is not needed and expensive. Chomp slice faster,
      as anyway text will be truncated.
      208fc01f
    • Łukasz Nowak's avatar
      Do less calls to jquery methods. · 6ac448af
      Łukasz Nowak authored
      6ac448af
    • Łukasz Nowak's avatar
      Enable box ellipsis. · fee99f7a
      Łukasz Nowak authored
      The logic has been flipped out. It is required in order to ask for height() of
      drawn elements -- they have to be already connected to DOM.
      
      In order to improve the code design of drawing the UI shall be changed and
      dynamic ellipsis calculation improved.
      fee99f7a
    • Łukasz Nowak's avatar
      Drop debugging border. · 464cf8e8
      Łukasz Nowak authored
      464cf8e8
    • Łukasz Nowak's avatar
      Only replace with dots if truncated. · d6b24b75
      Łukasz Nowak authored
      d6b24b75
    • Łukasz Nowak's avatar
      Checkpoint: own ellipsis. · 4fa8da90
      Łukasz Nowak authored
      Unfortunately ellipsis libraires are not capable to do ellipsis on not shown
      elements.
      
      Even worse: they add dynamic styling in order to apply ellipsis.
      
      Implement own ellipsis algorithm. It is work in progress: we need to unhide
      elements early in order to have height calculation.
      4fa8da90
    • Łukasz Nowak's avatar
      Drop debug id. · 77363972
      Łukasz Nowak authored
      77363972
    • Łukasz Nowak's avatar
      Use plugin to do ellipsis. · 85f35509
      Łukasz Nowak authored
      text-overlap: ellipsis works only for one line presentation with no wrap.
      
      There is not known CSS way to have ellipsis in end of box, so dotdotdot plugin
      has been chosen.
      
      As elements are created dynamically update elements after the document is ready,
      otherwise dotdotdot will not be able to apply required changes.
      85f35509
  2. 22 Nov, 2011 16 commits
  3. 21 Nov, 2011 2 commits
  4. 18 Nov, 2011 6 commits
  5. 17 Nov, 2011 8 commits