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

[navigation #2] AdClick attribution navigation Tab Extension #886

Merged
merged 28 commits into from
Feb 13, 2023

Conversation

mallexxx
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/0/1203487090719126/f
Tech Design URL: https://app.asana.com/0/481882893211075/1203268245242140/f
CC: @tomasstrba @bwaresiak

Description:
Navigation handling for AdClick attribution moved to the AdClick Tab Extension

Steps to test this PR:

  1. Validate AdClick attribution navigation events are handled correctly

@tomasstrba tomasstrba self-requested a review December 12, 2022 14:36
@tomasstrba tomasstrba self-assigned this Dec 12, 2022
@tomasstrba
Copy link
Contributor

@mallexxx, the code looks good to me 👍 Unfortunately, I am not very familiar with AdClick attribution. Could you be more specific in testing steps? Or we can ask someone from O-E to test.

@tomasstrba tomasstrba assigned mallexxx and unassigned tomasstrba Dec 14, 2022
@mallexxx mallexxx removed their assignment Dec 14, 2022
@mallexxx mallexxx requested review from bwaresiak and removed request for tomasstrba December 14, 2022 11:21
@bwaresiak bwaresiak removed their assignment Dec 17, 2022
@bwaresiak
Copy link
Collaborator

bwaresiak commented Jan 28, 2023

@mallexxx these changes look good, but overall Attribution does not seem to work well across tabs, e.g. inherited attribution is not passed when I open new tab from a tab where attribution is active, e.g. when you are on a vendor site and open particular item details in a new tab. That does not seem related to this PR, but rather to some of the other changes/refactoring.

@bwaresiak bwaresiak assigned mallexxx and unassigned bwaresiak Jan 28, 2023
@mallexxx mallexxx changed the title [navigation] AdClick attribution navigation Tab Extension [navigation #2] AdClick attribution navigation Tab Extension Feb 3, 2023
@mallexxx mallexxx assigned bwaresiak and unassigned mallexxx Feb 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against 55b9f43

@mallexxx mallexxx changed the title [navigation #2] AdClick attribution navigation Tab Extension [navigation #3] AdClick attribution navigation Tab Extension Feb 7, 2023
@mallexxx mallexxx changed the title [navigation #3] AdClick attribution navigation Tab Extension [navigation #2] AdClick attribution navigation Tab Extension Feb 7, 2023
Copy link
Collaborator

@bwaresiak bwaresiak left a comment

Choose a reason for hiding this comment

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

Congrats, really nice suite of tests :) I've tested this and it feels like everything is in order.

I think we could use one more test scenarios (that I think are not being checked):

  1. On tracker data being updated, make sure that attribution rules are actually applied correctly if attribution was present. There was a bug like that in the past.
  2. On navigation to different vendor, attribution rules should be updated with new ones.

@mallexxx
Copy link
Collaborator Author

@bwaresiak as we discussed online, I have no motivation atm for adding the test you mentioned, let‘s consider it done for now if it works and schedule a follow-up project for adding the Integration Tests that‘ll run through the whole privacy test pages setup

* canGoBack, canGoForward RePublished, Tab.publishers refactored

* redo redirect(_:NavigationAction, invalidatingBackItemIfNeeded)

* tests

* don‘t use shared state in tests

* fix RELEASE

* rollback renaming

* drop RePublished

* fix header name

* [navigation #4] SERP headers navigation responder (#887)

* SERP headers handling in SerpHeadersNavigationResponder
@mallexxx mallexxx merged commit 61fab94 into alex/dist-nav-delegate Feb 13, 2023
@mallexxx mallexxx deleted the alex/navigation/adclick branch February 13, 2023 11:19
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.

3 participants