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

feat(SDK-4183): changes normalisation to follow LP logic #700

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

CTLalit
Copy link
Collaborator

@CTLalit CTLalit commented Nov 28, 2024

  • makes changes to event names and properties and also to charged event logic
  • tries exact name match first
  • tries match with normalised event name
  • tries match after normalising both event name/property and triggers we get from BE

- makes changes to event names and properties and also to charged event logic
- tries exact name match first
- tries match with normalised event name
- tries match after normalising both event name/property and triggers we get from BE
Copy link
Contributor

@piyush-kukadiya piyush-kukadiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments

- adds for both charged and normal events.
Copy link
Contributor

@piyush-kukadiya piyush-kukadiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CTLalit CTLalit merged commit 25ba6a8 into develop Nov 29, 2024
4 checks passed
@CTLalit CTLalit deleted the feat/v3/SDK-4183 branch November 29, 2024 10:40
CTLalit added a commit that referenced this pull request Nov 29, 2024
* bug(MC-2299): Fix c2a param not tracked for open_url and close actions (#681)

* refactor(MC-2362): Add parsing of url params on open-url action (#684)

* task(MC-2360): Add normalized event and property names evaluation (#685)

* task(MC-2360): Add normalized event and property names evaluation

* chore(MC-1987): Update HTML template for In-Apps preview (#680)

* chore(MC-1987): Update HTML template for In-Apps preview

* Add normalized names check to discarded events check (#688)

* bug(SDK-4107): Make clevertap instance singleton (#687)

- initialises singleton clevertap instance in application class
- uses singleton ct instance in whole app

* Update preview in-app html template (#690)

Applies fix for new lines and special js symbols

* Bug/v2/sdk 4183 (#698)

* feat(SDK-4183): Event properties normalisation

- backend sends normalised event properties, we need to compare on sdk side based on normalised event which client app might fire

* feat(SDK-4183): Charged event product props normalisation

- normalises product item prop keys

* chore(SDK-4183): reformatting

* test(SDK-4183): adds test to check normalisation

* test(SDK-4183): adds test to check normalisation in non charged events

* feat(SDK-4183): changes normalisation to follow LP logic (#700)

* feat(SDK-4183): changes normalisation to follow LP logic

- makes changes to event names and properties and also to charged event logic
- tries exact name match first
- tries match with normalised event name
- tries match after normalising both event name/property and triggers we get from BE

* tests(SDK-4183): adds test cases for nomalisation logic

- adds for both charged and normal events.

* Release corev7.0.3 (#699)

* feat(SDK-4183): updates docs for core SDK release 7.0.3

* feat(SDK-4163): updates the release date

- changes title from bug fixes -> new features

* feat(SDK-4163): updates the release date in changelog

---------

Co-authored-by: Vassil Angelov <[email protected]>
CTLalit added a commit that referenced this pull request Nov 29, 2024
* feat(SDK-4183): changes normalisation to follow LP logic

- makes changes to event names and properties and also to charged event logic
- tries exact name match first
- tries match with normalised event name
- tries match after normalising both event name/property and triggers we get from BE

* tests(SDK-4183): adds test cases for nomalisation logic

- adds for both charged and normal events.
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.

4 participants