1. 03 Jun, 2016 1 commit
  2. 02 Jun, 2016 3 commits
    • Robert Knight's avatar
      Merge pull request #3379 from hypothesis/sort-state-redux · 0a894ccc
      Robert Knight authored
      Move canonical annotation list sort state to Redux store
      0a894ccc
    • Robert Knight's avatar
      Move canonical sort state to Redux store · 708f2847
      Robert Knight authored
      This is a step towards getting us to a place where all important state
      in the front-end app is managed in the same way - kept in the Redux
      store and modified only via actions.
      
      The sort state was duplicated as a property on the $scope and also
      stored in the Redux store.
      
      Instead just expose functions on the scope which retrieve this state
      directly from the store and dispatch an action to the store when the
      user selects a different sort mode.
      
      In addition, the terminology for sorting has been normalised across the
      application (sortBy/sortOptions -> sortKey/sortKeysAvailable), and the
      ability to sort the stream has been removed, as it was nonsensical and
      broken.
      708f2847
    • Christof Dorner's avatar
      Merge pull request #3399 from hypothesis/fix-icon-spacing · b082181f
      Christof Dorner authored
      Fix icon spacing
      b082181f
  3. 01 Jun, 2016 10 commits
  4. 30 May, 2016 11 commits
  5. 27 May, 2016 1 commit
  6. 26 May, 2016 8 commits
  7. 25 May, 2016 6 commits
    • Robert Knight's avatar
      Remove an unused CSS class · 669d7c80
      Robert Knight authored
      Usage of this was removed by ba02aee28
      669d7c80
    • Robert Knight's avatar
      Improve logic for scrolling sidebar to annotation with a given ID (#3360) · 66a5da9a
      Robert Knight authored
      The previous logic contained several errors and omissions which could
      result in the card not appearing at the top of the viewport after
      scrolling.
      
       1. If the set of visible threads changed multiple times before the timeout
          that triggered re-measuring of visible thread heights changed, then
          a measured height could be replaced with 0.
      
          Add checks to catch this.
      
       2. Account for the target scroll offset changing as a result of
          the document height increasing after the actual heights of
          cards become known and consequently the maximum possible
          scroll offset changes.
      
       3. Correct calculation of the position that we need to scroll the
          window to in order to have a card positioned at the top
          of the window. For the first card in the list, the position
          should be 0 (as returned by visibleThreads.yOffsetOf(...)),
          and for the Nth card it should be the total height of the N-1
          previous cards.
      66a5da9a
    • Robert Knight's avatar
      Make adder enter/exit animation quicker · 55ad6a05
      Robert Knight authored
      The previous delay made the adder feel laggy. A shorter delay gives a
      snappier feel.
      55ad6a05
    • Robert Knight's avatar
      Add enter/exit animation when adder is shown · 68fcda35
      Robert Knight authored
      Add an entry animation for the adder which makes it 'pop up' or 'pop
      down', depending on which direction the arrow is pointing.
      
      Additionally, animate the color transitions when hovering over the
      toolbar buttons to soften the changes.
      68fcda35
    • Robert Knight's avatar
      Remove a remaining unused piece of the old threading implementation (#3359) · 4f194af8
      Robert Knight authored
      This was missed in 6c0e21a5df.
      4f194af8
    • Robert Knight's avatar
      Fix strict-mode violations in streamer.js (#3358) · afc5812a
      Robert Knight authored
      Fix several missing 'var' declarations in streamer.js
      afc5812a