1. 01 Feb, 2016 1 commit
    • Robert Knight's avatar
      Log a useful hint if the WebSocket connection is rejected · e5431df1
      Robert Knight authored
      The WebSocket only accepts connections from a whitelist of
      origins. When connecting to a local H service, provide
      a useful hint when connections (eg. from a local Chrome
      extension build with bundled assets) are rejected due
      to the H service not having the sidebar app's origin
      whitelisted.
      e5431df1
  2. 26 Jan, 2016 4 commits
    • Nick Stenning's avatar
      Merge pull request #2894 from hypothesis/increase-max-annot-body-size · 9fa71fc2
      Nick Stenning authored
      Double the truncation threshold height for annotations
      9fa71fc2
    • Nick Stenning's avatar
      Merge pull request #2887 from hypothesis/optimistic-save · 644e5daa
      Nick Stenning authored
      Prevent double-posting of new annotations
      644e5daa
    • Robert Knight's avatar
      Double the truncation threshold height for annotations · 4512582c
      Robert Knight authored
      As per https://trello.com/c/7QtpfMB5/ increase the threshold
      so that only very long annotation bodies are truncated.
      4512582c
    • Robert Knight's avatar
      Prevent double-posting of new annotations · f407141a
      Robert Knight authored
      When the user clicks the 'Post' button to create an annotation,
      optimistically switch the card back to View mode but display
      a 'Saving...' indicator in place of the Reply/Edit/Delete links.
      
      This makes the UI appear more responsive when the user clicks
      the Post button and also prevents an issue where the user could
      click 'Post' multiple times during the save and create multiple
      annotations.
      
       * Fix a possible inconsistency between the 'Post' button's enabled
         state and whether or not the save() function can succeed.
      
         The hasContent() and isShared() methods also already have tests,
         so this lets us remove several redundant tests.
      
       * Fix inconsistency in the return type of the save() function -
         always return a promise.
      
       * Treat negative status values as network errors as well as 0.
         If the server is unreachable, the real status value may be -1.
      
      Fixes #2864
      f407141a
  3. 25 Jan, 2016 2 commits
  4. 22 Jan, 2016 12 commits
  5. 21 Jan, 2016 8 commits
  6. 20 Jan, 2016 1 commit
  7. 14 Jan, 2016 5 commits
  8. 13 Jan, 2016 7 commits