{"push_id":843771872,"size":1,"distinct_size":1,"ref":"refs/heads/lightbox","head":"3cb312806df343bc3fddede0f3365e18c6773ee8","before":"afe24116e45bfa55389422e8684df51812ab4dd5","commits":[{"sha":"3cb312806df343bc3fddede0f3365e18c6773ee8","author":{"email":"2ca25cb2e51be55da6a968a4b1fe22db8d73d492@gmail.com","name":"Adam Brengesjö"},"message":"feat(Viewer): Open a lightbox on project logo click (optional)\n\nThis change is inspired by the discussion at\nhttps://forum.bpmn.io/t/license-questions/85/3\n\nA demo of the effect is available at\nhttp://jsfiddle.net/amatius/vhtn69h8/show/\n\nThe viewer (and modeler) can now be initialized with the option\nto open a lightbox when the project logo is clicked, rather than\nnavigating directly to the bpmn.io site.\n\nThis behaviour is preferred in some cases to ensure that the user\nunderstands that he/she has left the host application for the\nbpmn.io site, thereby reducing the risk that sensitive information\nis inadvertantly entered on bpmn.io. It also has the advantage of\nmaking the user explicitly aware of bpmn.io and the relationship to\nthe host application.\n(Yes, the bpmn.io site is opened in a new tab/window, but some\nusers may find this difficult to understand...)\n\nTo opt-in using this feature you must initialize the viewer/modeler\nwith a new option property\n\n\tnew BpmnModeler({ poweredBy: 'lightbox' });\n\nAs this may be seen as a change to the source code protected by the\nlicense, I've taken extra considerations to fulfill the intention\nand purpose (according to my understanding) of the license terms.\nFor this reason, I had a couple of requirements when designing the\nlightbox:\n\n- A clickable link to http://bpmn.io must be included\n- The logo of BPMN.IO must be included\n- The visual appearance of the BPMN.IO should be recognized in the\n  lightbox\n- The user must not be discouraged/prevented from navigating to\n  http://bpmn.io (but will do so as a consequence of an informed\n  decision).\n\nPlease note that we are NOT using this change, since this could be\nseen as a violation of the license terms until approved by Camunda\n(the license holder).","distinct":true,"url":"https://api.github.com/repos/adbre/bpmn-js/commits/3cb312806df343bc3fddede0f3365e18c6773ee8"}]}