1. 03 Jul, 2019 8 commits
    • Robert Knight's avatar
      Handle search updates directly within `TopBar` component · 2b52a5ae
      Robert Knight authored
      Instead of passing a `searchController` prop into `TopBar` which is
      responsible for reading and updating the search query, from different
      sources depending on whether this is the sidebar or stream, handle
      reading/updating the search from within `TopBar` itself:
      
       - In the sidebar, read/update the filter query in the store
       - In the stream, render a `StreamSearchInput` control which
         reads/updates the "$q" param from the Angular `$location` service
      
      This removes some indirection and makes it easier to follow where the
      search input gets its data from and what happens when it is changed.
      
      Also fix a bug where existing annotations were not cleared after a route
      change from `/a/:id` to `/stream?q={query}`.
      2b52a5ae
    • Robert Knight's avatar
      Add more detailed prop-types for `auth` and `statusController` properties · 2ae5981f
      Robert Knight authored
      This provides more runtime-checked documentation about what these props
      look like.
      2ae5981f
    • Robert Knight's avatar
      Prevent groups names in the top bar from wrapping · fbe98138
      Robert Knight authored
      If there was not enough space for all of the items in the top bar, the
      group name could end up wrapping. This tended to happen when the group
      name was long, the sidebar was narrow and the search input was active.
      fbe98138
    • Robert Knight's avatar
      Simplify signature of `onSearch` prop · 3aed472f
      Robert Knight authored
      Since this component is no longer referenced within an Angular template,
      the arguments no longer have to be named as properties in an object.
      3aed472f
    • Robert Knight's avatar
      66261f0c
    • Robert Knight's avatar
      Replace h-branding and h-tooltip Angular directive references · f85fd09e
      Robert Knight authored
       - Replace `h-branding` with `applyTheme` utility
      
       - Replace `h-tooltip` with standard tooltips using the `title`
         attribute, which matches other icons in the top bar
      
       - Fix a double-quoted string after `<svg-icon>` in an Angular template
         was converted to `<SvgIcon ...>` in JSX
      f85fd09e
    • Robert Knight's avatar
      Convert `<top-bar>` component to (P)react · fd97febb
      Robert Knight authored
       - Convert `<top-bar>` component to Preact
       - Add additional tests for top bar in different states
       - Remove `<login-control>` component. This has been inlined into `TopBar`
       - Remove unused component wrappers for components that are no longer
         referenced from Angular templates
      fd97febb
    • Robert Knight's avatar
      Merge pull request #1220 from hypothesis/call-end-once · d8efffcf
      Robert Knight authored
      Only emit end if searchClient is done searching
      d8efffcf
  2. 02 Jul, 2019 2 commits
  3. 01 Jul, 2019 10 commits
  4. 28 Jun, 2019 2 commits
  5. 27 Jun, 2019 2 commits
  6. 26 Jun, 2019 5 commits
  7. 25 Jun, 2019 11 commits