-
Notifications
You must be signed in to change notification settings - Fork 749
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
Analytics #4559
Analytics #4559
Conversation
- name: Run analytics import script | ||
run: ./tools/import_analytic_plan.sh | ||
- name: Create Pull Request for analytics plan | ||
uses: peter-evans/create-pull-request@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another possibility is to .jar
the generated output as part of the schema repository and upload to github packages, that way dependabot can handle updates and we can ensure the generated artifact compiles in isolation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, @pixlwave told me about that possibility. It's probably a cleaner solution, but I have never done that before 🙈
/** | ||
* Read the analytics config from the Build config | ||
*/ | ||
fun getConfig(): AnalyticsConfig? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not for this PR, eventually we might want to wrap and inject the BuildConfig
rather than directly accessing it (will enable the config to be shared across modules)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the way developer can configure the analytics in c1438f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from what I can tell, this looks good to me (assuming the tracking is coming through!)
f4578cc
to
97e2456
Compare
Thanks for sharing these. This is looking good, I just have two comments:
|
@amshakal I have added code to limit the width of the content on tablet. We can iterate later for a proper way to support tablet across the whole code base. |
Thanks Benoit! I had a discussion with the design team about tablet designs and the plan is to take it up in the new year and have it be included in the design system. |
Content
Analytics framework is set up.
No event is tracked yet, but could by nice to handle that in another PR to let other developer add their analytics Events.
Analytics Optin screen will be displayed for every users when the home screen is displayed for the first time (so either after the first sigin/signup, or after an upgrade of the application).
Opt in screen
New section in settings
This PR also contain a debug screen, only accessible on debug build:
TODO