Skip to content

Releases: nfiniteAI/display-controller

v2.0.0

15 Jan 17:51
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • The content inside your container is now a web-component but not an iframe
    You can still fallback to the old mode by passing embedMode: iframe in the options
  • You cannot use an existing iframe anymore
  • You cannot use anymore data-hubstairs attributes as options parameters on your container

Features

  • app embedMode JS (cb98a47)
  • embed js display model (!142) (6a60ab7)
  • remove insertion with a preexisting iframe (5947c05)
  • remove insertion with html attributes (538e83c)

Bug Fixes

  • display-js: render webcomponent on insert (8262654)

v1.9.0

15 Jan 17:50
Compare
Choose a tag to compare

Features

  • props labelProductClick sent to controller (996da03)

Full Changelog: v1.8.0...v1.9.0

v1.8.0

15 Jan 17:50
Compare
Choose a tag to compare

Features

  • dont register productClick event if no onProductClick received (2faa831)

Full Changelog: v1.7.2...v1.8.0

v1.7.2

15 Jan 17:49
Compare
Choose a tag to compare

Bug Fixes

  • integration mode with existing iframe (9ae67aa)

Full Changelog: v1.7.1...v1.7.2

v1.7.1

29 Jul 20:17
Compare
Choose a tag to compare

Bug Fixes

  • display-react: enable initialProducts and initialProductsMode on display-react (0ce806d)

v1.7.0

29 Jul 19:30
Compare
Choose a tag to compare

Features

  • add initialProducts and initialProductsMode options (c809865)

It's now possible to choose in the infinite display which products will be displayed as initial product
For that, you have to send an array of product code in the initialProducts option

It's also possible to choose the mode to display initial products:

  • random: if the product is not in the initialProducts list we will use a random product at the location
  • default: if the product is not in the initialProducts list we will use the product set in the back office at the location

For that, you have to use the option initialProductsMode

v1.6.1

20 Jun 22:40
Compare
Choose a tag to compare

Bug Fixes

  • display-react: wrong onChangeSelectedProductLocation props name (d6cfad4)

v1.6.0

15 Jun 15:54
Compare
Choose a tag to compare

Features

  • add callback onLoadScene and onChangeSelectedProductLocation (a1164bb)

v1.5.1

17 May 20:53
Compare
Choose a tag to compare

Bug Fixes

v1.5.0

17 May 20:48
Compare
Choose a tag to compare

Features

  • display-js: prepare resize function for the future (1fe50bf)
  • display-react: add onChangeProduct callback (946cba5)

Bug Fixes

  • display-js: error when a comment is inside the display container div (3f5ae72)