1. 12 Jul, 2016 2 commits
    • Robert Knight's avatar
      Make tab bar keyboard accessible · 66f328a5
      Robert Knight authored
      Use anchor rather than link elements for the tab bar items so that they
      are focusable via keyboard navigation.
      
      Also follow code conventions and use 'is-<state>' for element states set in JS.
      66f328a5
    • Robert Knight's avatar
      Focus Annotation / Notes tabs on tap or mouse down · 1874d9f5
      Robert Knight authored
      Focus the Annotation and Notes tabs on touch or mouse down rather than
      click.
      
      This makes the tabs act more like tabs in native apps and feel more
      responsive.
      
      Since Angular does not provide a built-in attribute directive for
      handling touch events, implement a custom one.
      1874d9f5
  2. 11 Jul, 2016 2 commits
    • Robert Knight's avatar
      Merge pull request #24 from hypothesis/selection_tabs · ff2ae2ba
      Robert Knight authored
      Selection tabs tweaks.
      ff2ae2ba
    • Sheetal Umesh Kumar's avatar
      Selection tabs tweaks. · 8ef41ed3
      Sheetal Umesh Kumar authored
      Fix PR comments including some UI tweaks and bug fixes.
      
      Hide no annotations/notes message when annotations are still loading.
      When the annotations are still loading, a 0 annotations message shows for a flash of a
      second before the list loads. Avoid this by only displaying the 0 state after the
      annotations have finished loading.
      
      If selected annotation/note is deleted, default selected tab to annotation.
      If a user lands on a direct link for a deleted annotation, the button to take the user
      back to the list of annotations/notes should by default be for annotations.
      On clearning the selection, filter annotations according to the selected tab type.
      
      Fix broken standalone page for notes.
      selectedTab was set to annotations by default, even for standalone pages.
      selectedTab should be undefined for a standalone page because there are no tabs to select from.
      select the annotations tab by default for the sidebar alone.
      
      Change copy for empty annotaitons/notes state.
      8ef41ed3
  3. 08 Jul, 2016 2 commits
  4. 07 Jul, 2016 2 commits
  5. 06 Jul, 2016 1 commit
  6. 05 Jul, 2016 13 commits
  7. 04 Jul, 2016 7 commits
  8. 01 Jul, 2016 11 commits