webwhiz icon indicating copy to clipboard operation
webwhiz copied to clipboard

Set widget BASE_TARGET on ENV variables

Open hcarreras opened this issue 1 year ago • 3 comments

It should be possible to decide where the widget's links should be open.

The PR makes it possible to set an ENV variable at build time to open the links in a new tab by setting BASE_TARGET to _blank.

hcarreras avatar Aug 21 '24 12:08 hcarreras

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 21 '24 12:08 CLAassistant

@hcarreras This looks useful.

However, wouldn't it be better to add this as an option under chatbot customizations? This way, users can choose whether the links should open in the parent window or in a new tab for each chatbot.

hrithikt avatar Aug 31 '24 23:08 hrithikt

I agree that'd be even better! I'm a bit busy these days, so I'm unsure when/if I'll be able to make the changes. Since this is an improvement over what's there already, what would you say about merging this and creating an issue request with the improvement?

hcarreras avatar Sep 02 '24 08:09 hcarreras