Skip to content
Snippets Groups Projects
Select Git revision
  • 7444496985342e06bb15b0c393a5c0e574e01b7a
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

toolkit

  • Clone with SSH
  • Clone with HTTPS
  • Christoph Reiter's avatar
    Reiter, Christoph authored
    The keycloak library currently only sends us an event in case the token
    is about to expire, which is problematic because there is a time window
    where we don't have a new token yet and on mobile the timers used
    might be suspended and come too late.
    
    To avoid this we check every 10 seconds that the token is valid for 30
    and to work around suspended timers we also check on "visibilitychange"
    which should trigger then the website gets visible again after the browser
    sleeps.
    74444969
    History

    Frontend Toolkit

    Overview

    This repository uses yarn 1.x workspaces to link multiple separate packages together and to hoist all shared dependencies to the top level node_modules.

    In addition we use lerna for running commands for all contained packages (until we switch to yarn 2.x which should support this directly).

    Setup

    yarn install

    cd packges/some-package and continue development with yarn run watch etc.

    Other commands

    • yarn run test - Run test for all packages
    • yarn run clean - Removes all node_modules directories.