1. 27 Mar, 2014 8 commits
    • csillag's avatar
      Simplify comment scope handling · dcf10a5d
      csillag authored
      dcf10a5d
    • csillag's avatar
      Simplify scope switch code · 1b7b99a2
      csillag authored
      1b7b99a2
    • csillag's avatar
      Scope cleanup part 1 · 08d8da15
      csillag authored
      User visible:
       * Introduced the "Tab", "Selection" and "Comments" views, as per #1091
       * Fixed the following problems:
         * Clicking on a tab does not update scope name
         * Clicking on a highlight does not update scope name
         * Clicking on heatmap does not update scope name
      
      Internal:
       * Change function names:
         * applyview -> applyView
         * applysor -> applySort
       * Move the `view` field from viewer's scope to rootScope
       * The `updateViewer` and `showViewer` methods of the Hypothesis class
         no expect a `viewName` parameter (alongside the list of annotations),
         which they use to update the `view` field of the rootScope.
       * Added a `getComments` RPC call in guest, to collect comments for comments
         scope.
      08d8da15
    • gergely-ujvari's avatar
      Merge pull request #1099 from hypothesis/search-refactoring2 · 8c30e319
      gergely-ujvari authored
      Search refactoring 1 - try 2
      8c30e319
    • csillag's avatar
      Search refactoring 1 · 9b9dc70e
      csillag authored
      This does the following:
      
       * Introduces the `viewFilter` service, to filter annotations according to a given query.
       * Factor out the filtering code from the controller into this new service. (As described in #1092)
       * Enhances the tab searching: now we can search for multiple tags.
      9b9dc70e
    • csillag's avatar
    • csillag's avatar
      Fix for #1096 · 602bc0f2
      csillag authored
      602bc0f2
    • csillag's avatar
      Remove some redundant code · 05a4eeef
      csillag authored
      05a4eeef
  2. 25 Mar, 2014 3 commits
  3. 24 Mar, 2014 7 commits
  4. 21 Mar, 2014 2 commits
  5. 19 Mar, 2014 2 commits
    • RawKStar77's avatar
      1349d235
    • RawKStar77's avatar
      Add V1 viewsort feature. · a1e08fc0
      RawKStar77 authored
      The viewsort feature allows users to better control the annotations that appear in the sidebar. The view control allows users to select either SCREEN (in which the sidebar only displays annotations that are currently visible on screen) or DOCUMENT (All annotation on the page are visible in the sidebar). The sort feature allows users to sort annotations by newest, oldest, or location (where they fall in the document). Both controls are implemented in simple tabs below the topbar.
      
      The sort feature is implemented using Angular's very useful OrderBy attribute on ng-repeat.
      
      The view control is implemented using updateviewer.
      a1e08fc0
  6. 17 Mar, 2014 2 commits
  7. 16 Mar, 2014 15 commits
  8. 15 Mar, 2014 1 commit
    • Randall Leeds's avatar
      Kill sliding-panels and summary hover shadow · ffdf6eda
      Randall Leeds authored
      The sliding panels are totally unused. They can be brought back but
      right now it's unnecessary structure. The most reasonable place to
      relocate the card-emphasis was in the stream-list. After all, cards
      go in streams. But I found the stream-list class wasn't actually
      placed on the list, it was placed on the list items. That seems
      counterintuitive, so I raised it up in the structure.
      
      Afterward, to keep the emphasis looking correct, I changed the paper
      class to not have padding, and moved that padding to the thread
      instead. Then I had to change some things about the thread, including
      using it as a class in the editor (which is consistent, and makes
      some sense). That meant that some viewer-only tag styles were bleeding
      over, so I worked on those to make the tag styles a little nicer.
      
      Finally, I had to fix the hover shadow on the threads now, and opted
      to go for a background darkening instead of a shadow, since it works
      across both replies and top level threads, and makes things less
      bouncy, which I find to be a relief.
      
      All in all, I'm happy. Probably will make someone unhappy.
      ffdf6eda