####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 **whichever of the following modules that have already been built:**
- 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
- Default state 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
- Default state for logged-in users:
- Last donated should default to OFF (if built)
- Only show the option for turning on Last in-app donation if the user has donation history
- All other modules should default to ON
- If a logged-out user logs-in their settings should all update to the logged-in defaults
- 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
- If a logged-out user tries to switch on an activity tab module other than "Timeline", show a [[ https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=868-1356&t=h8ena3j9L3rfVxtp-4 | toast ]]
**Boilerplate requirements**
- Should lay out well with long translations. Truncate, wrap text, or scroll where necessary.
- Should change colors according to multiple themes
- Should navigate easily and have understandable accessibility labels for Voice Over
- Should lay out well on larger font sizes. Truncate, wrap text, or scroll where necessary.
####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 with modules off: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=355-1794&t=AgNtmUPGd1BDt8k0-4
Toast: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=868-1356&t=h8ena3j9L3rfVxtp-4
####Reference
Android implementation: T399737
####Engineering notes