1. 29 Sep, 2015 3 commits
    • Robert Knight's avatar
      Fix an issue where clicking the dropdown arrow in Chrome saved changes · acd8374e
      Robert Knight authored
      In Chrome, clicks on elements inside a disabled <button>
      will not invoke the <button>'s "click" event listeners
      but they will propagate through the button and invoke parent
      element's click handlers. In Firefox however, the click
      event is not propagated.
      
      The fix here is to install the click handler for the main
      part of a dropdown button on the <button> itself, rather than
      the container <div> which holds the main button and
      the dropdown arrow.
      
      Card 89
      acd8374e
    • Robert Knight's avatar
      Correct spacing between 'Post' and 'Cancel' buttons · e3af076b
      Robert Knight authored
      The spacing was lost when the cancel button was moved
      into the <publish-annotation-btn> directive.
      
      Card 89
      e3af076b
    • Robert Knight's avatar
      Update Cancel button style as per design · 7a7f3f2d
      Robert Knight authored
       * Use cancel button with a thin circle outline
      
       * Change normal and hover colors to light/dark grey as
         per discussion on the card.
      
      Card 89
      7a7f3f2d
  2. 28 Sep, 2015 3 commits
  3. 26 Sep, 2015 18 commits
  4. 25 Sep, 2015 9 commits
  5. 24 Sep, 2015 5 commits
    • Sean Hammond's avatar
      Add tests for shouldShowThread() · 4102d301
      Sean Hammond authored
      4102d301
    • Sean Hammond's avatar
      Change $anchored -> $orphan · 6ebf0412
      Sean Hammond authored
      Instead of setting $anchored=true on anchored annotations, set
      $orphan=true on orphaned (i.e. unanchored) ones as we used to do.
      
      Orphaned annotations are the exception: we don't show them, or if
      show_unanchored_annotations is one then we show them with a warning.
      It's simpler and less buggy to add $orphan=true onto the exceptional
      annotations than to try to add $anchored=true onto all of the
      unexceptional ones.
      
      Fixes #2525.
      Fixes #2541.
      6ebf0412
    • Nick Stenning's avatar
      Merge pull request #2533 from hypothesis/9sqXWtNi-fix-title-for-local-file-pdf-annotations · 530466ae
      Nick Stenning authored
      Fix document title and domain for local file PDF annotations
      530466ae
    • Sean Hammond's avatar
      Fix broken card titles for some annotations · ca26970b
      Sean Hammond authored
      This fixes two issues on the annotation cards for some annotations:
      
      1. If the annotated document has a non-http(s) URI (e.g. a local file://
         URI) then don't hyperlink the document's title to that URI
      
      2. If the annotated document has no .domain value or its domain is the
         same as its title then don't display anything, instead of displaying
         a pair of emtpy braces ().
      
      To fix this move the logic for formatting an annotation's document's title
      and domain into AngularJS filters where it can be tested, instead of in
      the template.
      ca26970b
    • Nick Stenning's avatar
      Merge pull request #2534 from robertknight/autoprefix_css · a13ea6d2
      Nick Stenning authored
      Use autoprefixer to add vendor prefixes to CSS
      a13ea6d2
  6. 23 Sep, 2015 2 commits