1. 21 Oct, 2015 4 commits
  2. 20 Oct, 2015 4 commits
  3. 19 Oct, 2015 8 commits
  4. 16 Oct, 2015 17 commits
  5. 15 Oct, 2015 7 commits
    • Robert Knight's avatar
      Increase top bar height to 40px · 37127a8c
      Robert Knight authored
      Increase top bar height to 40px to match the designs.
      A visual side effect is that the dropdown menus now
      overlap the top bar and clearly appear on top of it
      rather than just below.
      37127a8c
    • Robert Knight's avatar
      Adjust dropdown menu arrow location for groups list · be78fc2b
      Robert Knight authored
      Position the arrow at the top of the groups list
      dropdown menu so that it appears beneath the
      dropdown indicator in the top-bar.
      
      This is done by hiding the dropdown menu's "built in"
      arrow created via CSS :before and :after pseudo-elements
      and introducing a separate element which uses the same
      technique with borders to create the dropdown arrow.
      
      The use of a separate element for the arrow allows it
      to be aligned with the right edge of the dropdown menu's
      parent element (in this case, the group name in the top bar)
      rather than the dropdown menu's content.
      be78fc2b
    • Robert Knight's avatar
      Simplify styling of top-bar · 7a7c2510
      Robert Knight authored
       * Set the inner container in the top bar to the full height
         of the top bar.
      
         This corrects the vertical alignment of the toolbar icons.
      
       * Remove the extraneous 'content' class from the top bar
      
       * Remove unused selectors for button styling
      
      T-90
      7a7c2510
    • Robert Knight's avatar
      Collapse the search input when the search query is empty · 648dd657
      Robert Knight authored
      When the new top-bar design is enabled,
      collapse the search input unless the field is hovered,
      focused or there is an active search query.
      
      In the legacy top-bar design, the search field remains
      expanded all the time
      
      T-90
      648dd657
    • Robert Knight's avatar
      Merge pull request #2619 from hypothesis/explicit-settings-for-websocket · 4490b70c
      Robert Knight authored
      Explicit settings for websocket
      4490b70c
    • Nick Stenning's avatar
      Use websocket URL provided in settings · 8334e2f7
      Nick Stenning authored
      Rather than constructing a URL from hard-coded defaults in the streamer
      service, we pass the websocket URL from the backend in the settings
      object and use this when opening the websocket.
      8334e2f7
    • Nick Stenning's avatar
      Load API URL from a settings object, not a <link> tag · c1d03a03
      Nick Stenning authored
      The approach of embedding a link tag in the app.html doesn't really give
      us a great deal of flexibility. URLs within the application, perhaps as
      a result, tend to be created either from baseURI or from the API URL,
      called `serviceUrl` in the code.
      
      This commit leaves the <base> tag alone, but:
      
      - replaces the serviceUrl <link> tag with a settings object,
        `window.hypothesis.settings` which is inlined into app.html.
      - replaces the serviceUrl angular service with a generic settings
        service.
      - renames serviceUrl to apiUrl, to make its purpose more obvious.
      c1d03a03