Skip to content

Commit 58e4b87

Browse files
committed
[FW] Terms and conditions support
1 parent 53998e5 commit 58e4b87

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 23.12.7
2+
- Added support for Feedback Widget terms and conditions
3+
14
## 23.12.6
25
- Mitigated an issue where error tracking could prevent SDK initialization in async mode
36

examples/create_examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def setup_react_example():
2323

2424
def setup_angular_example():
2525
print("Creating Angular example...")
26-
os.system("npx @angular/cli new angular-example --defaults")
26+
os.system("npx @angular/cli@next new angular-example --defaults")
2727

2828
# Copy contents of Angular folder over to Angular example
2929
shutil.copytree("Angular", "angular-example/src", dirs_exist_ok=True)

lib/countly.js

+1
Original file line numberDiff line numberDiff line change
@@ -3726,6 +3726,7 @@
37263726
if (feedbackWidgetSegmentation) {
37273727
var customObjectToSendWithTheWidget = {};
37283728
customObjectToSendWithTheWidget.sg = feedbackWidgetSegmentation;
3729+
customObjectToSendWithTheWidget.tc = 1; // indicates SDK supports opening links from the widget in a new tab
37293730
url += "&custom=" + JSON.stringify(customObjectToSendWithTheWidget);
37303731
}
37313732
// Origin is passed to the popup so that it passes it back in the postMessage event

0 commit comments

Comments
 (0)