webwhiz-ai / webwhiz

WebWhiz allows you to create an AI chatbot that knows everything about your product and can instantly respond to your customer's queries.
https://www.webwhiz.ai/
GNU Affero General Public License v3.0
929 stars 158 forks source link

Set widget BASE_TARGET on ENV variables #224

Open hcarreras opened 3 months ago

hcarreras commented 3 months ago

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.

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

hrithikt commented 2 months ago

@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.

hcarreras commented 2 months ago

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?