####User story
As a privacy conscious person, I want the ability to customize the activity tab or turn it off completely, so that my reading history is not shown prominently in the App.
####Background
The team is testing an activity tab that would add reading insights to existing history tab with the goal of deepening engagement and increasing retention of readers. We want to ensure users have the ability to turn certain modules on and off.
####Requirements
- Add the ability to customize which modules display in the Activity tab
- Users should be able to turn on and off the following modules:
- Time spent reading
- Reading Insights
- Editing Insights
- All Time Impact
- Last In App Donation
- Timeline of Behavior
- Add entry point through the overflow menu, by logged-in and logged-out users
- For logged-out users:
- "Timeline of behavior" should default to ON
- All other modules should be OFF by default
- If a logged-out user turns off "Timeline of behavior", their history should be hidden from the logged-out view
- For logged-in users:
- Last donated should default to OFF
- All other modules should default to ON
- There should be a description letting users know how the data is calculated
- Modules should be able to be instrumented so that we can understand which modules were turned off and on (by name)
- Show [[ https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=355-1794&t=AgNtmUPGd1BDt8k0-4 | empty state ]] for users who have all modules off
- "Switch them on" leads to the customize screen
Nice to have
- [Designs TBA] If a logged-out user tries to switch on an activity tab module other than "Timeline", show a log-in CTA
####Designs
Logged-in users with all modules on: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=355-4457&t=6yDaEjY3fNexhMqA-4
Empty state: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=355-1794&t=AgNtmUPGd1BDt8k0-4
####Reference
Android implementation: T399737
####Engineering notes