µ6: recommend-widget + adminstrative stuff

The focus this sprint has been to make a recommendation widget that can be integrated with DDB-CMS. And also lots of administrative stuff. During the sprint a recommendation widget prototype was created and deployed on a public library test/stagning site (can be seen in the screenshot above), and the underlying recommender API was also improved significantly.

Can be demo’ed via document.head.appendChild(document.createElement('script')).src='https://cdn.bibspire.dk/recommend-widget.min.js' in console on /ting/object/… url on ddbcms-site, – or adding <script src="https://cdn.bibspire.dk/recommend-widget.min.js"></script> via Add To Head Drupal plugin.

 

Takeaways

  • minimal webpack+babel-config for react
  • mutation observer api