Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point and Click feature #213

Merged
merged 22 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
98333e8
Added Page Builder logic
KambleSonam May 6, 2024
0b9f200
Added html builder logic
KambleSonam May 8, 2024
f7f7ae0
listener function update
KambleSonam May 9, 2024
31b8627
postMessage update
KambleSonam May 10, 2024
de9ad79
postMessage update
KambleSonam May 10, 2024
4dd526b
builder preview fix
KambleSonam May 10, 2024
4391ef5
Added json data handling and bugfixes
KambleSonam May 13, 2024
6939d1b
Removed commented code
KambleSonam May 14, 2024
beade0e
Merge remote-tracking branch 'origin/develop' into task/WEB-2757/poin…
KambleSonam May 14, 2024
dc4d4b0
code commenting and optimisation
KambleSonam May 14, 2024
8516b35
Added check for dom state for initialiseCTBuilder
KambleSonam May 16, 2024
47116a9
removed ready state condition
KambleSonam May 17, 2024
94d6d01
Replaced console with logger
KambleSonam May 20, 2024
1f7a7fe
updated window.overlay function
KambleSonam May 27, 2024
e115ac0
Code Refactor
KambleSonam May 29, 2024
a98c0ea
Moved the checkBuilder method out of clevertap file
KambleSonam May 31, 2024
103a438
Added ready state condition and contentLoad flag
KambleSonam Jun 4, 2024
8fbe82a
Merge remote-tracking branch 'origin/develop' into task/WEB-2757/poin…
KambleSonam Jun 10, 2024
8820ce1
Merge remote-tracking branch 'origin/develop' into task/WEB-2757/poin…
KambleSonam Jun 12, 2024
0ba9545
Updated changelog ang package.json
KambleSonam Jun 12, 2024
e72dc16
Package version update
KambleSonam Jun 12, 2024
bbdd97c
Preventing multiple notification viewes for element render
KambleSonam Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.8.0] - 11 June, 2024
- Introduces the new templates 'In Page Customisation' in 'Web Native Display'.

## [1.7.6] - 11 June, 2024
- Adds Iframe sandboxing for enhanced security against cross-site scripting (XSS) vulnerabilities.

Expand Down
257 changes: 256 additions & 1 deletion clevertap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clevertap.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clevertap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clevertap-web-sdk",
"version": "1.7.6",
"version": "1.8.0",
"description": "",
"main": "clevertap.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/clevertap.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import NotificationHandler from './modules/notification'
import { hasWebInboxSettingsInLS, checkAndRegisterWebInboxElements, initializeWebInbox, getInboxMessages, saveInboxMessages } from './modules/web-inbox/helper'
import { Variable } from './modules/variables/variable'
import VariableStore from './modules/variables/variableStore'
import { checkBuilder } from './modules/visualBuilder/pageBuilder'

export default class CleverTap {
#logger
Expand Down Expand Up @@ -584,6 +585,7 @@ export default class CleverTap {
// already initailsed
return
}
checkBuilder(this.#logger)
StorageManager.removeCookie('WZRK_P', window.location.hostname)
if (!this.#account.id) {
if (!accountId) {
Expand Down
2 changes: 2 additions & 0 deletions src/modules/visualBuilder/builder_constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const OVERLAY_PATH = 'https://d2r1yp2w7bby2u.cloudfront.net/js/lib-overlay/overlay.js'
export const CSS_PATH = 'https://d2r1yp2w7bby2u.cloudfront.net/js/lib-overlay/style.css'
Loading
Loading