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

[MOB-7175]: add new filter method that leaves in JSON only messages #238

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

mprew97
Copy link
Contributor

@mprew97 mprew97 commented Oct 17, 2023

JIRA Ticket(s) if any

Resolves #237

Description

There is a requested use case to have the filterHiddenInAppMessages method not filter out JSON only messages. Because this method is used to paint messages to the i-frame and other users may depend on the current logic/behavior, we have opted to build a separate method with similar logic, albeit no longer filtering based on the presence of a message's html contents.

Test Steps

@mprew97 mprew97 merged commit 8f01a76 into main Oct 19, 2023
1 check passed
@mprew97 mprew97 deleted the MOB-7175 branch October 19, 2023 16:52
devcsomnicg added a commit to devcsomnicg/iterable-web-sdk that referenced this pull request Nov 23, 2023
* banner view implemented

* code changes as per recent review

* usage of banner view

* Banner View Webpack config changed

* .babelrc config changed

* [MOB-7175]: add new filter method that leaves in JSON only messages (Iterable#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (Iterable#240)

Co-authored-by: mitch prewitt <[email protected]>

---------

Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: devcsomnicg <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
Co-authored-by: Hani <[email protected]>
mprew97 added a commit that referenced this pull request Dec 6, 2023
…238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
pauljung14 pushed a commit that referenced this pull request Feb 20, 2024
* Bump postcss from 8.3.11 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.3.11...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 5.7.1 to 5.7.2

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump tough-cookie from 4.0.0 to 4.1.3

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.74.0 to 5.76.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump json5 from 1.0.1 to 1.0.2 in /example

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump json5 from 1.0.1 to 1.0.2 in /react-example

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2 in /react-example

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2 in /example

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump loader-utils from 1.4.0 to 1.4.2 in /react-example

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump loader-utils from 1.4.0 to 1.4.2 in /example

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* [MOB-7175]: add new filter method that leaves in JSON only messages (#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (#240)

Co-authored-by: mitch prewitt <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4 in /react-example

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4 in /example

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 6.3.0 to 6.3.1 in /react-example

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 6.3.0 to 6.3.1 in /example

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump tough-cookie from 4.0.0 to 4.1.3 in /example

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.63.0 to 5.76.0 in /react-example

Bumps [webpack](https://github.com/webpack/webpack) from 5.63.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.63.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.63.0 to 5.76.0 in /example

Bumps [webpack](https://github.com/webpack/webpack) from 5.63.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.63.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* not sure where these commits came from

* oops

* update vulnerabilities

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
mprew97 added a commit that referenced this pull request Feb 27, 2024
…ependencies (#303)

* [MOB-7613] Remove extra height from iframe + refactor (#302)

* [MOB-7613] Unset iframe body margin if one is not explicitly already set

* [MOB-7613] Detect img tags alongside image url paths

* [MOB-7613] Set iframe height on iframe load

* [MOB-7613] Add jwt generator url to .env.example

* [MOB-7613] Cleaup utils

* [MOB-7613] Move caching methods to separate file

* [MOB-7613] Update usages of cache

* [MOB-7613] Clean up comments in cache.ts

* [MOB-7613] Remove added return

* [MOB-7613] Clean up iframe width/height setter

* [MOB-7613] Add comment for consume variable

* [MOB-7613] Add env convenience variable for react sample app

* [MOB-7613] Suppress console.warn lint warnings

* [MOB-7613] Clean up types and remove template literals

* [MOB-7613] Fix tests

* [MOB-7613] Fix tests

* [MOB-7613] Put localhost url as fallback for jwt generator

* [MOB-7390]: update deps (#246)

* Bump postcss from 8.3.11 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.3.11...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 5.7.1 to 5.7.2

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump tough-cookie from 4.0.0 to 4.1.3

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.74.0 to 5.76.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump json5 from 1.0.1 to 1.0.2 in /example

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump json5 from 1.0.1 to 1.0.2 in /react-example

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2 in /react-example

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.17.1 to 4.18.2 in /example

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump loader-utils from 1.4.0 to 1.4.2 in /react-example

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump loader-utils from 1.4.0 to 1.4.2 in /example

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* [MOB-7175]: add new filter method that leaves in JSON only messages (#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (#240)

Co-authored-by: mitch prewitt <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4 in /react-example

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump word-wrap from 1.2.3 to 1.2.4 in /example

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 6.3.0 to 6.3.1 in /react-example

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump semver from 6.3.0 to 6.3.1 in /example

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump tough-cookie from 4.0.0 to 4.1.3 in /example

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.63.0 to 5.76.0 in /react-example

Bumps [webpack](https://github.com/webpack/webpack) from 5.63.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.63.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack from 5.63.0 to 5.76.0 in /example

Bumps [webpack](https://github.com/webpack/webpack) from 5.63.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.63.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* not sure where these commits came from

* oops

* update vulnerabilities

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
hardikmashru pushed a commit that referenced this pull request May 22, 2024
* card view implemented

* code changes as per recent review

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* usage of card view

* Code modified for embedded msg

* Documentation added

* Events example added

* Embedded msg example with card view

* Embedded msg example updated

* build config changed and few updates done on card component

* react-example improved

* Create manual.yml

* Node webpack config changed

* Webpack config changed

* Yarn file issue fixed

* [MOB-7175]: add new filter method that leaves in JSON only messages (#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (#240)

Co-authored-by: mitch prewitt <[email protected]>

* embedded msg view integration

* integrate demo in sample app

* Resolve node build issue

* commit remaining code

* commit remaining files

---------

Co-authored-by: iamavishkar <[email protected]>
Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
Co-authored-by: Hani <[email protected]>
mprew97 added a commit that referenced this pull request Jun 12, 2024
* notificiation view implemented (#212)

* notificiation view implemented

* code changes as per recent review

* usage of banner view

* usage of notification view

* Webpack config changed for Notification View

---------

Co-authored-by: Vishal Joshi <[email protected]>

* Embedded msg (#232)

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* Code modified for embedded msg

* Documentation added

* Events example added

* Embedded msg configurations changed

* Import issue of embeddedManager fixed

* Circuler dependency solved

* Linting error fixing

* events code break down into separate folders

* Import issues fixed

---------

Co-authored-by: Vishal Joshi <[email protected]>

* Embedded test (#234)

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* Code modified for embedded msg

* Documentation added

* Events example added

* Test Cases added for embedded message manager

* Added Embedded Placement Test cases

* EmbeddedMsg Test Cases added

* embeddedManager import issue fixed

* Linting error resolved

* Test issues resolved

* basic changes to run the code

* change query params of get embedded messaging api

* remove code for embedded messaging sync parameters

* revert the changes that were made earlier to run the code.

---------

Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Hani <[email protected]>

* Embedded msgs example (#233)

* card view implemented

* code changes as per recent review

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* usage of card view

* Code modified for embedded msg

* Documentation added

* Events example added

* Embedded msg example with card view

* Embedded msg example updated

* build config changed and few updates done on card component

* react-example improved

* Node webpack config changed

* Webpack config changed

* Yarn file issue fixed

* Resolve revice comments

---------

Co-authored-by: iamavishkar <[email protected]>
Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Hani <[email protected]>

* Embedded Messaging Dismiss Event Track (#241)

* set embedded message dismiss event

* remove unnecessary file

* display API response to the embedded page

* Resolve review comments

---------

Co-authored-by: Hani <[email protected]>

* Dev 248 (Update payload to include updated placements) (#242)

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* Code modified for embedded msg

* Documentation added

* Events example added

* Test Cases added for embedded message manager

* Added Embedded Placement Test cases

* EmbeddedMsg Test Cases added

* embeddedManager import issue fixed

* Linting error resolved

* Test issues resolved

* basic changes to run the code

* change query params of get embedded messaging api

* change placementIds param format in API query param

* change query param in sample app

* make placement id param optional

* modify test case accordingly

---------

Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Hani <[email protected]>

* banner view implemented (#213)

* banner view implemented

* code changes as per recent review

* usage of banner view

* Banner View Webpack config changed

* .babelrc config changed

* [MOB-7175]: add new filter method that leaves in JSON only messages (#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (#240)

Co-authored-by: mitch prewitt <[email protected]>

---------

Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: devcsomnicg <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
Co-authored-by: Hani <[email protected]>

* card view implemented (#214)

* card view implemented

* code changes as per recent review

* usage of card view

* build config changed and few updates done on card component

* react-example improved

* Node webpack config changed

* Webpack config changed

---------

Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Hani <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>

* Add embedded views to the SDK & integrate into sample app (#243)

* card view implemented

* code changes as per recent review

* Embedded Manager Module - WIP

* Embedded Manager Module - added uuid library

* usage of card view

* Code modified for embedded msg

* Documentation added

* Events example added

* Embedded msg example with card view

* Embedded msg example updated

* build config changed and few updates done on card component

* react-example improved

* Create manual.yml

* Node webpack config changed

* Webpack config changed

* Yarn file issue fixed

* [MOB-7175]: add new filter method that leaves in JSON only messages (#238)

* add new filter method that leaves in JSON only messages

* Mentioning filterOnlyReadAndNeverTriggerMessages

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>

* ver bump (#240)

Co-authored-by: mitch prewitt <[email protected]>

* embedded msg view integration

* integrate demo in sample app

* Resolve node build issue

* commit remaining code

* commit remaining files

---------

Co-authored-by: iamavishkar <[email protected]>
Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: Mitch Prewitt <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
Co-authored-by: Hani <[email protected]>

* Add remaining events to web embedded messaging

* update the test cases

* Add remaining events to web embedded messaging

* Add remaining events to web embedded messaging

* Revert "Add remaining events to web embedded messaging"

This reverts commit 3704505.

* Update events.test.ts

* Add remaining events to web embedded messaging (#245)

* Add remaining events to web embedded messaging

* Resolve review comments

---------

Co-authored-by: Hani Vora <[email protected]>

* resolve build error issue using dev config

* Create test (#250) (#252)

* Create test (#250)

* Create test

* Update yarn.lock (#251)

* Update events.schema.ts (#257)

* Update types.ts (#262)

* Update events.schema.ts (#259)

* Update EmbeddedForm.tsx (#253)

* Delete test (#254)

* Update EmbeddedMsgs.tsx (#255)

* Update embeddedManager.ts (#256)

* Update types.ts (#258)

* Update events.test.ts (#260)

* Update events.ts (#261)

* Update EmbeddedForm.tsx (#290)

* Create Functions.ts (#291)

* Update embeddedManager.ts (#292)

* Update events.ts (#293)

* Create functions (#294)

* Rename functions to functions.ts (#298)

* Update embeddedManager.test.ts (#299)

* Embedded received event (#278)

* change in embedded api params

* Update EmbeddedMsgs.tsx (#263)

* Update index.tsx (#264)

* Update index.tsx (#265)

* Update index.tsx (#266)

* Update embeddedManager.ts (#267)

* Update index.ts (#268)

* Update events.schema.ts (#270)

* Update types.ts (#271)

* Update yarn.lock (#272)

* Create IterableActionRunner.ts (#274)

* Update embeddedManager.ts (#276)

* Update types.ts (#277)

* Resolve build fail issue (#289)

* Resolve merge conflicts

* Embedded msg image (#286)

* Create test (#250)

* Create test

* Update yarn.lock (#251)

* Update events.schema.ts (#257)

* Update types.ts (#262)

* Update events.schema.ts (#259)

* Update EmbeddedForm.tsx (#253)

* Delete test (#254)

* Update EmbeddedMsgs.tsx (#255)

* Update embeddedManager.ts (#256)

* Update types.ts (#258)

* Update events.test.ts (#260)

* Update events.ts (#261)

* Update index.tsx (#284)

* Update index.tsx (#285)

* Resolve merge conflicts

* Embedded text wrap (#283)

* Create test (#250)

* Create test

* Update yarn.lock (#251)

* Update events.schema.ts (#257)

* Update types.ts (#262)

* Update events.schema.ts (#259)

* Update EmbeddedForm.tsx (#253)

* Delete test (#254)

* Update EmbeddedMsgs.tsx (#255)

* Update embeddedManager.ts (#256)

* Update types.ts (#258)

* Update events.test.ts (#260)

* Update events.ts (#261)

* Update index.tsx (#279)

* Update index.tsx (#280)

* Update index.ts (#281)

* Update index.tsx (#282)

* Update index.tsx (#295)

* Update index.tsx (#296)

* Update index.tsx (#297)

* Embedded message button click (#273)

* change in embedded api params

* Update EmbeddedMsgs.tsx (#263)

* Update index.tsx (#264)

* Update index.tsx (#265)

* Update index.tsx (#266)

* Update embeddedManager.ts (#267)

* Update index.ts (#268)

* Update events.schema.ts (#270)

* Update types.ts (#271)

* Update yarn.lock (#272)

* Create IterableActionRunner.ts (#274)

* Remove unused code (#275)

* Update embeddedManager.ts (#287)

* resolve error for OOTB not responding properly (#309)

* Resolve: Content not aligned for notification view (#310)

* set text align for default style (#311)

* make cursor to pointer (#312)

* Make UI responsive (#314)

* Make UI responsive

* Resolve review comments

* Mob 7843 (#307)

* set message if message is not available

* resolve review comments

* MOB-7859 (Long buttons become stacked) (#315)

* modify button UI

* resolve merge conflicts

* Lower `[email protected]` version (#316)

* make OOTB views  unavailable for Beta (#319)

* remove markdown files for embedded (#326)

Co-authored-by: mitch prewitt <[email protected]>

* remove ActionHandler (#321)

* update the doc (#323)

* Handling incoming embedded messages (#320)

* Handling incoming embedded messages

* add missing requirement

* Update embeddedManager.test.ts

* resolve merge conflicts

* Support custom as well default click handler (#317)

* Support custom as well default click handler

* remove circular dependency

* Resolve PR comments

* fix conflicts (#327)

Co-authored-by: mitch prewitt <[email protected]>

* Mob 8058 (Web SDK: Click Handling) (#328)

* Implement for embedded click

* modify test cases

* Resolve review comments

* change import path to resolve build error

* resolve build failure

* resolve review comments

* Resolve circular dependency

---------

Co-authored-by: Mitch Prewitt <[email protected]>

* update styles (#329)

Co-authored-by: mitch prewitt <[email protected]>

* update (#330)

Co-authored-by: mitch prewitt <[email protected]>

* session track (#331)

Co-authored-by: mitch prewitt <[email protected]>

* add uuid as session ID (#332)

* Resolve errors (#333)

* fix (#340)

Co-authored-by: mitch prewitt <[email protected]>

* Remove console statements (#341)

* fix

* fix

---------

Co-authored-by: mitch prewitt <[email protected]>

* bump version 1.1.0-beta (#342)

* Fix beta publish issue (#344)

* fix publish issue

* revert lock changes

* fix

* now?

---------

Co-authored-by: mitch prewitt <[email protected]>

* OOTB Rework: Need to be pure JS/HTML/CSS (#354)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* fixed client's comments

* Fixed comments

* updated click events as common

* HTTP call in retrieveEmbeddedMessages (#355)

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

---------

Co-authored-by: hardikmashru <[email protected]>

---------

Co-authored-by: hardikmashru <[email protected]>

* Web SDK is incorrectly parsing custom action objects (#358)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* HTTP call in retrieveEmbeddedMessages

* updated test file

* fixed client's comments

* Fixed comments

* updated click events as common

* sdk and platform updated

* updated test file

* Web SDK is incorrectly parsing custom action objects

* updated listener name and handle callback

* Updated custom action object type

* HTTP call in retrieveEmbeddedMessages (#355)

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

---------

Co-authored-by: hardikmashru <[email protected]>

* Too many Embedded-related interfaces? (#359)

* Updated interfaces

* removed duplicate interface from in-app

* Updated IEmbeddedMessage in events

* Updated EnbeddedMessagingDismiss, EnbeddedMessagingSession

* Removed unused interfaces

* Removed unused interfaces

* Updated test.ts

---------

Co-authored-by: hardikmashru <[email protected]>

* updated code in useeffect

* pass package name and expose trackembeddedclick as standalone function (#363)

---------

Co-authored-by: hardikmashru <[email protected]>

* Update Embedded requests to not need to pass userId or email (#364)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* HTTP call in retrieveEmbeddedMessages

* updated test file

* fixed client's comments

* Fixed comments

* updated click events as common

* sdk and platform updated

* updated test file

* Web SDK is incorrectly parsing custom action objects

* updated listener name and handle callback

* Updated custom action object type

* HTTP call in retrieveEmbeddedMessages (#355)

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

---------

Co-authored-by: hardikmashru <[email protected]>

* Too many Embedded-related interfaces? (#359)

* Updated interfaces

* removed duplicate interface from in-app

* Updated IEmbeddedMessage in events

* Updated EnbeddedMessagingDismiss, EnbeddedMessagingSession

* Removed unused interfaces

* Removed unused interfaces

* Updated test.ts

---------

Co-authored-by: hardikmashru <[email protected]>

* updated code in useeffect

* pass package name and expose trackembeddedclick as standalone function

* Update Embedded requests to not need to pass userId or email

* removed unused code from test

* Updated endpoints in setUserId and setEmail

* added impression endpoint

---------

Co-authored-by: hardikmashru <[email protected]>

* Rework Embedded Session Manager (#362)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

* Web SDK is incorrectly parsing custom action objects

* updated listener name and handle callback

* Updated custom action object type

* Too many Embedded-related interfaces? (#359)

* Updated interfaces

* removed duplicate interface from in-app

* Updated IEmbeddedMessage in events

* Updated EnbeddedMessagingDismiss, EnbeddedMessagingSession

* Removed unused interfaces

* Removed unused interfaces

* Updated test.ts

---------

Co-authored-by: hardikmashru <[email protected]>

* Rework Embedded Session Manager

* Updated messageId

* Update types.ts

* Update EmbeddedMsgs.tsx

* Fixed end session event in SDK

---------

Co-authored-by: hardikmashru <[email protected]>

* [MOB-8148]:  clean up embedded types (#365)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

* Web SDK is incorrectly parsing custom action objects

* updated listener name and handle callback

* Updated custom action object type

* Too many Embedded-related interfaces? (#359)

* Updated interfaces

* removed duplicate interface from in-app

* Updated IEmbeddedMessage in events

* Updated EnbeddedMessagingDismiss, EnbeddedMessagingSession

* Removed unused interfaces

* Removed unused interfaces

* Updated test.ts

---------

Co-authored-by: hardikmashru <[email protected]>

* Rework Embedded Session Manager

* Updated messageId

* Update types.ts

* Update EmbeddedMsgs.tsx

* remove react dep

* Fixed end session event in SDK

* checking

* need to see

* remove dupe schema

* cleanup

* clean up packages and more

* typo

* fix tests and change requests

* further change requests

* oop

* fix circular deps

* additional cleanup and rework

* fix embeddedManager test

* fix base branch issues

* rename to iterable

* update OOTB names

* export

---------

Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: Hardik Mashru <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>

* [MOB-8405]: Add new eslint rules (#367)

* OOTB Rework: Need to be pure JS/HTML/CSS

* OOTB Rework: Need to be pure JS/HTML/CSS

* added id of all component

* added custom changes

* fixed click issue

* fixed comments

* handled click by elements name

* updated example

* fixed cursor pointer

* Update EmbeddedMsgs.tsx (sample code) to use EmbeddedMessageUpdateHandler

* HTTP call in retrieveEmbeddedMessages

* updated test file

* sdk and platform updated

* updated test file

* Web SDK is incorrectly parsing custom action objects

* updated listener name and handle callback

* Updated custom action object type

* Too many Embedded-related interfaces? (#359)

* Updated interfaces

* removed duplicate interface from in-app

* Updated IEmbeddedMessage in events

* Updated EnbeddedMessagingDismiss, EnbeddedMessagingSession

* Removed unused interfaces

* Removed unused interfaces

* Updated test.ts

---------

Co-authored-by: hardikmashru <[email protected]>

* Rework Embedded Session Manager

* Updated messageId

* Update types.ts

* Update EmbeddedMsgs.tsx

* remove react dep

* Fixed end session event in SDK

* checking

* need to see

* remove dupe schema

* cleanup

* clean up packages and more

* typo

* fix tests and change requests

* further change requests

* oop

* fix circular deps

* additional cleanup and rework

* fix embeddedManager test

* fix base branch issues

* update lint rules

* more tweaks

---------

Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: Hardik Mashru <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>

* MOB-8139 & MOB-8028 (#369)

* pushed changes

* Error handling for trackEmbeddedClick

Error handling for trackEmbeddedClick

* sample app changes

* revert unnecessary react-example changes

* revert react-example unnecessary changes

* implemented changes as per review suggestions

* Update request.ts

* create utility method for getting url from action (#371)

create utility method for getting url from action

* [MOB-8416]: easier UUID testing in sample app (#374)

* easier UUID testing in sample app

* some cleanup and change request additions

---------

Co-authored-by: mitch prewitt <[email protected]>

* fix focus bug and console error (#377)

Co-authored-by: mitch prewitt <[email protected]>

* [MOB-8425]: strengthen network interceptors (#376)

* easier UUID testing in sample app

* hopping

* update interceptors and routes

* oops

* accidental delete from merge

* forgot route

* wrong route

* oops

* Update src/constants.ts

Co-authored-by: Paul Jung <[email protected]>

* update const name

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Paul Jung <[email protected]>

* [MOB-8475]: Remove Sample TImeout (#379)

* easier UUID testing in sample app

* hopping

* update interceptors and routes

* oops

* accidental delete from merge

* forgot route

* wrong route

* oops

* Update src/constants.ts

Co-authored-by: Paul Jung <[email protected]>

* update const name

* remove timeout

---------

Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Paul Jung <[email protected]>

* MOB 8472 (#390)

* pushed changes

* Update LoginForm.tsx

* fix cardView, notificationView, bannerView

* fix aspect-ratio, padding

* fix margin-top for banner image

* revert LoginForm changes

* final fix card, banner, notification view

* UI fixes, responsive fixes and impression tracker screen fixes

* put back env.example

* rename env.example

* removed inline style

* rollback for unnecessary PR diff

* Update index.tsx

* update .evn.example

* fix card, banner, notification view

* updates

* escape htmltext

---------

Co-authored-by: Hardik Mashru <[email protected]>

* Fixing placementIds issue on IterableEmbeddedManager (#392)

* [MOB-8503]: refactor OOTB views (#391)

* mostly up to date

* updates

* teeny

* button cleanup

* oop

* add style update examples

* jsdoc comments

---------

Co-authored-by: mitch prewitt <[email protected]>

* MOB-8604 (#394)

* update trackNewlyRetrieved

* clean up

---------

Co-authored-by: mitch prewitt <[email protected]>

* MOB-8600 (#393)

* expose handleEmbeddedClick

* fix embeddedClick alias

* Update utils.ts

* Update utils.ts

* rename

---------

Co-authored-by: mitch prewitt <[email protected]>

* [MOB-8639]: add elements to OOTB type (#395)

* add elements to OOTB type

* update var name

---------

Co-authored-by: mitch prewitt <[email protected]>

* [MOB-8646]: targetUrl not being sent on click (#400)

* update to target url

* update func name

---------

Co-authored-by: mitch prewitt <[email protected]>

* jwt-gen param issue (#402)

Co-authored-by: mitch prewitt <[email protected]>

---------

Co-authored-by: Avishkar Singh <[email protected]>
Co-authored-by: Vishal Joshi <[email protected]>
Co-authored-by: devcsomnicg <[email protected]>
Co-authored-by: Hani <[email protected]>
Co-authored-by: iamavishkar <[email protected]>
Co-authored-by: mitch prewitt <[email protected]>
Co-authored-by: Brad Umbaugh <[email protected]>
Co-authored-by: Hani Vora <[email protected]>
Co-authored-by: Hani Vora <[email protected]>
Co-authored-by: Justin Yu <[email protected]>
Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: hardikmashru <[email protected]>
Co-authored-by: Hardik Mashru <[email protected]>
Co-authored-by: Paul Jung <[email protected]>
Co-authored-by: Hardik Mashru <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filterHiddenInAppMessages doesn't work with a JSON only message
3 participants