1. 05 May, 2020 7 commits
  2. 04 May, 2020 24 commits
  3. 01 May, 2020 5 commits
  4. 30 Apr, 2020 4 commits
    • Kyle Keating's avatar
      Add visibility hidden to iframe when closed (#2095) · 88769409
      Kyle Keating authored
      Add visibility hidden to the sidebar iframe when its closed (and after it finishes animation). This prevents all interaction from the components of the sidebar.
      
      Add an optional coerce method to the hostPageSetting so that any incoming values can be coerced if needed. This may be required for values from from via that may only be a string type.
      
      openSidebar config value gets coerced to a boolean in the annotator settings (just like it does in the host-config).
      88769409
    • Robert Knight's avatar
      Add tests for `isFeatureEnabled` selector · dc682384
      Robert Knight authored
      dc682384
    • Robert Knight's avatar
      Re-work group auto-reload when logged in user changes · 971cb669
      Robert Knight authored
      Redo the automatic reload of groups when the logged-in user changes:
      
       - Ignore the initial change of user on startup if the user is logged
         in from a previous session. This generated an unnecessary additional
         API call on startup if the user had a login from a previous session
      
       - Replace the use of the deprecated `USER_CHANGED` Angular event in
         favor of reacting to store state changes using
         `watch(store.subscribe, ...)`
      971cb669
    • Robert Knight's avatar
      Add `hasFetchedProfile` selector · 39e89b24
      Robert Knight authored
      Change the representation of the un-fetched profile within the `session`
      store module to make it possible to determine whether the profile has
      been fetched yet or not and expose this information via a
      `hasFetchedProfile` selector. The `profile` selector continues to return
      a dummy "logged out" profile before the real profile is fetched. This
      simplifies some of the code that uses that selector.
      
      This makes it possible for services to distinguish between the user ID changing
      because the user logged in by clicking "Log in" and completed the login
      process vs. the user already being logged in from a previous session.
      39e89b24