1. 02 Aug, 2018 1 commit
    • Robert Knight's avatar
      Fix `groups.focused()` error if localStorage is empty when client loads · 2fef71a3
      Robert Knight authored
      If the client started and local storage did not contain a saved
      last-viewed group ID, then `groups.load()` would attempt to call
      `store.focusGroup(null)`. As a result subsequent calls to
      `groups.focused()` would return null and code in various places in the
      application expects that there will always be a focused group.
      
      Fix the problem by not setting the focus group after groups are fetched
      unless the previously-focused group was set and exists in the new
      groups list.
      
      Also improve the behavior of `store.focusGroup` by making it leave the
      focused group untouched if the specified group has not been loaded, but
      log an error so we'll know (via Sentry) if it happens again.
      
      Fixes #750
      2fef71a3
  2. 17 Jul, 2018 2 commits
  3. 12 Jul, 2018 1 commit
  4. 10 Jul, 2018 4 commits
  5. 09 Jul, 2018 1 commit
  6. 27 Jun, 2018 1 commit
  7. 14 Jun, 2018 10 commits
  8. 12 Jun, 2018 1 commit
    • Robert Knight's avatar
      Fix "No results for {query}" message · 01915c04
      Robert Knight authored
      Usage of `vm.search.query` in the `<sidebar-content>` template was
      incorrect. `vm.search` is always set and `query` is a function that
      returns a string, not a string.
      
      Fixes #9
      01915c04
  9. 08 Jun, 2018 4 commits
  10. 06 Jun, 2018 1 commit
    • Robert Knight's avatar
      Convert PdfSidebar to JS · 345a0599
      Robert Knight authored
      ES 6 does not provide a direct equivalent for CoffeeScript's static
      class properties so the initialization of `options` has been refactored
      to use `Object.assign()` as a more idiomatic way to combine the config
      args passed to the constructor with the defaults for `PdfSidebar`.
      345a0599
  11. 29 May, 2018 3 commits
    • Juan Corona's avatar
      Implement functionality for external container config · 37b3c617
      Juan Corona authored
      - Set a new `externalFrame` property when the external container config is provided.
      - Use the new instance var is over the existing `frame` var.
      	- This was done to isolate the new usage from the existing usage of `frame`
      	- The existing usage of `frame` applies control over the sidebar frame, which works against what we want with `externalFrame`
      - Make the uses of `frame` conditional.
      	- These are the statements that are not invoked when the external container is specified.
      	- The one case where we do want to use either frame is when emitting `onLayoutChange`
      - Refactor the Sidebar tests to test for the added implementation and usage
      37b3c617
    • Juan Corona's avatar
      Make the loading of the BucketBar and Toolbar plugins selective · 9c3fb515
      Juan Corona authored
      - Add logic that removes the plugins conditionally based on the config.
      - Move the existing logic for the `theme` config to be grouped with the above.
      - The new location for the existing logic is better for testing.
      - Add tests for the new and existing logic.
      9c3fb515
    • Juan Corona's avatar
      d9a12ac4
  12. 28 May, 2018 1 commit
  13. 25 May, 2018 4 commits
  14. 14 May, 2018 2 commits
  15. 11 May, 2018 2 commits
  16. 10 May, 2018 2 commits