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

[EP-230] Page Viewed (project) #1385

Merged
merged 4 commits into from
Mar 2, 2021
Merged

Conversation

singhhari
Copy link
Contributor

📲 What

Updating the event that is called when a Project is viewed on native iOS. In addition, we are including functionality that will trigger an event when the Campaign, Updates or Comments associated with a given project, are viewed.

🤔 Why

Continuing to extend our Segment implementation and flesh out our new analytics client.

case updates

var trackingString: String {
switch self {
case .campaign: return "campaign"
case .comments: return "comments"
case .faq: return "faq"
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we aren't using this in the app

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct. These are tabs in the webview and will likely be handled. by web.

@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #1385 (34f2eb3) into master (0f002f6) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1385      +/-   ##
==========================================
- Coverage   85.86%   85.86%   -0.01%     
==========================================
  Files        1104     1104              
  Lines       96163    96140      -23     
==========================================
- Hits        82573    82551      -22     
+ Misses      13590    13589       -1     
Impacted Files Coverage Δ
Library/Tracking/KSRAnalytics.swift 82.57% <100.00%> (-0.29%) ⬇️
Library/Tracking/KSRAnalyticsTests.swift 100.00% <100.00%> (ø)
Library/ViewModels/CommentsViewModel.swift 100.00% <100.00%> (ø)
Library/ViewModels/CommentsViewModelTests.swift 100.00% <100.00%> (ø)
.../ViewModels/ProjectPamphletMainCellViewModel.swift 98.03% <100.00%> (-0.03%) ⬇️
...Models/ProjectPamphletMainCellViewModelTests.swift 100.00% <100.00%> (ø)
Library/ViewModels/ProjectPamphletViewModel.swift 98.65% <100.00%> (-0.01%) ⬇️
...ary/ViewModels/ProjectPamphletViewModelTests.swift 100.00% <100.00%> (ø)
Library/ViewModels/ProjectUpdatesViewModel.swift 97.36% <100.00%> (+0.12%) ⬆️
Library/Navigation.swift 77.25% <0.00%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f002f6...34f2eb3. Read the comment docs.

@singhhari singhhari merged commit f113547 into master Mar 2, 2021
@singhhari singhhari deleted the EP-230-page-viewed-project branch March 2, 2021 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants