1. 11 Feb, 2016 6 commits
  2. 10 Feb, 2016 1 commit
    • Robert Knight's avatar
      Improve capture of sidebar injection errors · 3a01aa8b
      Robert Knight authored
       * Capture the tab URL as context when injecting the sidebar
         fails, for use in debugging.
      
       * Switch tests to use the toResult() helper instead of
         Promise.catch() to handle assert errors inside
         catch blocks properly.
      
       * Handle the Error-like objects used by chrome.extension.lastError
         better.
      
         When a Chrome async API fails, it sets chrome.extension.lastError
         to an Error-like object with a 'message' property. Since this
         object is not an instance of Error, RavenJS stringified it
         with .toString(), resulting in an unhelpful '[object Object]'
         message in Sentry.
      
         This commit adds logic to extract out the message property
         of such objects when capturing exceptions.
      3a01aa8b
  3. 09 Feb, 2016 5 commits
  4. 08 Feb, 2016 3 commits
  5. 05 Feb, 2016 2 commits
  6. 04 Feb, 2016 7 commits
  7. 03 Feb, 2016 9 commits
  8. 01 Feb, 2016 2 commits
  9. 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
  10. 25 Jan, 2016 1 commit