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

refactor: improve architecture - WPB-11396 #1995

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b6e73d3
groom: move files
johnxnguyen Sep 27, 2024
5c5383e
renamed SegmentationValue to SegmentationEntry
johnxnguyen Sep 27, 2024
331e067
remove redundant comment
johnxnguyen Sep 27, 2024
d96ad18
groom predefined segmentation entries
johnxnguyen Sep 27, 2024
1b36a4a
groom
johnxnguyen Sep 27, 2024
8cfecee
move file
johnxnguyen Sep 27, 2024
9859a7f
move files
johnxnguyen Sep 27, 2024
0432e35
move code to existing file
johnxnguyen Sep 27, 2024
ab2fabf
move code to file
johnxnguyen Sep 27, 2024
2a534dd
groom segmentation
johnxnguyen Sep 27, 2024
3e2c06f
simplify analytics event
johnxnguyen Sep 30, 2024
fa7bdd2
repurpose AnalyticsService as CountlyProtocol
johnxnguyen Sep 30, 2024
ed3184d
further simplify analytics event
johnxnguyen Sep 30, 2024
28a4b8d
organize
johnxnguyen Sep 30, 2024
002dd4f
add debug description for analytics event
johnxnguyen Sep 30, 2024
8c13030
create AnalyticsService
johnxnguyen Sep 30, 2024
968948e
track events with AnalyticsService
johnxnguyen Oct 1, 2024
e72cd0f
enable and disable analytics
johnxnguyen Oct 1, 2024
d33a31d
on switch user if it changed
johnxnguyen Oct 1, 2024
d4ac828
update user when it changes
johnxnguyen Oct 1, 2024
03c2601
delete dead code
johnxnguyen Oct 1, 2024
bc36be3
groom
johnxnguyen Oct 1, 2024
c624e6c
rename AnalyticsUserProfile to AnalyticsUser
johnxnguyen Oct 1, 2024
7bb6fc7
don't depend on AnalyticsIdentifIerProvider
johnxnguyen Oct 1, 2024
ef3354e
reveal only AnalyticsEventTracker to ZMUserSession
johnxnguyen Oct 1, 2024
701b904
delete dead code
johnxnguyen Oct 1, 2024
18a4f62
fix use case tests
johnxnguyen Oct 1, 2024
887c4c6
fix enable and disable analytics use case tests
johnxnguyen Oct 1, 2024
2c702c9
groom
johnxnguyen Oct 1, 2024
a2d02c5
test AnalyticsService
johnxnguyen Oct 2, 2024
babd2b5
format
johnxnguyen Oct 2, 2024
52a74c0
groom
johnxnguyen Oct 2, 2024
3c78455
fix exception
johnxnguyen Oct 2, 2024
8cae5c4
fix mocking
johnxnguyen Oct 2, 2024
0da8ace
format
johnxnguyen Oct 2, 2024
ee6be57
throw more errors
johnxnguyen Oct 3, 2024
fc29508
inject logger
johnxnguyen Oct 3, 2024
a8132a2
convert computed property to method
johnxnguyen Oct 3, 2024
1de18b6
only configure analytics if self user client has been registered
johnxnguyen Oct 3, 2024
748d11b
format
johnxnguyen Oct 3, 2024
7b2dc6e
fix enabling / disabling
johnxnguyen Oct 4, 2024
6298b5f
fix tests
johnxnguyen Oct 4, 2024
bce7732
Merge branch 'epic/analytics-wpb-8911' into epic/analytics-improve-ar…
johnxnguyen Oct 4, 2024
71358a6
format
johnxnguyen Oct 4, 2024
8ef66e5
remove unnecessary completion
johnxnguyen Oct 4, 2024
548da2d
format
johnxnguyen Oct 4, 2024
79650e2
format
johnxnguyen Oct 4, 2024
4fe2a69
fix typo
johnxnguyen Oct 7, 2024
9cf72c9
add assertions that an error was thrown
johnxnguyen Oct 7, 2024
783e4f8
make configureAnalytics async
johnxnguyen Oct 7, 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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

103 changes: 0 additions & 103 deletions WireAnalytics/Sources/WireAnalytics/AnalyticsManager.swift

This file was deleted.

43 changes: 0 additions & 43 deletions WireAnalytics/Sources/WireAnalytics/AnalyticsManagerProtocol.swift

This file was deleted.

64 changes: 0 additions & 64 deletions WireAnalytics/Sources/WireAnalytics/AnalyticsService.swift

This file was deleted.

Loading
Loading